{"name":"SELF_HOSTED_RUNNER_DRAIN_WAIT_MS","slug":"self-hosted-runner-drain-wait-ms","family":"env","title":"Environment variables","noun":"environment variable","description":"Self-hosted runner adds git URL-rewriting flags and an Anthropic-managed git auth option, plus a documented drain-wait timeout","description_source":"entry","described_by":{"version":"2.1.267","anchor":"self-hosted-runner-cli-gains-git-routing-and-drain-wait-flag"},"presence":{"first_seen":"2.1.224","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":74,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.267","anchor":"self-hosted-runner-cli-gains-git-routing-and-drain-wait-flag","heading":"Self-hosted runner CLI gains git-routing and drain-wait flags","line":"Self-hosted runner adds git URL-rewriting flags and an Anthropic-managed git auth option, plus a documented drain-wait timeout","released_at":"2026-09-09 18:25:42","reason":"found in this entry's text"}],"entries_total":1,"docs":[{"source":"claude-code","path":"self-hosted-environments-reference","title":"Self-hosted environments reference","documented":false}],"docs_total":1,"gates":[],"related":[{"name":"SELF_HOSTED_RUNNER_DRAIN_GRACE_MS","slug":"self-hosted-runner-drain-grace-ms","description":"`CLAUDE_RUNNER_TRUST_CANONICAL_PREWARM` now also needs a matching owner value, or the runner cleans up anyway"},{"name":"SELF_HOSTED_RUNNER_DRAIN_MARKER_FILE","slug":"self-hosted-runner-drain-marker-file","description":"The self-hosted runner can now snapshot an operator's Claude config and seed it into every session, with a drain-marker mechanism"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/self-hosted-runner-drain-wait-ms","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}