Skip to content

fix(ci): divide the scenarios of the full Feature tests between jobs - #52

Merged
dan-petty merged 2 commits into
mainfrom
fix/48-divide-full-test-scenarios
Nov 30, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/48-divide-full-test-scenarios

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A run of test-all.yaml took 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 test ran the generated test and the nine scenarios of a Feature in one step. It now passes --skip-scenarios. The new job test-scenarios runs the scenarios on debian:sid in two shards. .github/scripts/scenario-shards.sh holds the shard filter and the one list of the shards, and test-pr.yaml and test-all.yaml call it. A full run has eight jobs, not four.

A reusable workflow or a composite action needs a local uses:. zizmor rejects the ./ form, actionlint rejects the $/ form, and this change adds no lint exception. Thus test-all.yaml holds a second job definition.

No Feature has a duplicate.sh, so the CLI skips the duplicate test, as before. devops openspec check fails: see #45.

Closes #48

Change: openspec/changes/archive/2026-11-30-48-divide-full-test-scenarios/

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 dan-petty added type/bug Defect, regression, or incorrect runtime behavior scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners labels Nov 30, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 30, 2026 21:26
@dan-petty
dan-petty merged commit c25580f into main Nov 30, 2026
33 checks passed
@dan-petty
dan-petty deleted the fix/48-divide-full-test-scenarios branch November 30, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners type/bug Defect, regression, or incorrect runtime behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): the full Feature tests on main take more than 6 minutes

1 participant