Skip to content

Add rebase-aware branch sync flow#259

Merged
BunsDev merged 1 commit into
mainfrom
okcode/worktree-pull-rebase-conflicts
Apr 5, 2026
Merged

Add rebase-aware branch sync flow#259
BunsDev merged 1 commit into
mainfrom
okcode/worktree-pull-rebase-conflicts

Conversation

@BunsDev

@BunsDev BunsDev commented Apr 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace fast-forward-only branch pulls with a rebase-aware syncCurrentBranch flow on the server.
  • Return richer sync results, including the strategy used, conflict state, and conflicted files.
  • Update WebSocket handling and UI actions to surface rebases and conflict stoppages instead of treating divergence as a hard stop.
  • Refresh branch toolbar and git action messaging so users see when a branch should be rebased before starting work.
  • Expand git core coverage with diverged-branch and conflict scenarios.

Testing

  • Not run (per request).
  • Added/updated tests for clean pulls, diverged branch rebases, and conflict reporting in apps/server/src/git/Layers/GitCore.test.ts.
  • Updated websocket and git action logic tests to match the new syncCurrentBranch flow and result shapes.

- Rename pull flow to sync and rebase diverged branches
- Surface conflict state and conflicted files in git results
- Update web UI to show sync, rebase, and conflict feedback
@vercel

vercel Bot commented Apr 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 5, 2026 6:54am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 5, 2026 6:54am

@github-actions github-actions Bot added the size:L label Apr 5, 2026
@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Apr 5, 2026
@BunsDev BunsDev merged commit 20771ba into main Apr 5, 2026
10 of 11 checks passed
@BunsDev BunsDev deleted the okcode/worktree-pull-rebase-conflicts branch April 6, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant