Skip to content

Improve multi-worktree delete flow - #2222

Merged
nwparker merged 1 commit into
mainfrom
nwparker/multi-delete
May 18, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/multi-delete

Conversation

@nwparker

Copy link
Copy Markdown
Contributor

Summary

  • replace sequential multi-worktree deletion with parallel batch deletion
  • keep the delete dialog open while batch deletes run and show per-worktree progress/errors
  • switch the batch worktree list to the shared shadcn ScrollArea

Validation

  • corepack pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/sidebar/delete-worktree-flow.test.ts
  • corepack pnpm run typecheck:web
  • corepack pnpm exec oxlint src/renderer/src/components/sidebar/DeleteWorktreeDialog.tsx src/renderer/src/components/sidebar/delete-worktree-flow.ts src/renderer/src/components/sidebar/delete-worktree-flow.test.ts
  • git diff --check

Note: npm test was blocked by the local pnpm store mismatch/native rebuild path, so validation was run through the repo-pinned pnpm directly.

@nwparker
nwparker merged commit 9066177 into main May 18, 2026
2 checks passed
@nwparker
nwparker deleted the nwparker/multi-delete branch May 18, 2026 05:41
AmethystLiang pushed a commit that referenced this pull request May 18, 2026
Group targets by repoId and serialize deletes within each repo (concurrent across repos), restoring per-repo lock-free behavior in runWorktreeDeletesInParallel.

Co-authored-by: orca-bug-scan-bot <[email protected]>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…ai#2259)

Group targets by repoId and serialize deletes within each repo (concurrent across repos), restoring per-repo lock-free behavior in runWorktreeDeletesInParallel.

Co-authored-by: orca-bug-scan-bot <[email protected]>
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