GitHub Actions concurrency and cancellation
Group identity
A concurrency group identifies work that shares a scheduling boundary. For a fictional pull-request check, grouping by workflow and branch can stop an older check from competing with the newer run for that branch. A repository-wide constant would also group unrelated branches.
GitHub’s concurrency guide distinguishes grouping from canceling work already in progress. Review cancel-in-progress separately. A shared group name can affect more than one workflow, so inspect every producer of that name.
Release cancellation
Canceling an obsolete check and interrupting a production deployment have different consequences. A canceled job doesn’t automatically undo effects already performed. Explain the recovery path before allowing a newer deployment to interrupt an older one.
The browser model provides a bounded view of run grouping and cancellation. It does not operate GitHub’s queue or simulate an interrupted remote transaction. Current queue options and hosted capacity need separate validation against GitHub’s documentation.