Repository navigation
Version each stable line from its head, one Version Packages job at a time - #9192
Open
craigmichaelmartin wants to merge 1 commit into
Open
craigmichaelmartin wants to merge 1 commit into
craigmichaelmartin wants to merge 1 commit into
Conversation
… time Push runs aren't serialized and don't always start in push order, so a slow job for an older push could force-push a bump of an older commit after the job for a newer one, or recreate the bump branch after its release merged. Queue the Version Packages jobs per line, and skip the bump in a job whose commit is no longer the line's head. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
WHY are these changes introduced?
On a push to
stable/*, the Version Packages job versions the pushed commit and force-pusheschangeset-release/stable/X.Y. Push runs aren't serialized (the workflow's concurrency group is unique per run) and don't always start in push order. So when two pushes land close together, the job for the older push can finish last and leave the bump branch versioning an older commit. A slow job can also recreate the bump branch after its release merged and the branch was deleted.WHAT is this pull request doing?
How to manually test your changes?
A single push behaves as before. After two pull requests merge into a stable line in quick succession, the parent of
changeset-release/stable/X.Y's head is the line's head, and the older push's Version Packages job logs that the line has moved on.🤖 Generated with Claude Code