Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.302 ·

Releasing a remote-control worker lease can now say the worker drained

closeForSuccessor and goodbye accept a drained option that releaseLease sends as drained: true when handing a session off

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

What

In remote control, a worker holds a lease, a claim on a session, and releases it when it hands the session to a successor. That release can now say whether the worker drained, meaning it finished its outstanding work.

  • closeForSuccessor and goodbye accept a drained option, false by default.
  • closeForSuccessor passes it on to releaseLease({ drained }).
  • releaseLease sends drained: true in the release request to /worker/heartbeat. Before, the request sent only release_lease.

Why

The server can now tell a worker that finished its work before handing off apart from one released for other reasons, which can affect how the session handoff goes.

See this entry in the whole of v2.1.302 →

Feedback