Repository navigation
ci: resolve version-file conflicts in the back-merge to production's side - #320
Merged
Merged
Conversation
…side Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…other edits Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code |
finalerock44
added a commit
that referenced
this pull request
Nov 13, 2026
production gained the 5.12.1 hotfix (#318) after this branch was built, so it no longer merged. The second parent is the release rebuilt the usual way: dev at 68a8250, production merged in with the release-please.yml and CLAUDE.md conflicts resolved to dev's side (#320), and a chore: release 5.13.0 commit. This merge takes that tree as-is, so the branch moves forward instead of being force-pushed.
Merged
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.
What & why
The 5.12.1 release's back-merge job failed on conflicts in
package.json,server.jsonandCHANGELOG.md, and had to be built by hand (#319). Each conflict was only the version line.Back-merges into
devare squashed, so git never records thatdevalready tookproduction's version change. The next release then edits the same line onproduction, and git sees two separate edits. This is likely to happen on most releases.Now, when the merge conflicts only in those three files, the job takes
production's side, which holds the version just released, and carries on to open the PR. A conflict in any other file still stops the job for a human, as before.CLAUDE.mdnotes this under Releases.Type of change
chore/ci/build/test— tooling, no user-facing changeHow to test
I ran the changed step's script against the real
origin/devandorigin/productionafter 5.12.1. It resolved the three conflicts and produced the same diff againstdevas the hand-built #319: only the version files and the 5.12.1 changelog section. I also checked the filter by hand: a conflict list containing any other file (for examplesrc/x.tsorpnpm-lock.yaml) stops the job.The Release workflow runs from
production's copy of this file, so this takes effect from the release after it reachesproduction.🤖 Generated with Claude Code