Repository navigation
fix(ci): divide the scenarios of each Feature between two jobs - #47
Merged
Merged
Conversation
A run of test-pr.yaml that tests each Feature took 442 s on average. The target of a CI check is 5 minutes, with a tolerance of 1 minute. The CLI runs the scenarios of a Feature one after the other, and one test-scenarios job ran all nine. test-scenarios now has two shards for each Feature and base image. Scenarios with equal features stay in one shard, so they can use the same build cache. Each scenario still runs on each base image, and the check Feature tests keeps its name. Closes #44
dan-petty
marked this pull request as ready for review
November 30, 2026 19:42
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.
A run of
test-pr.yamlthat tests each Feature took 442 s on average in four runs. The target is 6 minutes at most. In each run, the last test job to end was intest-scenarios, whose scenario step is 96% of its job time.test-scenariosnow has two shards for each Feature and base image. Scenarios with equalfeaturesstay in one shard, so they can use the same build cache. The outputshardsofdetect-changesis the one list of the shards. Each scenario runs once on each base image.Feature testskeeps its name. A run of two Features has 27 jobs, not 21.The run of this pull request (46495734450) took 259 s from the first job start to the last job end. Its logs show that each of the 18 scenarios ran once and passed on each of the three base images. This is one run.
actionlint,shellcheck,zizmorandopenspec validatepass on a computer.devops openspec checkfails: see #45.Closes #44
Change:
openspec/changes/archive/2026-11-30-44-divide-feature-scenarios/