Skip to content

feat: add source control action to abort merge#2092

Open
leynier wants to merge 4 commits into
stablyai:mainfrom
leynier:support-merge-abort
Open

feat: add source control action to abort merge#2092
leynier wants to merge 4 commits into
stablyai:mainfrom
leynier:support-merge-abort

Conversation

@leynier
Copy link
Copy Markdown
Contributor

@leynier leynier commented May 16, 2026

Summary

  • add a Source Control dropdown action to abort an in-progress merge
  • route git merge --abort through local, SSH, runtime RPC, preload, and renderer git clients
  • add a confirmation dialog and refresh the affected worktree status after aborting

Closes #2090

Validation

  • pnpm exec vitest run --config config/vitest.config.ts src/main/git/status.test.ts src/main/providers/ssh-git-provider-merge.test.ts src/main/ipc/filesystem.test.ts src/main/runtime/rpc/methods/git.test.ts src/renderer/src/runtime/runtime-git-client-merge.test.ts src/renderer/src/components/right-sidebar/source-control-dropdown-items.test.ts
  • pnpm run typecheck:node && pnpm run typecheck:web
  • git diff --check

Note: validation emits the existing Node engine warning because this shell is using Node v26.0.0 while the repo requests Node 24.

leynier added 2 commits May 16, 2026 12:58
# Conflicts:
#	src/renderer/src/components/right-sidebar/SourceControl.tsx
#	src/renderer/src/components/right-sidebar/source-control-dropdown-items.ts
@leynier leynier changed the title Add Source Control action to abort merge feat: add source control action to abort merge May 17, 2026
leynier added 2 commits May 17, 2026 17:01
# Conflicts:
#	src/main/ipc/filesystem.test.ts
# Conflicts:
#	src/renderer/src/components/right-sidebar/SourceControl.tsx
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.

[Feature]: Add Source Control action to abort merge

1 participant