Skip to content

fix(heal-sweep): read the case verdict from its real path - #136

Merged
majinghe merged 1 commit into
mainfrom
fix/heal-sweep-verdict-path
Nov 4, 2026
Merged

majinghe merged 1 commit into
mainfrom
fix/heal-sweep-verdict-path

Conversation

@majinghe

@majinghe majinghe commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

The smoke run (41748362310) proved the pipeline works (tools build → download → verify → execute) but exposed two mapping bugs that mislabeled every case:

  1. Wrong result-JSON path — read run/cases/<id>.json, but run_validation_case.sh passes --validation-artifacts-dir run/<id> so the verdict is at run/<id>/cases/<id>.json. Every verdict came back empty.
  2. rc=0 without verdict → FAIL — heal.admin-healthy-noop exited 0 with a PASS report yet was recorded FAIL.

Mapping now: terminal verdict authoritative (PASS/BLOCKED); no verdict → trust rc (0 = PASS, 124 = TIMEOUT, else FAIL).

Also: per-case cap 900 s → 1800 s (admin-overlap-and-force-start runs eight deployment branches and legitimately exceeded 900 s), loop budget 480 → 540 min.

Smoke evidence: 3 of 5 cases exited 0 (likely PASS once mapped correctly); admin-scope-isolation exited 1 (needs re-examination with the fixed path); 1 genuine 900 s timeout.

The smoke run (41748362310) exposed two mapping bugs: the result JSON
was read from run/cases/<id>.json but run_validation_case.sh writes it
to run/<id>/cases/<id>.json, so every verdict came back empty; and
rc=0 with no verdict was then recorded as FAIL even though the runner
succeeded (healthy-noop's own report shows PASS). The terminal verdict
is now authoritative when present, otherwise rc=0 -> PASS.

Also raise the per-case cap to 1800s (admin-overlap-and-force-start
runs eight deployment branches and legitimately exceeded 900s) and
the loop budget to 540 min.
@majinghe
majinghe merged commit bf26bd7 into main Nov 4, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant