Commit fe1c974
fix(ci): stop the new OCaml gate crying wolf on "Failed: 0"
The gate's first run went red on a test suite that reported ZERO failures.
The FAIL-marker check was case-insensitive and unanchored on the right, so
`^[[:space:]]*FAIL` matched the compositional suite's "Failed: 0" summary
line. A gate that cries wolf is worse than no gate — it trains maintainers
to ignore it.
Now requires a FAIL *marker*: "FAIL" followed by ':' or whitespace, matched
case-sensitively. Verified in both directions against the real test output:
no false positive on a passing run, still catches an injected
" FAIL Braid equality true", and "Failed: 0" is correctly ignored.
The tally check also now covers the "Failed: N" shape it previously missed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent b49a3b7 commit fe1c974
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
79 | 84 | | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | | - | |
| 88 | + | |
| 89 | + | |
83 | 90 | | |
84 | | - | |
| 91 | + | |
85 | 92 | | |
86 | 93 | | |
87 | 94 | | |
| |||
0 commit comments