{"version":"2.1.260","anchor":"session-runner-max-lifetime-handling-can-now-hand-off-to-a","canonical_anchor":"session-runner-max-lifetime-handling-can-now-hand-off-to-a","heading":"Session runner: max-lifetime handling can now hand off to a poll-loop 'release' instead of hard-terminating","tier":"internal","area":"Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260\/e\/session-runner-max-lifetime-handling-can-now-hand-off-to-a","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260","markdown":"### Session runner: max-lifetime handling can now hand off to a poll-loop 'release' instead of hard-terminating\n\nSessions hitting max lifetime can now be released via a poll-loop instead of always hard-terminated.\n\nWhen a session hits its max lifetime, the session runner now distinguishes three outcomes: releasing immediately if not mid-turn, waiting for the in-flight turn to \"park or finish\" and then releasing if a hook decided the release, or falling back to the old hard-terminate path. Hard termination now only happens if the in-flight turn's release isn't accepted within the grace window.\n\n- Area: Sessions\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 2\/5"}