Keep a worker's shells that run a busy tool, name the shell's real command and fix the review's prose findings

This commit is contained in:
2026-11-18 17:20:13 +01:00
parent 72ffb9f748
commit abae3a0559
8 changed files with 96 additions and 50 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ def run_worker(root: str, args: list[str], env: dict[str, str], project_archive:
except OSError as failure:
return Failure(f"could not start claude: {failure.strerror}")
result: dict | None = None
# When the last line the worker printed, if it is a result: a worker that prints on is working.
# When the worker printed its latest result; None while its latest line is something else, since a worker that prints on is working.
settled_at: float | None = None
resets: list[int] = []
for raw in proc.lines(CHECK_EVERY):