Always upload test.xml from the public test jobs
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 55/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- bash, cpp, github-actions, typescript
- 领域
- devops
调研方向
Start with the test jobs in .github/workflows/bzl-changes.yml and the existing "Upload test logs and crash reports" step, which shows how to copy symlinked files out of bazel-testlogs/. Add an actions/upload-artifact step with if: always() after each bazel test run in tools/ci/run_tests.sh and tools/ci/test_modules.sh, with a job- and matrix-specific name and 7-day retention. Done when a green and a red public run both produce downloadable test.xml artifacts. Workflow changes need a maintainer to run CI, so expect a wait.
由索引模型根据 Issue 内容生成。
描述
The test jobs in .github/workflows/bzl-changes.yml (for example "Run: C++ Tests" and "Run: Module Tests") never upload Bazel's per-test test.xml results. At most, some of them upload logs when they fail. So there's no record of which tests ran, passed or failed on a green run, and no way to see which tests are flaky over time.
What to do
- After each step that runs
bazel test(throughtools/ci/run_tests.sh,tools/ci/test_modules.shand similar), add anactions/upload-artifactstep withif: always()that uploads thetest.xmlfiles frombazel-testlogs/. - Give each artifact a name that includes the job and matrix entry, so runs can be told apart.
bazel-testlogscontains symlinks. Copy the real files first, the way the existing "Upload test logs and crash reports" step does.- Keep the retention short (for example 7 days), and pin the action to a commit SHA like the other upload steps.
Done when: every public run, green or red, has downloadable test.xml results for each test job.
Changes to .github/workflows need a maintainer to run them, so expect a short wait on CI. See CONTRIBUTING.md before opening a pull request.
- 主要语言
- C++
- 星标
- 16.4k
- 派生
- 538
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Snapchat/Valdi 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 78/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 1 天内回复
-
难度 3/5 半天 新手友好度 66/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 1 天内回复
相似的 Issue
-
Tests: parallel pyinstallcheck runs oversubscribe the machine through nested TBB and BLAS pools可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
chromiumembedded/cef#4376 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
itinance/react-native-fs#1270 ·
-
area-CodeGen-coreclr untriaged
难度 2/5 1-3 小时 新手友好度 65/100
dotnet/runtime#138181 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
yuaotian/antigravity-proxy#181 ·