{"version":"2.1.336","anchor":"runner-prep-heartbeat-errors-fail-early-agent-proxy-falls","canonical_anchor":"runner-prep-heartbeat-errors-fail-early-agent-proxy-falls","heading":"Self-hosted runner stops early on a saved session error and picks a new port if needed","tier":"notice","area":"Self-Hosted Runner","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/runner-prep-heartbeat-errors-fail-early-agent-proxy-falls","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Self-hosted runner stops early on a saved session error and picks a new port if needed\n\nThe self-hosted runner now fails early on a stored session error, and its agent proxy uses any free port if its reserved one is lost\n\n**What**\n\nTwo changes affect Claude Code running as a self-hosted runner:\n\n- Session errors: if a session error has been stored, the runner now stops right after an early startup check, and logs that the check passed only when there is no such error.\n\n- Agent proxy port: if the port it had reserved is lost, the agent proxy now lets the system pick any free port and logs `[agent-proxy] held port lost`. Before, it failed with an error.\n\n**Why**\n\nRunner startup now copes better: it stops early on a known error instead of carrying on, and a lost port no longer stops the proxy from starting.\n\n- Area: Self-Hosted Runner\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: org\n- Heads-up: no"}