Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

Sessions on self-hosted runners ignore later edits to the user settings env block

On a self-hosted runner, a session keeps the user settings env block it read at startup and logs a warning instead of applying later changes

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

The env block in your user settings sets environment variables (named values that programs read) for Claude Code. A session running on a self-hosted runner, a machine you supply to run Claude Code jobs, now keeps the env block it read when it started. If the file changes later, the change is not applied and a warning is logged starting "Not applying a change to the env block of". The warning explains that the session's own commands can write this file.

Related changes:

  • Unreadable user settings: a user settings file that cannot be read is now handled.
  • Untrusted folders: the warning shown for a folder you have not trusted now says its values are not read.
  • Managed settings: settings set by an organization's admin now show lock notices for bypass-permissions mode and auto mode.
Why

It stops a session from changing its own environment by editing the settings file while it runs. If you edit the env block during a runner session, start a new session to pick the change up.

See this entry in the whole of v2.1.336 →

Feedback