Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

Cloud workflow launches survive a worker restart

You'll notice
Useful3 Signal3
Cloud Sessions

A cloud workflow turn cut off by a worker restart now resumes instead of vanishing.

What

A workflow launch that the server dispatched but that was cut short by a cloud or runner worker restarting mid-turn is now retried on startup instead of being dropped, so the turn picks up where it left off. Resumption is deliberately narrow: the restarted worker must be strictly newer than the one that dispatched the launch, and the saved bundle of work must still match the digest the server reported. Bundle downloads retry on failure too.

Details
  • Only runs on remote transports, requiring a remote session with both the CLAUDE_CODE_REMOTE and CLAUDE_CODE_REMOTE_SESSION_ID environment variables set; a local run never takes this path.
  • Additionally gated on CLAUDE_CODE_RESUME_INTERRUPTED_TURN, which the supervisor process sets only from the second worker start onward, so a first start never attempts a resume.
  • Skipped resumes log a reason: not_a_later_epoch when the restarted worker is not newer than the dispatching one, and digest_differs when the recorded work no longer matches the server's digest.
  • After a cap on retry attempts the launch is settled as spent rather than retried forever, and launch telemetry gained an attempt field; bundle download retries log workflow_launch_bundle_fetch_retry.
  • The resume code is loaded on demand at startup, and only when the restored worker state actually carries a pending workflow launch.
Evidence

workflow_launch_attempts_spent, workflow_launch_resume_skipped

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.242 →