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

Claude Code v2.1.247 ·

Durable event uploads are tracked per batch on self-hosted runners

On your own compute, event batches are tracked so dropped ones fail fast instead of hanging.

Under the hood Internal Changes
JSON All of v2.1.247
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Cloud SessionsArea: what it touches
Internal ChangesKind: in v2.1.247,
What probably matters to youSection of the release
What

The cloud worker client now reports every batch of durable session events as it moves through sending, accepted or failed, and maps the requests carried in a batch back to their callers so a request in a dropped batch is rejected with a delivery-specific error instead of staying pending forever. The reporting and drop handlers are optional arguments, and the only caller that supplies them gates them to sessions on your own compute, so an ordinary local or cloud session behaves exactly as before.

Details
  • Both handlers are installed only when the CLAUDE_CODE_REMOTE environment variable is set and CLAUDE_CODE_ENVIRONMENT_KIND is byoc, the setting for bring-your-own-compute runners; local CLI, ordinary cloud and Remote Control sessions keep the previous behaviour and the upload reporter returns immediately, leaving the bookkeeping invisible.
  • The drop handler fires when a batch is discarded on a 4xx response from the server, and the rejection error class reflects how far delivery got.
  • Ephemeral batches are not reported, only durable ones.
  • A handler that throws is caught and logged as a warning reading CCRClient: onDurableEventsDropped threw; batch still dropped: , and the batch's fate is unchanged.
  • The gate as compiled is a zero-argument helper call that could in principle be a differently named check, but no competing definition appears in the file.
Evidence

onDurableEventsDropped, CCRClient: onDurableEventsDropped threw; batch still dropped: , onDurableEventsUpload

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.247 →

Feedback