Repository navigation
ci(#3209): workflow_dispatch for the Full Suite Gate matrix - #3232
Merged
Merged
Conversation
`full-suite-gate.yml` triggered on `pull_request: types: [labeled]` and a `v*` tag only. That cut the queue from 23-65 minutes of identical per-label runs, but it also means the matrix runs once, against the SHA that carried the label: a commit pushed afterwards never goes through it. #3207's Windows fix merged that way. Adds `workflow_dispatch` with a `full_matrix` boolean. A plain manual run gets the same trimmed grid a label gives (four Pythons on ubuntu, floor+ceiling on Windows and macOS); `-f full_matrix=true` gets the untrimmed 12-way grid a tag gets. `github.event_name` already selected the grid, so the matrix job needed one extra condition, not a new branch. Keeping the re-run manual is the point: the issue's alternative, also firing on `synchronize` for an already-labelled PR, hands back the queue cost the label-only rule bought. Documented in CLAUDE.md as its own section, with the `gh workflow run` and `gh run list` invocations, and the cobol-modernization skill's gotcha updated to point at it instead of "remove and re-add a label". Closes #3209. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Contributor
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.
Closes #3209.
full-suite-gate.ymltriggered onpull_request: types: [labeled]and av*tag only. That was deliberate and worth keeping — per-label runs had put 48 jobs on a single SHA and pushed the queue to 23-65 minutes — but the consequence is that the matrix runs once, against the SHA that carried the label. A commit pushed afterwards never goes through it. #3207's Windows fix merged exactly that way: correct, and covered by a test that fails without it, but the matrix never saw it.Change
The
matrixjob already picked its grid offgithub.event_name, so this is one extra condition rather than a new branch:-f full_matrix=truev*tagA
workflow_dispatchgroups by its ref inconcurrency, so a manual re-run never cancels the label run of a PR on that branch, or vice versa.I did not take the issue's alternative of also firing on
synchronizefor an already-labelled PR. It is more automatic, but it hands back the queue cost the label-only rule bought — and the header comment in this file exists precisely to stop someone re-adding that.Docs
The issue asked for this to be written down, so CLAUDE.md gets its own section (placed after the Differential Scan block, not inside it) with the invocations:
The workflow's own header comment gains the same, and the
cobol-modernizationskill's gotcha now points atgh workflow runinstead of "remove and re-add a label".Verification
The YAML parses and the trigger/input/job structure is as intended. The dispatch trigger itself can only be exercised once this is on
main—gh workflow rundispatches the workflow as defined on the default branch — so the first real use is the proof. Removing and re-adding a label still works and is equivalent to the no-arg form, so there is no window where the matrix is unreachable.🤖 Generated with Claude Code