What
The self-hosted runner accepts a client label via the SELF_HOSTED_RUNNER_CLIENT_LABEL environment variable or the new --client-label flag. Without one it falls back to the machine hostname. The value is registered with the runner and appears as client_label on the claude_code_self_hosted_runner_info metric.
Details
- The env var is trimmed and ignored if empty.
- Registration passes the label alongside the account the runner is locked to.
- The Prometheus-style identity line now carries
runner_id,versionandclient_labeltogether, so several runners on one host are distinguishable. - No feature flag; available to anyone running the self-hosted runner.
Evidence
SELF_HOSTED_RUNNER_CLIENT_LABEL, --client-label
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundle--client-labelSELF_HOSTED_RUNNER_CLIENT_LABEL
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's release notes agree
Added claude self-hosted-runner --client-label <label> (or SELF_HOSTED_RUNNER_CLIENT_LABEL) to override the label the runner registers with…
The name it cites is new in this build
New in this build: SELF_HOSTED_RUNNER_CLIENT_LABEL