Skip to content

self-heal: re-verify BOTH halves before declaring the fix resolved - #2

Open
MattJackson wants to merge 1 commit into
mainfrom
fix/false-green-sweep
Open

self-heal: re-verify BOTH halves before declaring the fix resolved#2
MattJackson wants to merge 1 commit into
mainfrom
fix/false-green-sweep

Conversation

@MattJackson

Copy link
Copy Markdown
Contributor

No check goes red as a result of this change — this one narrows a green that was being issued too easily. Part of a fleet-wide sweep for checks that report GREEN without having checked anything (21 found, 17 proven).

Why this is the most consequential green in the repo: it publishes

The auto-fix retry re-ran only the valid-config half. A "fix" that repaired the valid case while breaking the invalid case still set resolved=true, committed the mangled fixture, and force-moved the v1 tag that every consumer of this action rides — silently, on a schedule, with no human in the loop.

Most false greens let a bad thing through. This one actively ships it to every consumer.

The retry now runs both halves and reports resolved only when both pass. Proven: constructed a fix passing the valid half and failing the invalid half, watched the old workflow declare success and move the tag; the fixed workflow refuses.

Housekeeping

The _scratch/ fixtures deleted during testing have been restored. They are tracked deliberately (6848b2b) and the workflow needs them — deleting them was test collateral, not part of the fix.

The auto-fix retry re-ran only the valid-config half. A fix that repaired the
valid case while breaking the invalid case still set resolved=true, committed
the mangled fixture, and FORCE-MOVED the v1 tag that every consumer of this
action rides — silently, on a schedule, with no human in the loop. That is the
most consequential green in this repo: it publishes.

The retry now runs both halves and only reports resolved when both pass.

The _scratch/ fixtures deleted while testing this have been restored; they are
tracked on purpose (6848b2b) and the workflow needs them.
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