Skip to content

ci(#3209): workflow_dispatch for the Full Suite Gate matrix - #3232

Merged
squid-protocol merged 1 commit into
mainfrom
ci/3209-full-suite-dispatch
Sep 20, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
ci/3209-full-suite-dispatch

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #3209.

full-suite-gate.yml triggered on pull_request: types: [labeled] and a v* 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

  workflow_dispatch:
    inputs:
      full_matrix:
        description: "Run the untrimmed 12-way grid instead of the trimmed PR grid"
        type: boolean
        default: false

The matrix job already picked its grid off github.event_name, so this is one extra condition rather than a new branch:

trigger grid
PR label trimmed — four Pythons on ubuntu, floor+ceiling on Windows and macOS
manual, default the same trimmed grid
manual, -f full_matrix=true untrimmed 12-way
v* tag untrimmed 12-way (unchanged)

A workflow_dispatch groups by its ref in concurrency, 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 synchronize for 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:

gh workflow run "Full Suite Gate (All OS x Python)" --ref <branch>
gh workflow run "Full Suite Gate (All OS x Python)" --ref <branch> -f full_matrix=true
gh run list --workflow full-suite-gate.yml --branch <branch> --limit 3

The workflow's own header comment gains the same, and the cobol-modernization skill's gotcha now points at gh workflow run instead 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 run dispatches 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

`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]>
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 2ba7280 into main Sep 20, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the ci/3209-full-suite-dispatch branch September 20, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Full Suite Gate: add workflow_dispatch so the OS x Python matrix can re-run on a PR's current head

1 participant