You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tools/verdict.w reports a finished battery log as OPEN: it waits for an rc line battery.w never writes there #2521
Seen 2026-10-20, four batteries in a row (stack #2516): after tools/battery.w finished and printed battery rc=0 … battery: GREEN, with run tools/verdict.w out/battery/battery.log answered
out/battery/battery.log: OPEN (still running; no rc line yet)
and the same for a red run (RED so far: battery-uat battery, still "OPEN"). The battery guard hook makes verdict.w the only sanctioned way to read a battery log, so a verdict that never closes sends the reader to status.txt and the task output instead. The rc line verdict.w waits for is not what battery.w writes to battery.log (it prints battery rc=N wall=… and GREEN/RED to its own stdout, and out/battery/status.txt / battery.done carry the verdict).
Expected: verdict.w reads battery.done / status.txt when they exist and reports the closed verdict (GREEN or RED: <targets>), reserving OPEN for a log whose done marker is absent.
Triage 2026-10-25, with v0.15.3.0 (main a261b65): reproduced.
$ cat out/battery/status.txt # a finished battery (fix-2575 worktree, 2026-10-23)
battery rc=0 wall=387s
GREEN
BATTERY_DONE
$ with run tools/verdict.w out/battery/battery.log
out/battery/battery.log: OPEN (still running; no rc line yet)
post-release: internal battery tooling; the status file already carries the verdict.
Activity
ehartford commentedon Oct 25, 2026
Triage 2026-10-25,
with v0.15.3.0(main a261b65): reproduced.post-release: internal battery tooling; the status file already carries the verdict.
#3016, #3032, #2946, #2976, #2949, #3051, #3005, #3001, #3017, #2521:…
ehartford commentedon Nov 7, 2026
Fixed in #3056 (merged as afbdbb1).