Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Remote sessions may send fewer keep-alive signals during background-only waits

In remote sessions, keep-alive signals are now tracked per wait and may be held back to an interval when only background tasks are pending

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

Unclear It is not known what decides when the signals are held back during background-only waits.

What

A keep-alive signal is a small message a session sends so the other side knows it is still running. This applies only when CLAUDE_CODE_REMOTE is set, meaning Claude Code is running as a remote session.

Keep-alive handling while waiting at the end of a turn has been reworked:

  • Claude Code records what kept each wait going, such as a shell command, a monitor, a subagent (a helper agent Claude Code starts) or a scheduled wakeup.
  • When the wait ends, it reports how many signals it sent, how long it waited on background tasks alone, and what held the wait.
  • When only background tasks are pending and a further condition holds, it holds back the signals and sends one only at set intervals.

Before, the session simply sent a keep-alive signal whenever its conditions were met.

Why

This changes when remote sessions send keep-alive signals, which could affect whether a remote session that is only waiting on background work stays alive.

Read from
Names in the bundleCLAUDE_CODE_REMOTE
What the documentation says
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 doubtIt is not known what decides when the signals are held back during background-only waits.

See this entry in the whole of v2.1.311 →

Feedback