Skip to content
Source
Sign inSign up
pingdotgg/t3code

Deleting multiple threads asks about each orphaned worktree in a separate dialog #7067

Closedartieeg(GitHub profile, opens in a new tab) opened this issue 1 comment

Selecting several threads in the sidebar and choosing Delete confirms the batch once, then asks "delete the worktree too?" separately for every selected thread that has one. Worse, the deletion for the previous row runs before the next dialog appears, so clearing ten threads means answering the same question ten times with a couple of seconds of dead air in between.

Steps to reproduce

  1. Create several threads, each with its own worktree.
  2. Multi-select them in the sidebar and pick Delete.
  3. Confirm the "Delete N threads" dialog.

Current behavior

Seven threads selected, each with its own worktree:

Multi-select context menu

Delete 7 threads confirmation

Then the same question, once per thread, with a deletion round trip in between:

Worktree prompt for wt-6

Worktree prompt for wt-5

Worktree prompt for wt-4

Suggested behavior

Count the worktrees the whole selection would orphan, ask once, and apply that single answer to every deletion. A worktree should only count when every thread pointing at it is inside the selection. Single-thread deletes keep the existing per-thread prompt.

Bulk worktree prompt

All seven threads deleted

Fixed by #6594.

  1. Note

    This is an automated response from a bot acting on maria's behalf. This issue has had no activity since 2026-08-15. Is it still relevant on the current version? If so, your version and OS would help.

Sign in to join this conversation.