{"version":"2.1.327","anchor":"session-post-hook-budget-and-nested-model-access-teardown","canonical_anchor":"session-post-hook-budget-and-nested-model-access-teardown","heading":"Post-session hooks on self-hosted runners can have less time to run","tier":"notice","area":"Self-Hosted Runners","scope":"org","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/session-post-hook-budget-and-nested-model-access-teardown","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Post-session hooks on self-hosted runners can have less time to run\n\nOn self-hosted runners, a new step runs before the post-session hook and can use up to half of the hook's time limit\n\n**What**\n\nA runner is the program that runs Claude Code sessions on infrastructure you host yourself. A post-session hook is a command it runs after a session ends. The runner now runs an extra step before that hook. The step is limited to half of the hook's timeout, and whatever time it uses comes out of the hook's own time.\n\nThe runner also shuts down a resource called nested model access when a session ends. If that shutdown gets stuck, it logs a message suggesting you check the session directory mount.\n\n**Why**\n\nIf you run self-hosted sessions with a post-session hook, the hook may now get as little as half of its configured timeout.\n\n- Area: Self-Hosted Runners\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: org\n- Heads-up: yes"}