Fan out rust-ci-full nextest by platform#23358
Merged
Merged
Conversation
240ad00 to
bfbec89
Compare
bolinfest
approved these changes
May 20, 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Why
rust-ci-fullwas paying the full Cargo nextest build-and-run cost once per platform, with Windows ARM64 as the long pole. This change moves the heavy work into one reusable per-platform flow: build a nextest archive once, then replay it across four shards so the platform lane spends less time running tests serially. For Windows ARM64, the archive is cross-compiled on Windows x64 and replayed on native Windows ARM64 shards so the slow ARM64 machine is used for execution rather than compilation.What changed
rust-ci-fullnextest matrix into five explicit per-platform reusable-workflow calls.github/workflows/rust-ci-full-nextest-platform.ymlto build one archive, upload timings/helpers, replay four nextest shards, upload per-shard JUnit, and roll the shard status back up per platformenvdoes not flow throughworkflow_call.github/workflows/README.mdVerification
34m30slane e2e,17m16sarchive build,9m55sshard phase30m36slane e2e,17m21sarchive build,6m50sshard phase55m01s,50m21s, and46m42s, so the completed cross-compile runs improved the lane by roughly12mto24mversus the prior rangecode_modetest failure seen outside this laneNotes