Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.271 ·

Bash sandbox execution adds a dispose-guarded cleanup callback

Bash sandbox execution now guarantees its cleanup callback runs exactly once, even on early abort

You'll notice Bug Fixes
JSON All of v2.1.271
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SandboxArea: what it touches
Bug FixesKind: in v2.1.271,
Bug FixesSection of the release
What

The code that runs shell commands inside Claude Code's sandbox (an isolated execution environment) now wraps a cleanup step in a disposable guard that ensures the cleanup function runs exactly once. Previously, an early-return path that aborts execution could skip running that cleanup function; now it explicitly runs it before returning.

Why

This prevents leftover state from a shell command that gets aborted early, since the cleanup step that used to be skipped on that path now always runs.

See this entry in the whole of v2.1.271 →

Feedback