Skip to content

fix(ci): drop self-cancelling concurrency from reusables (#2307) - #5

Merged
forkwright merged 1 commit into
mainfrom
fix/reusable-concurrency-self-cancel
Jun 30, 2026
Merged

forkwright merged 1 commit into
mainfrom
fix/reusable-concurrency-self-cancel

Conversation

@forkwright

Copy link
Copy Markdown
Owner

Reusables declared concurrency group ${{ github.workflow }}-${{ github.ref }} (=caller's group in reusable context) with cancel-in-progress → self-cancel → 0 jobs. Blocked ALL canonical-CI caller adoption since #2293 (theatron #149 caught it; security survived via PR-number key). Caller owns concurrency; dropped from gate-attestation/no-ai-attribution/dependabot-auto-merge/codeql. Refs forkwright/kanon#2307.

…307)

In a reusable workflow github.workflow resolves to the CALLER's name, so a
top-level concurrency group of ${{ github.workflow }}-${{ github.ref }} with
cancel-in-progress matches the caller's own group → the reusable cancels its
own caller → 0 jobs, failure. Latent since #2293; surfaced by theatron, the
first caller-adopter. The caller workflow owns concurrency; reusables must not
redeclare the colliding group. Refs #2307.
@forkwright
forkwright merged commit 66867bc into main Jun 30, 2026
1 check passed
@forkwright
forkwright deleted the fix/reusable-concurrency-self-cancel branch June 30, 2026 18: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.

1 participant