Odd platform labels from the runner are rejected or replaced with "unknown" instead of exported.
What's wrong with this entry?
A shared check, ^[A-Za-z0-9_.-]{1,64}$ plus rejection of "unknown", a leading "-", "." and "..", now guards what gets exported as CLAUDE_RUNNER_CLIENT_PLATFORM. A bad value from a spawn hint is escaped and logged instead of exported, and a bad label arriving with a polled assignment falls back to "unknown" with a debug line rate-limited to once per 256 sessions.
spawn-hint client_platform rejected by the env-export gate (CLAUDE_RUNNER_CLIENT_PLATFORM left unset)
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.248
--client-labelflag on the runner commandBoth mention runner client self hosted
-
v2.1.248
Name a self-hosted runner instead of using its hostname
Both mention runner client self hosted
-
v2.1.234
Self-hosted runners report when warm-up finished
Both mention runner self hosted