Repository navigation
docs(ci): merge-main fallback when git is older than 2.46 - #33291
Merged
Merged
Conversation
The merge-main resolver needs git 2.46 (attr.tree), and the Linux agent VMs have git 2.43, so scripts/merge-main.sh stops there. Write down the fallback the lead agreed to: a plain `git merge` of the base, only on a branch whose head you trust, with no rebase and no force push. Generated files are regenerated, never hand-merged. Run the area's checks before the push, and get a new receipt at the merge head, because next-autoland carries a receipt only across a cmux-bot base merge.
Contributor
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Shipped in:
|
lawrencecchen
temporarily deployed
to
ci-routing-agent
November 3, 2026 07:48 — with
GitHub Actions
Inactive
|
Found 1 test failure on Blacksmith runners: Failure
|
The review found that the first text lost work. Taking one side of .xcstrings or project.pbxproj drops the other side's strings or entries. The steps now say: - check the trusted merge drivers (scripts/install-git-hooks.sh) - pick main's last green commit with merge-main.sh --dry-run - repair the cmux-generated-v1 paths, which keep your side with no conflict - keep main's former web bundles out of a feat-cmux-next branch - regenerate the config schema on main - why the branch's .gitattributes must be trusted - next-autoland carries a receipt only across its own update-branch merges
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
lawrencecchen
temporarily deployed
to
ci-routing-agent
November 3, 2026 07:58 — with
GitHub Actions
Inactive
lawrencecchen
temporarily deployed
to
ci-routing-agent
November 3, 2026 07:58 — with
GitHub Actions
Inactive
…ation, driver check wording)
lawrencecchen
temporarily deployed
to
ci-routing-agent
November 3, 2026 08:02 — with
GitHub Actions
Inactive
Contributor
Author
|
Review (independent-subagent): SHIP at dca0b5f
|
This branch was previously 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.
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Summary
This adds a section to
docs/ci/merge-main.md: what to do when git is older than 2.46. The merge-main resolver needsattr.tree(git 2.46), and the Linux agent VMs have git 2.43, soscripts/merge-main.shstops there. The lead agreed that a plaingit mergeof the base meets the intent of the rule.The fallback has these limits:
This is the path #33161 took, with the reviewer's confirmation at its merge head.
Observed / Not run
Docs only.
prepush-gate.pyis clean. Nothing else was run.Changelog
none
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Adds a section to
docs/ci/merge-main.mdcovering the fallback when git is older than 2.46, which the merge-main resolver requires (attr.tree). The Linux agent VMs ship git 2.43, soscripts/merge-main.shstops there, and a plaingit mergeof the base now meets the rule's intent.The fallback applies only to trusted branches, permits merge commits only (no rebase, squash, or force push), and requires regenerating generated files rather than hand-merging them. On main, merge the last green commit that
--dry-runreports, not the tip, and confirm the trusted merge drivers are present, installing them viascripts/install-git-hooks.shif not. It also mandates running the area's checks before pushing and getting a new receipt at the merge head, since next-autoland carries receipts only across its own cmux-bot base merges.Written for commit dca0b5f. Summary will update on new commits.