Claude Code self-hosted runner orchestrator changes its ok and nack log lines
In Claude Code 2.1.318, the self-hosted runner orchestrator prints ok session lines at every log level on stdout and moves reason= in nack lines after retryable=, so scripts matching retryable=true: or retryable=false: need updating.
What does this mean for me?
Action needed
Engineering leadership
Cost, risk, timeline, team impact Worth knowingOnly matters if your team runs Claude Code self-hosted runners and parses their logs; alerts built on those logs can break silently after the 2.1.318 upgrade.
Engineer
What to change, what breaks, what to test Action neededBefore upgrading self-hosted runners to 2.1.318, update log parsers that match retryable=true: or retryable=false: on nack lines, and read ok session= lines from stdout at any log level instead of stderr at debug.
General consumer
Using the Claude apps, not the API No impactNothing changes in the Claude apps; this only affects teams running Claude Code self-hosted runners.
Claude Code 2.1.318 changes the self-hosted runner orchestrator’s log output in two ways that can break log parsing:
ok session=…lines now print at every log level on stdout, withreason=…afterjti=…. Before, they printed only at debug level, on stderr.nack session=…lines now end their fields withreason=…afterretryable=….
The changelog says to update scripts that match retryable=true: or retryable=false:. A script that reads ok lines from stderr, or only enables them at debug level, will also see them in a different place.
The same release adds CLAUDE_RUNNER_SPAWN_REASON (for example runner_lost or resumed) to the orchestrator’s spawn-runner hook environment, and a startup warning when --release-idle-session-min has no value or only spaces.
The changelog carries no release dates; the date is the day 2.1.318 was first seen by this run (November 4, 2026).
Topics: Coding tools