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
[feat] merge auto-cleanup deletes the merged remote branch (#277) (#305)
* [feat] merge auto-cleanup deletes the merged remote branch (#277)
After a successful merge-to-main, rimba merge now deletes the remote
branch (origin/<branch>) in the same best-effort step that clean --merged
already performs, reaching behavioural parity with #231.
Remote deletion is skipped when no origin is configured, suppressed by
--keep/--delete, previewed in --dry-run, and never fails the merge itself
(captured in RemoteError, surfaced in CLI output and MCP remote_deleted).
* [fix] address PR #305 review feedback
- Surface RemoteError in failure output (%v) so users see the deletion reason
- Document wtRemoved-only gate: defers remote cleanup on partial failure to rimba clean
- Replace gitSubcmdStashPush with gitCmdPush in cmd/merge_test.go; add explicit remote arm
- Assert --delete flag in TestMergeWorktreeRemoteDeleteSuccess push args
- Remove dead wtDir / resolver.WorktreePath lines from both new e2e tests
0 commit comments