Judge a worker that stalls before its result with a headless claude, and report the verdict without a kill
CI / tests (pull_request) Failing after 4m3s
CI / tests (pull_request) Failing after 4m3s
This commit is contained in:
@@ -88,6 +88,14 @@ minutes, runs chunk-pr or run-heavy, or holds a heavy slot. It prints each stop
|
||||
the UTC time, to lingering-workers.md at the project's folder in that archive
|
||||
(bin/agent_cycle/lingering_workers.py).
|
||||
|
||||
A worker can also stall before its result, on a command that hangs. Every 5 minutes without output
|
||||
from its claude, where a shell has used no CPU since the last check and written nothing for 3
|
||||
minutes, or has run over 4 hours, and runs no chunk-pr or run-heavy, a headless claude on the
|
||||
project's rung reads the shells' commands, processes and output. It judges the worker working,
|
||||
waiting on a person or stuck, and names the process that holds it. loop-claude prints the verdict
|
||||
with its evidence and appends it to stuck-workers.md beside lingering-workers.md. It kills nothing
|
||||
yet (bin/agent_cycle/stuck_workers.py).
|
||||
|
||||
Before each worker starts, loop-claude waits until at least a quarter of the machine's memory is
|
||||
available (bin/machine_load/memory.py).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user