Hiccup in 2024-09-23 triage: curl from parent had only prefix of data

未关闭
#1,982 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
rust
领域
performance

调研方向

首先,使用父提交 170d6cb845c8c3f0dcec5cdd4210df9ecf990244 重现对 perf.rust-lang.org/perf/triage 的 curl 请求,并将其与手动识别出的 506f22b4663f3e756e1e6a4f66c6309fdc00819c 进行比较。跟踪 triage endpoint 对提交范围的选择,并确定报告为何在 749f80ab 处停止;完成的标准是记录下原因,并且流程或 endpoint 能够防止报告被截断。

由索引模型根据 Issue 内容生成。

描述

The usual triage process is to issue a curl command like curl "https://perf.rust-lang.org/perf/triage?start=$PARENT", where $PARENT is found by looking at the end commit for the previous week's triage.

However, back on 2024-09-23, that methodology yielded a subset of the expected data.

In particular, the result from doing:

curl "https://perf.rust-lang.org/perf/triage?start=170d6cb845c8c3f0dcec5cdd4210df9ecf990244"

is a report that covers the commit range: Revision range: 170d6cb8..749f80ab, a range covering just 2024-09-16 through 2024-09-19.

Luckily, @Kobzol pointed this out to me (I was driving 2024-09-23 triage) and so I ended up working around the issue (by manually looking at the history, determining that commit 506f22b4663f3e756e1e6a4f66c6309fdc00819c looked like the next merge from bors, using that latter commit as the basis for a second curl query, and then manually combining the two reports into one semi-unified report).

But it would be good to understand why this happened, and try to prevent it.

主要语言
Rust
星标
741
派生
205
平均合并
1 天 1 小时
30 天内合并 PR
16

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

rust-lang/rustc-perf 的其他 Issue

查看 rust-lang/rustc-perf 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。