CI: skip llvm-tools-preview install for tests-nocoverage jobs#14967
Merged
Conversation
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
approved these changes
Jun 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Skips
rustup component add llvm-tools-previewwhen the nox session istests-nocoverage(linux matrix condition + windows-tests composite action).Why
llvm-tools(llvm-profdata/llvm-cov) is only used byprocess_rust_coverageinnoxfile.py, whichtests-nocoveragenever calls (it neither sets-Cinstrument-coveragenor 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. Thewindows-11-armand linuxpypy-3.11tests-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