Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.275 ·

New self-hosted-runner drain grace: SELF_HOSTED_RUNNER_POST_TURN_SETTLE_MS

Self-hosted runners now wait briefly after a turn finishes before shutting down, so results aren't lost

TierUse it nowhow much it should matter to you
Useful3my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaSelf-Hosted Runnerwhat it touches
KindNew Featuresin v2.1.275,
Use it now Notable

Self-hosted runners now wait briefly after a turn finishes before shutting down, so results aren't lost

What

When a self-hosted runner is told to drain (stop accepting new work and shut down), it now treats a turn that just finished as still "in flight" for a short grace period, until the session process confirms to the server that the turn has actually ended. This period is controlled by a new environment variable, SELF_HOSTED_RUNNER_POST_TURN_SETTLE_MS, which defaults to about 2 seconds. The runner's startup log now reports this setting as post-turn-settle.

Why

Without this grace period, a runner shutting down (via SIGTERM, the signal used to stop a process) right after a turn appears complete could lose that turn's result before it was fully reported. This change closes that small window so results aren't silently dropped during a drain.

See this entry in the whole of v2.1.275 →