Repository navigation
ci: cancel superseded nix-image builds per ref - #1251
Merged
Merged
Conversation
A release train's changelog-freeze push to dev starts a discovery build whose baked-CHANGELOG checksum mismatch is guaranteed red until the manifest-sync push lands one minute later. Group runs per ref with cancel-in-progress so the sync build supersedes the doomed freeze build instead of painting a red run every train; distinct refs stay independent. Refs: #1250
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.
Summary
Adds a workflow-level per-ref
concurrencyblock withcancel-in-progress: truetonix-image.yml, so a release train's manifest-sync push cancels the guaranteed-red build started by the changelog-freeze push one commit earlier (visible since #1236 dropped thepaths:filter).Per-ref grouping keeps the epic branch and dispatches on other refs independent; cancelled runs only produce disposable
nix-dev*discovery tags and idempotent Cachix paths, both fully regenerated by the superseding run. Structure asserted test-first intests/test_workflow_cachix.py(RED confirmed before the fix).Closes #1250
Refs #1250
Verification
actionlintclean; zizmor finding-set diff shows zero new findings (removes one pedanticconcurrency-limitsfinding)tests/test_workflow_cachix.py5/5