{"name":"SELF_HOSTED_RUNNER_POST_SESSION_HOOK_TIMEOUT_MS","slug":"self-hosted-runner-post-session-hook-timeout-ms","family":"env","title":"Environment variables","noun":"environment variable","description":"Timeout in milliseconds for the post-session lifecycle hook of `claude self-hosted-runner`, run at every session end. Default `60000`; an unset, non-numeric or non-positive value uses the default. It is also added into the session kill grace and the runner's shutdown budget; `--post-session-hook-timeout-sec` sets it.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"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":[],"entries_total":0,"docs":[{"source":"claude-code","path":"self-hosted-environments-reference","title":"Self-hosted environments reference","documented":false}],"docs_total":1,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/self-hosted-runner-post-session-hook-timeout-ms","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}