Repository navigation
test(ci): reduce build integration test contention - #13317
Merged
Merged
Conversation
Limit the build integration binary to two concurrent tests and reuse private fixture setup across path matrices. Reset the fixture to its original commit and check the single changed path for each case. Preserve budgets, timeouts, retries and selector assertions. Validation: cargo ci --full passed on macOS ARM64, including 1483 ordinary tests and 146 lifecycle tests. The same 114-test comparison passed before and after; over-8-second tests fell from nine to zero. Hosted timing qualification remains pending. Related to #13310.
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
deepujain
marked this pull request as ready for review
October 16, 2026 07:22
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.
CI failed #13306 on Linux and Windows, then passed an unchanged rerun. Several build tests exceeded the 8-second budget, and some Windows cases reached the 24-second timeout.
Limit the build integration binary to two concurrent tests. The three path matrices also reuse one private repository per test, reducing 24 repository setups to three. Each case resets to the original commit and checks that only its own path changed, so an earlier triggering edit cannot make a later case pass. Existing selection and no-fallback assertions remain.
Three hosted ordinary-test measurements on the unchanged commit:
All six Linux measurements passed the unchanged 8-second per-test and 45-second suite budgets. Windows passed without timeouts, but the same two Bake tests still exceeded its reported-only 8-second budget. This does not eliminate every reported overrun, so #13310 stays open.
Locally, the same 114-test workload improved from 33.1 to 28.1 seconds, with its slowest test falling from 16.0 to 5.5 seconds.
cargo ci --fullpassed formatting, Clippy, 1,483 ordinary tests, doctests, schema checks, a fresh bundle and 146 lifecycle tests. Its macOS timing overruns remain reported-only. Budgets, timeouts, retries and case coverage are unchanged.Related to #13310.