Skip to content

fix: rebase leaves conflicts in place when agent is running - #8

Merged
roulpriya merged 1 commit into
mainfrom
claude/fix-rebase-button-6N38m
Apr 27, 2026
Merged

roulpriya merged 1 commit into
mainfrom
claude/fix-rebase-button-6N38m

Conversation

@roulpriya

Copy link
Copy Markdown
Contributor

Previously the backend always called git rebase --abort on conflict,
then the frontend told a running agent to "resolve the conflicts" — but
there was nothing left to resolve. Now abortOnConflict is only set
when the agent is not running, leaving the worktree in the conflicted
state so the agent can handle it directly.

Also fixes the rebase route to use agent.baseBranch (consistent with
the diff route) instead of remoteConfig.baseBranch.

https://claude.ai/code/session_01Wm9BDJWe9Bzes1MGeWSdgc

Previously the backend always called `git rebase --abort` on conflict,
then the frontend told a running agent to "resolve the conflicts" — but
there was nothing left to resolve. Now `abortOnConflict` is only set
when the agent is not running, leaving the worktree in the conflicted
state so the agent can handle it directly.

Also fixes the rebase route to use `agent.baseBranch` (consistent with
the diff route) instead of `remoteConfig.baseBranch`.

https://claude.ai/code/session_01Wm9BDJWe9Bzes1MGeWSdgc
@roulpriya
roulpriya merged commit f1a54a4 into main Apr 27, 2026
1 check passed
@roulpriya
roulpriya deleted the claude/fix-rebase-button-6N38m branch April 27, 2026 18:10
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.

3 participants