What
A 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.
Along with this:
- Failed requests are retried after a growing delay instead of right away.
- 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."
- The runner no longer shuts itself down for being idle while a long wait is in use.
Why
A 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.