Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Background TasksArea: what it touches
Internal ChangesKind: in v2.1.285,
Internal ChangesSection of the release
What
When a worker restarts partway through a turn, Claude Code can pick that turn back up. A background task is work Claude started that runs on its own, and some can be left behind by the restart. Before continuing, Claude Code sends out the pending notices about those leftover tasks. That step now:
Records whether it ran out of time.
Writes a log line and records how long it took.
Uses a set time limit instead of the previous fixed 20 seconds.
It also reads the lists of running, leftover and finished tasks correctly, where some of them were mixed up before. This path is tied to the CLAUDE_CODE_RESUME_INTERRUPTED_TURN environment variable.
Why
Problems after a remote worker restart are easier to trace, because the log now shows how long cleanup took and whether it gave up.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe new time limit for this step is not known.
Anthropic's release notes agreeFixed CLAUDE_CODE_RESUME_INTERRUPTED_TURN re-running a turn that had ended at --max-turns