{"name":"SELF_HOSTED_RUNNER_DRAIN_MARKER_FILE","slug":"self-hosted-runner-drain-marker-file","family":"env","title":"Environment variables","noun":"environment variable","description":"The self-hosted runner can now snapshot an operator's Claude config and seed it into every session, with a drain-marker mechanism","description_source":"entry","described_by":{"version":"2.1.271","anchor":"self-hosted-runner-gains-host-config-snapshotting-for-sessio"},"presence":{"first_seen":"2.1.271","removed_in":null,"in_current_build":true,"newest_mined":"2.1.322","builds":47,"mined_builds":161,"first_cited":{"version":"2.1.271","released_at":"2026-09-14 19:45:19","spans":2}},"aliases":[],"entries":[{"version":"2.1.271","anchor":"self-hosted-runner-gains-host-config-snapshotting-for-sessio","heading":"Self-hosted runner gains host-config snapshotting for sessions","line":"The self-hosted runner can now snapshot an operator's Claude config and seed it into every session, with a drain-marker mechanism","released_at":"2026-09-14 19:45:19","reason":"found in this entry's text"},{"version":"2.1.271","anchor":"watchdog-log-now-reports-a-drain-marker-file-setting","heading":"Watchdog log now reports a drain-marker-file setting","line":"Self-hosted runner watchdog startup log now shows the drain-marker-file setting","released_at":"2026-09-14 19:45:19","reason":"found in this entry's text"}],"entries_total":2,"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_WAIT_MS","slug":"self-hosted-runner-drain-wait-ms","description":"Self-hosted runner adds git URL-rewriting flags and an Anthropic-managed git auth option, plus a documented drain-wait timeout"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/self-hosted-runner-drain-marker-file","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}