Skip to content

ci: allow the acceptance suite to be run on demand - #416

Merged
leggetter merged 1 commit into
mainfrom
ci/acceptance-workflow-dispatch
Sep 14, 2026
Merged

leggetter merged 1 commit into
mainfrom
ci/acceptance-workflow-dispatch

Conversation

@leggetter

Copy link
Copy Markdown
Collaborator

Adds workflow_dispatch to the Acceptance Tests workflow so the suite can be run against a branch on demand.

Why

Merging #392 into the v2.6.0 release branch moved it 20 commits and 75 files — and triggered no acceptance run at all. GitHub's pull_request trigger does not fire when a PR's head branch is updated by merging another PR into it, so #378 sat at its new head with a single skipped check.

There was no way to force one. This workflow had no manual trigger, and gh run rerun re-runs the commit its run was created for — which tells you nothing about the new code.

So the code about to ship had never been through the gate it is judged by, and there was no lever to fix that.

Caveat worth knowing

GitHub reads the workflow definition from the ref being dispatched. Merging this to main is therefore necessary but not sufficient to dispatch an existing release branch — that branch also has to carry this block, e.g. by merging main into it.

Scope

One trigger added. No job, step, secret or permission changes. The pull_request trigger is untouched, so nothing about existing PR behaviour changes.

Related


🤖 Generated with Claude Code

https://claude.ai/code/session_01BnrKWZQASV7bFJ4oGWwmo9

The pull_request trigger does not fire when a PR's head branch is updated by
merging another PR into it. Merging #392 into the v2.6.0 release branch moved
it 20 commits and 75 files, and produced no acceptance run at all -- so the
code about to ship had never been through the gate it is judged by.

There was no way to force one: this workflow had no manual trigger, and
re-running an existing run re-runs the commit it was created for, which says
nothing about the new code.

workflow_dispatch closes that. Note GitHub reads the workflow definition from
the ref being dispatched, so a branch can only be dispatched once it also
carries this block -- merging it to main is necessary but not sufficient for
an existing release branch.

Related: #395 (CI does not run on PRs that target a branch other than main).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BnrKWZQASV7bFJ4oGWwmo9
@leggetter
leggetter merged commit 870eca3 into main Sep 14, 2026
9 of 13 checks passed
@leggetter
leggetter deleted the ci/acceptance-workflow-dispatch branch September 14, 2026 23:39
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.

1 participant