Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

Self-hosted runners pass an exit delay to sessions and detect restricted sessions

Self-hosted runners now hand CLAUDE_CODE_EXIT_AFTER_STOP_DELAY from the server to sessions and gain checks for restricted and host-managed runs

Group of 2 You'll notice Improvements
JSON All of v2.1.317
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Self-Hosted RunnersArea: what it touches
ImprovementsKind: in v2.1.317,
ImprovementsSection of the release

Unclear It is not clear what being marked as a host-managed runner child changes for a session.

What

A self-hosted runner is a machine you run yourself to carry out remote Claude Code sessions. Each session it starts runs as a child process, a separate program the runner launches with its own environment variables (named values passed to a program).

  • CLAUDE_CODE_EXIT_AFTER_STOP_DELAY was blanked out in the child's environment. It now carries a value.
  • The runner reads that value from the environment_variables the server provides. It accepts only a whole number of 1 to 9 digits with no leading zero, and only for one kind of session.
  • A new check treats a session as restricted if claude_code_args includes restricted, if CLAUDE_CODE_RESTRICTED is set, or if the setting sources leave out projectSettings.
  • A new marker identifies a child run by a host-managed runner. It is set when the session is remote, bring-your-own-compute (byoc), self-hosted, provider-managed by the host, and ANTHROPIC_BASE_URL is set.

Why

A server can now set how long a runner's session waits after it stops before exiting, where before that setting was always cleared. Only plain whole numbers are accepted, and the new checks tighten how runner children are set 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 doubtIt is not clear what being marked as a host-managed runner child changes for a session.

See this entry in the whole of v2.1.317 →

Feedback