Runner hooks now get CLAUDE_RUNNER_SESSION_UUID and CLAUDE_CODE_REMOTE_SESSION_UUID so your scripts can key on the session.
What's wrong with this entry?
Checkout hooks, post-session hooks and the remote runner environment now export CLAUDE_RUNNER_SESSION_UUID and CLAUDE_CODE_REMOTE_SESSION_UUID, so your scripts can key on the session. Neither existed in 2.1.223.
- The value is derived from the session id by decoding its trailing segment into a canonical UUID; if that does not decode, the variables are left unset.
- Only set on the self-hosted runner and remote session launch paths.
CLAUDE_RUNNER_SESSION_UUID
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Self-hosted runners report when warm-up finished
Both mention runner self hosted
-
v2.1.236
Self-hosted runner releases a session only after its work finishes
Both mention runner self hosted
-
v2.1.236
Runner waits for sessions to be released before shutting down
Both mention runner self hosted