Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 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 Internal Changes
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
Environment VariablesArea: what it touches
Internal ChangesKind: in v2.1.317,
ImprovementsSection of the release

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.

Read from

See this entry in the whole of v2.1.317 →

Feedback