Repository navigation
ci: run the test jobs side by side and skip the release build - #571
Merged
Merged
Conversation
This was referenced Sep 28, 2026
LeMyst
marked this pull request as ready for review
September 28, 2026 18:13
LeMyst
force-pushed
the
ci/faster-tests
branch
from
September 28, 2026 20:03
5ac2466 to
768a6af
Compare
The Test workflow took ~32 min on main: Test (9.5) → UI Tests (6) → Windows (16.5), each waiting for the one before. The slowest step of every job was `cargo build --release`, whose fat LTO ran 4.5 min on Ubuntu, 6 on macOS and 9 on Windows, on every push — while nothing tested the result. - UI Tests and the macOS/Windows jobs no longer wait on the Ubuntu job. - Drop the release builds and the separate `cargo build` steps (`cargo test` builds what it runs) and the second run of snapshot_test, which `cargo test --workspace` already includes. The no-default-features configuration is still compiled and tested. - A new push to a pull request cancels the run for the previous one (Test, RPM, Claude review); main keeps one run per commit. - timeout-minutes on every job, instead of the 6 h default. - Claude review skips drafts and runs when a pull request is marked ready, rather than posting a new review for every push to a draft. Co-Authored-By: Claude Opus 5.5 <[email protected]>
LeMyst
force-pushed
the
ci/faster-tests
branch
from
September 28, 2026 20:11
768a6af to
03dccff
Compare
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.
Closes #570.
What changes
test.yml
needs:the Ubuntu job. The critical path becomes the longest single job instead of the sum of three.cargo build --releaseeverywhere (4.5 / 6 / 9 min on Ubuntu / macOS / Windows). Also removed thecargo buildbeforecargo testand the secondsnapshot_testrun.cargo test --no-default-featuresstill compiles and tests that configuration. A comment records why the release build is gone.concurrencygroup: a push to a pull request cancels the run for the previous push. Pushes to main are not cancelled.timeout-minutes.claude-code-review.yml
ready_for_reviewandreopened, so a pull request is reviewed when it is marked ready.gh pr comment, and--edit-lastwould edit the bot's last comment on the pull request, which might be an@claudereply.rpm.yaml: concurrency and a 60-minute timeout. The slowest RPM build in the v0.37.0 release took 13 minutes.
Why not pass the binary to UI Tests as an artifact
The UI job's own
cargo buildtakes 38 s with a warm cache. Making it wait for the Ubuntu job to hand over a binary would put it back on the critical path.Expected
The Windows job loses its 9-minute release build and its 2-minute redundant
cargo build. The workflow should then finish in roughly the time of that one job, about 7–8 minutes, instead of ~32. That is an estimate; this PR's own CI run gives the real figures.actionlintreports nothing.🤖 Generated with Claude Code