Repository navigation
ci(release): cancel only builds on a newer push, never a publish in progress - #1138
Merged
Merged
Conversation
…rogress Workflow-level concurrency with cancel-in-progress cancelled a running publish when another commit landed on the branch (e.g. a bot PR merging). Builds now cancel per branch, and publish runs one at a time per branch without being cancelled, as in homebridge/homebridge-config-ui-x#3128. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
NorthernMan54
marked this pull request as ready for review
November 20, 2026 16:34
Coverage Report for CI Build 44774609297Warning No base build found for commit Coverage: 88.046%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats💛 - Coveralls |
This was referenced Nov 20, 2026
NorthernMan54
added a commit
to homebridge/homebridge
that referenced
this pull request
Nov 20, 2026
…rogress (#4051) Workflow-level concurrency with cancel-in-progress cancelled a running publish when another commit landed on the branch (e.g. a bot PR merging). Builds now cancel per branch, and publish runs one at a time per branch without being cancelled, as in homebridge/homebridge-config-ui-x#3128 and homebridge/hap-nodejs#1138. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
bwp91
pushed a commit
to homebridge/homebridge
that referenced
this pull request
Nov 21, 2026
…rogress (#4051) Workflow-level concurrency with cancel-in-progress cancelled a running publish when another commit landed on the branch (e.g. a bot PR merging). Builds now cancel per branch, and publish runs one at a time per branch without being cancelled, as in homebridge/homebridge-config-ui-x#3128 and homebridge/hap-nodejs#1138. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Release used workflow-level concurrency with
cancel-in-progress: true. When another commit landed on a beta branch, for example a dependency bot PR merging, the running Release was cancelled, including a publish that had already started.Change
concurrencyblock is removed.build_and_test_beta: groupRelease-build-<ref>,cancel-in-progress: true. A newer push cancels the older build, so only the newest commit is published.publish: groupRelease-publish-<ref>,cancel-in-progress: false. A publish that has started is never cancelled; a newer run waits for it.This is the same pattern as homebridge/homebridge-config-ui-x#3128, which has been running there since 2026-11-17. It's a prerequisite for the dependency bot on HAP-NodeJS beta.
It targets
beta-2.3.1because push-triggered runs use the workflow file on the pushed branch. It reacheslatestwith the next release. Merging this publishes a beta.Note: re-running an older Release run on the branch cancels a newer run's build (same group), so re-run only the newest.
🤖 Generated with Claude Code