Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

SDK engine: lifecycle for failed turn setup, and an abandonment sweep

The SDK engine now reports turns that failed to start and cleans up waiting turns when it closes

Under the hood Internal Changes
JSON All of v2.1.281
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.281,
Internal ChangesSection of the release
What

The SDK engine keeps a queue of turns waiting to run. Each waiting turn now has a status: queued (still waiting) or armed (next up and being set up).

  • If building a turn's settings fails, the turn now also sends a cancelled lifecycle report.
  • When the engine closes, a new sweep marks an armed turn cancelled and any queued turns discarded. It runs even if the engine never started processing. If the sweep fails, it logs "[engine] abandonment sweep failed".
  • The still_queued list returned by interrupt() now lists only turns still waiting, not the one already armed.
Why

A program using the SDK now gets a clear final status for every turn it asked for, instead of turns disappearing without a report when setup fails or the engine shuts down.

See this entry in the whole of v2.1.281 →

Feedback