Claude Code v2.1.328 · 18 Nov 2026
Runner sessions expose the session ID in two environment variables
Runner sessions set CLAUDE_RUNNER_SESSION_UUID and CLAUDE_CODE_REMOTE_SESSION_UUID to the same session ID
Use it now Tier: how much it should matter to you
2 Useful: my rating, 1 to 5
2 Signal: worth watching, 1 to 5
Self-Hosted Runner Area: what it touches
Improvements Kind: in v2.1.328, 18 Nov 26
What probably matters to you Section of the release
Unclear It is not clear which sessions count as runner sessions.
What
Environment variables are named values that programs can read. For runner sessions, Claude Code now sets both of these to the same session ID:
Before, this step returned an error instead.
Why
Programs started from the session, such as your scripts, can read the session ID from either variable.
How sure we are
Something disagrees Something we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt It is not clear which sessions count as runner sessions.
Anthropic's release notes agree Self-hosted runner: Changed CLAUDE_RUNNER_SESSION_UUID and CLAUDE_CODE_REMOTE_SESSION_UUID to both be set for the session and its checkout…
See this entry in the whole of v2.1.328 →
18 Nov 2026 · 577 entries, this one is #39.
Use it now24 You'll notice338 Nothing to try yet56 Under the hood159
Open the release →
Names in this entry
env CLAUDE_RUNNER_SESSION_UUID Runner hooks now get CLAUDE_RUNNER_SESSION_UUID and CLAUDE_CODE_REMOTE_SESSION_UUID so your scripts can key on the session.
env CLAUDE_CODE_REMOTE_SESSION_UUID Runner hooks now get CLAUDE_RUNNER_SESSION_UUID and CLAUDE_CODE_REMOTE_SESSION_UUID so your scripts can key on the session.
Anthropic's note
Upstream's own release notes for v2.1.328 name something this entry names, so the two are probably about the same change. Probably: the pairing is made on a shared name rather than on the words around it.
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 38 of 577
Timeout errors now say how to raise API_TIMEOUT_MS
You'll notice Internals
In v2.1.328 What probably matters to you release-page order
Next → · 40 of 577
Startup warns when telemetry is exported with no destination set
You'll notice Telemetry