mirror of
https://github.com/hanzoai/git-runner.git
synced 2026-11-21 09:15:28 +00:00
A pod has no config file, so fetch_timeout (5 s), fetch_interval and fetch_interval_max were fixed at their defaults. Against a loaded forge that loses tasks: `task` answered after the timeout, the forge had already assigned the job, and the runner, told nothing, took the next poll as idle. Measured on the live forge, 101 of 162 running tasks had not been updated for five minutes or more, and the runners that held them logged "failed to fetch task ... timeout" and then shut down idle with no log line for the job. RUNNER_FETCH_TIMEOUT, RUNNER_FETCH_INTERVAL and RUNNER_FETCH_INTERVAL_MAX, each a Go duration, override the file and the defaults; one that is not a positive duration refuses the start. Claude-Session: https://claude.ai/code/session_015XYKLn69gF4x75RWePpDBV