Stop main's CI runs cancelling each other - #143
Closed
mikemaccana wants to merge 2 commits into
Closed
Conversation
…other
The Anchor v1 run on main after the 1.2.0 merge went red without any
code at fault: one group's Solana CLI install got a truncated tarball
from release.anza.xyz ("failed to iterate over archive") while the same
step passed in the other thirteen groups. The next merge, README-only,
then cancelled that run via the concurrency rule and skipped its own
build groups, leaving main with no verdict.
The install step in anchor.yml and anchor-v1.yml now retries up to five
times, wiping the partial install between attempts. cancel-in-progress
in every workflow with a concurrency group applies only off main, so a
superseded pull-request run is still cancelled but runs on main finish.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VMP1m8Tbkz3H5AJFJ3p4aX
The truncated download was a one-off that a re-run handles. The part worth keeping is that runs on main no longer cancel each other. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VMP1m8Tbkz3H5AJFJ3p4aX
Collaborator
Author
|
Not sure i need this. Closing. |
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.
After #141 merged, one group of the Anchor v1 run on
mainfailed on a truncated Solana CLI download. That on its own is a re-run. What leftmainred was the next merge: #142 (README only) landed eleven minutes later, its push cancelled #141's still-running verification through the workflow's concurrency rule, and its own run built nothing, so the previous merge's result was gone and never replaced.Change
cancel-in-progressin every workflow with a concurrency group is nowgithub.ref != 'refs/heads/main'. A superseded run on a pull request branch is still cancelled; runs onmainfinish, so a docs-only merge can no longer erase the previous merge's result. CHANGELOG.md records it.An earlier revision of this PR also added a retry loop around the Solana installer; that was dropped as not worth carrying for a one-off download failure.
🤖 Generated with Claude Code
https://claude.ai/code/session_01VMP1m8Tbkz3H5AJFJ3p4aX