Skip to content

Pickup-time rebase treats a rebase that never started as a no-conflict stop, so real conflicts go to MergeConflictResolutionFailed - #767

Merged
AdamFrisby merged 1 commit into
mainfrom
codeybox/8dad084e
Nov 10, 2026
Merged

AdamFrisby merged 1 commit into
mainfrom
codeybox/8dad084e

Conversation

@AdamFrisby

Copy link
Copy Markdown
Owner

Automated via CodeyBox — work item 8dad084e46424e809ee1ed66b35be9f9

Initiated by CodeyBox operator


Co-Authored-By: CodeyBox noreply@codeybox.invalid
🤖 Generated with CodeyBox

…ict stops

RebaseCheckedOutBranchWithScopeFenceAsync treated any non-zero rebase exit as a stop, so a rebase that never started (dirty worktree, untracked overwrite, missing upstream, lock, identity/hook) fell into the resolver, which found no unmerged paths and parked with the misleading 'stopped with no unmerged paths' error while git's stderr was never logged.

Now a failed initial rebase first probes for sequencer state (REBASE_HEAD or rebase-merge/rebase-apply); when absent it logs stdout/stderr plus git status --porcelain, classifies the failure, cleans pipeline-owned .codeybox/ scratch (agent-log tee files that survive suspend/resume in the git tree and are stripped from every orchestrator commit) with a single retry, and otherwise throws a precise 'could not start' error carrying git's stderr. Failed --continue/--skip steps log stderr and re-verify sequencer state.

Tests: staged-sandbox cases for scratch cleanup, untracked overwrite, resolver reachability, and per-step stderr logging; unit tests for the classifier, porcelain parser, and in-progress probe.

CodeyBox-Prompt-Revision: 1
Co-Authored-By: CodeyBox <noreply@codeybox.invalid>
@AdamFrisby
AdamFrisby merged commit 3076e81 into main Nov 10, 2026
6 checks passed
@AdamFrisby
AdamFrisby deleted the codeybox/8dad084e branch November 10, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant