You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(sc-gh-stack): unblock adopted-layer reconcile, bound rebases at fork points
Iteration-3 review pass (1 blocker, 2 majors, 8 minors):
- convert: adopted-layer freshness also accepts a local tip that already
contains every remote commit, so the documented reconcile recipe, re-runs
after gh stack submit pushed the branches, and ff-then-rebase sequences all
pass while post-adoption remote pushes are still refused (was an
unrecoverable GIT.BRANCH_DIVERGED loop / false positive)
- convert: when a layer descends from neither the below layer's recorded tip
nor its current tip (cut from an older tip of the layer below), the rebase
upstream falls back to the merge-base fork point instead of trunk, so the
below layer's conflict-resolved commits are never re-replayed as spurious
conflicts or duplicates
- convert: failed fast-forwards report CONVERT.FF_FAILED with git stderr
(worktree-checkout cause visible) instead of CONVERT.REBASE_FAILED
- tests: 49 cases — new mutation-verified coverage for adopted-layer divergence
+ reconcile, post-submit idempotent re-run, fork-point bounding, and
rerere-staged zero-unmerged conflicts
- docs: empty conflict.files guidance (rerere), CONVERT.FF_FAILED, sanctioned
scope of the keep-local troubleshooting path, submit-recovery conflict loop,
STACK.INIT_FAILED split onto the failure path, test counts
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments