{"version":"2.1.321","anchor":"self-hosted-runner-doc-exit-codes","canonical_anchor":"self-hosted-runner-doc-exit-codes","heading":"Self-hosted runner help explains its exit codes","tier":"notice","area":"Elsewhere","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/self-hosted-runner-doc-exit-codes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Self-hosted runner help explains its exit codes\n\nRunner help now says the process exits 0 when the runner is not needed and 1 for anything else\n\n**What**\n\nA self-hosted runner is a machine you run yourself to carry out Claude Code sessions. Its troubleshooting text now says the process exits with code 0 when the runner is not needed, which covers:\n\n- superseded\n\n- session paused or no longer active\n\n- `queue_entry_gone`\n\n- `pool_moved`\n\n- `standby_gone`\n\nIt exits with code 1 in every other case.\n\n**Why**\n\nTools that manage your runners can use the exit code to decide whether to start the runner again.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: org\n- Heads-up: no"}