Always upload test.xml from the public test jobs
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- bash, cpp, github-actions, typescript
- Domain
- devops
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- C++
- Stars
- 16.4k
- Forks
- 539
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Snapchat/Valdi
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Rust codegen: RustMethodResolver fails to unwrap .nullable on optional interface/module methodsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
deepseek-ai/DeepGEMM-Ascend#49 ·
Maintainers usually reply within 1 day
-
bug needs testing platform:windows topic:buildsystem topic:platforms
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
godotengine/godot#126110 · 1 comment ·
Maintainers usually reply within 1 day
-
comp-s3queue
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ClickHouse/ClickHouse#137649 ·
Maintainers usually reply within 1 day
-
area/docdb kind/enhancement mvu-pg15-pg19 priority/low
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
yugabyte/yugabyte-db#40355 ·
Maintainers usually reply within 1 day
-
Clear params.inputs in dials.indexPossibly taken @phyy-nx claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
dials/dials#3361 · 1 comment ·
Maintainers usually reply within 1 day