Repository navigation
fix(ci): run each changed-test run on workers and its own runner - #6568
Merged
Merged
Conversation
…hards by recorded seconds (#6564)
devops-cli-service
Bot
force-pushed
the
ci/6564-changed-test-independence-times-out-on
branch
from
November 21, 2026 00:02
7d1a920 to
0693b11
Compare
Contributor
Author
|
The steps of the job: Stopped at group 1. The stop report is on #6564: #6564 (comment).
|
A --repeat run of devops ci test takes the workers of a narrowed run, and --run <k> starts one run alone. The job Changed-Test Independence runs its three shuffled runs as a matrix of three jobs, with one aggregate job.
…independence-times-out-on
A repeat run on workers gives --dist loadfile in place of addopts' worksteal, so a test that leaves state behind meets the tests of its own file. The documents state the accepted limit: above 50 tests, a leak between two changed files on two workers is not caught.
…independence-times-out-on
dan-petty
marked this pull request as ready for review
November 21, 2026 06:12
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 21, 2026
🤖 I have created a release *beep* *boop* --- ## [0.187.1](v0.187.0...v0.187.1) (2026-11-21) ### Bug Fixes * **ci:** run each changed-test run on workers and its own runner ([#6568](#6568)) ([ce73902](ce73902)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.
The check Changed-Test Independence ran its three shuffled runs of the changed test files one after another, each on one process. Its time grew with the number of changed tests, and on a large change GitHub cancelled the job at its 15-minute limit with no result.
A
--repeatrun ofdevops ci testnow uses the workers that a narrowed run of the same files gets: one process for up to 50 tests, else one worker for each CPU, up to 4, with all tests of one file on one worker. The new option--run <k>starts only run k, with its own seed. CI runs the three runs as a matrix of three jobs, and one aggregate job keeps the check nameChanged-Test Independence. The changed tests, the three seeds and the job limit do not change. A step limit under the job limit makes a run that is too long fail with a message, and not end in a cancel.Closes #6564
Change:
openspec/changes/archive/2026-11-21-6564-changed-test-independence-times-out-on/