Repository navigation
fix(ci): divide the scenarios of the full Feature tests between jobs - #52
Merged
Merged
Conversation
A run of test-all.yaml takes more than 6 minutes. The job test runs the generated test and the scenarios of a Feature in one step. Move the shard filter and the shard list to .github/scripts/scenario-shards.sh. test-pr.yaml and test-all.yaml call it. In test-all.yaml, the new job test-scenarios runs the scenarios in two shards, and the job test passes --skip-scenarios. Refs #48
dan-petty
marked this pull request as ready for review
November 30, 2026 21:26
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-all.yamltook 377 s on average in ten runs. The target is 360 s at most. Two runs of this change, started by hand, took 281 and 226 s: 46513384731 and 46514483862.The job
testran the generated test and the nine scenarios of a Feature in one step. It now passes--skip-scenarios. The new jobtest-scenariosruns the scenarios ondebian:sidin two shards..github/scripts/scenario-shards.shholds the shard filter and the one list of the shards, andtest-pr.yamlandtest-all.yamlcall it. A full run has eight jobs, not four.A reusable workflow or a composite action needs a local
uses:.zizmorrejects the./form,actionlintrejects the$/form, and this change adds no lint exception. Thustest-all.yamlholds a second job definition.No Feature has a
duplicate.sh, so the CLI skips the duplicate test, as before.devops openspec checkfails: see #45.Closes #48
Change:
openspec/changes/archive/2026-11-30-48-divide-full-test-scenarios/