Skip to content

CI: skip llvm-tools-preview install for tests-nocoverage jobs#14967

Merged
reaperhulk merged 1 commit into
mainfrom
claude/magical-hopper-1R1Vj-llvm-tools
Jun 7, 2026
Merged

CI: skip llvm-tools-preview install for tests-nocoverage jobs#14967
reaperhulk merged 1 commit into
mainfrom
claude/magical-hopper-1R1Vj-llvm-tools

Conversation

@alex
Copy link
Copy Markdown
Member

@alex alex commented Jun 7, 2026

What

Skips rustup component add llvm-tools-preview when the nox session is tests-nocoverage (linux matrix condition + windows-tests composite action).

Why

llvm-tools (llvm-profdata/llvm-cov) is only used by process_rust_coverage in noxfile.py, which tests-nocoverage never calls (it neither sets -Cinstrument-coverage nor processes profraw files).

From recent CI timing data, the windows (x64, 3.9, tests-nocoverage) job is consistently the longest job in the entire CI run (~6.4 min; the whole run's wall time tracks it), and it spends ~10s downloading/installing this unused component. The windows-11-arm and linux pypy-3.11 tests-nocoverage jobs save the same.

Small, but it comes straight off the critical path of every CI run.

https://claude.ai/code/session_014StKTjk7GBcVdiWKimEsQb


Generated by Claude Code

llvm-tools (llvm-profdata/llvm-cov) is only used by noxfile.py's
process_rust_coverage, which the tests-nocoverage session never calls.
Installing the component costs ~10s on the Windows jobs, and the
Windows 3.9 tests-nocoverage job is the longest job in the whole CI
run, so this is time saved directly on the critical path.

https://claude.ai/code/session_014StKTjk7GBcVdiWKimEsQb
@reaperhulk reaperhulk merged commit 6b6342a into main Jun 7, 2026
63 checks passed
@reaperhulk reaperhulk deleted the claude/magical-hopper-1R1Vj-llvm-tools branch June 7, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants