Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.260 ·

Deleting a job/session can now discard confirmed unpushed worktree commits

Background job worktree deletion can now discard confirmed unpushed commits with a re-confirm step.

TierUse it nowhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaSessionswhat it touches
KindImprovementsin v2.1.260,
Group of 3 Use it now No documentation found

Background job worktree deletion can now discard confirmed unpushed commits with a re-confirm step.

Deleting a background job's worktree previously refused outright when it held commits not pushed to any remote. Now a caller can pass a discardUnpushed pin (headSha plus worktreeDigest), and if the worktree's HEAD still matches that pin the removal proceeds despite the unpushed commits. If the pin no longer matches, or the unpushed commits are also referenced by another job's state, the kept-worktree reasons unpushed or the new unpushed_shared are returned instead, along with keptUnpushed/discardUnpushed info so the caller can re-confirm; unpushed_shared specifically refuses to offer a discard when another finished job's state.json also references the same worktree, to avoid destroying another session's output.

In the Fleet UI, deleting a session whose worktree has unpushed commits no longer fails silently: it reports the unpushed count and prompts to delete again to discard, tracking a discardOffer so a second delete forces discardUnpushed.

Read from
Names in the bundlediscardUnpushed

See this entry in the whole of v2.1.260 →

Feedback