{"version":"2.1.329","anchor":"self-hosted-runner-long-polls-for-work","canonical_anchor":"self-hosted-runner-long-polls-for-work","heading":"Self-hosted runners can wait for work instead of checking repeatedly","tier":"notice","area":"Self-Hosted Runner","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/self-hosted-runner-long-polls-for-work","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Self-hosted runners can wait for work instead of checking repeatedly\n\nSelf-hosted runners can now keep a request for work open until work arrives, with backoff after failures and a stop after repeated ones\n\n**What**\n\nA self-hosted runner is a machine you manage that picks up Claude Code sessions to run. When it asks for work, it can now ask the server to keep the request open for a set number of seconds until work arrives. Before, it sent a plain request with a fixed timeout. The length of the wait is supplied by the server.\n\nAlong with this:\n\n- Failed requests are retried after a growing delay instead of right away.\n\n- After repeated failures, the runner stops making long-waiting requests until it is restarted, and says \"Requests for work that were to stay open until work came keep failing, so this runner makes no more of them until it restarts.\"\n\n- The runner no longer shuts itself down for being idle while a long wait is in use.\n\n**Why**\n\nA runner that is already waiting gets work as soon as it is queued, so sessions can start sooner. It also changes how the runner behaves when requests keep failing, which is worth knowing if you watch its logs.\n\n- Area: Self-Hosted Runner\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: org\n- Heads-up: no"}