Repository navigation
#2301: 0.1.1 polish M: WizLoops runs the comment-check workflow in its red-first proof - #33
Conversation
… comment-check step on its fixtures
|
First successful push: c873721 at 2026-11-22T11:00:27Z |
|
launch-fleet: review started c873721 |
|
VERDICT: APPROVE at c873721 Full review by Codex, Sol 6.2, Medium. CI green on this commit: checks. Intent: Exercise the pull-request workflow's actual comment-check command on the fixtures and keep the direct wrapper cases.
Checked: Standards, including owned paths and the base comment checker. Spec: openwizdev/OpenWiz#2301, openwizdev/OpenWiz#2286 and the written brief in openwizdev/OpenWiz#1957, which has no separate triage comment. Full diff sweep. The test-only change needs no changelog entry. Ran: all six focused cases and the comment checker locally. With the workflow step deleted in a synthetic copy, the base test passed and the head test failed. Replacing the checker command with a no-op also failed the head test. The pinned GitHub Actions run passed the full Next: none open. It merges by the project's merge rules. |
Closes openwizdev/OpenWiz#2301
Closes openwizdev/OpenWiz#1957
Summary
ci/test-comment-check.shnow reads thecomment-checkstep of.github/workflows/checks.yml(itsif:and itsrun:block) and runs that block, as the pull request workflow would, in each synthetic merge-commit repository: the disallowed comment, the reason-tagged comment and the format fixture. A deleted step, a step that no longer runs on pull requests, or a changed command now fails the test. The three direct wrapper cases stay unchanged.Evidence
Before (the test at
main, with thecomment-checkstep deleted from the workflow in a scratch copy): green, so an unchecked disallowed change passed.After, the same mutation and three more, each in a scratch copy:
And at this head, unmutated:
Merge danger
Door: two-way. Blast radius: tests.
Rulings
run:block verbatim withbash -e(GitHub's defaultrunshell on Ubuntu), withoriginpointed at the fixture repository andGITHUB_SHAset to its merge commit, so the step'sgit fetchline runs too. Why: running the real block, not a copy of its command, is what makes a changed step fail. Cost if wrong: low: a reformatted step fails the test loudly and the extractor is adjusted.if:must be exactlygithub.event_name == 'pull_request'. Why: a step that no longer runs on pull requests is the same hole as a deleted one. Cost if wrong: low: a deliberate condition change updates one test line.sh ci/comment-check.shresolves without adding them to the diff it checks. Why: the diff then holds only the fixture line. Cost if wrong: low.Facts
room/2301-comment-check-workflowci/test-comment-check.sh(owned). No supporting edits.ci/test-comment-check.sh, each running the workflow's comment-check step:the pull request workflow passes a disallowed comment: catches: the step deleted, skipped on pull requests, or changed so it no longer fails a disallowed comment.the pull request workflow fails a reasoned escape tag: catches: the step changed so acomment-ok:line fails CI.the pull request workflow fails a format fixture comment: catches: the step changed so it no longer excludesformat/fixtures/.mainpasses and this test fails.sh ci/test-comment-check.shgreen;sh ci/comment-check.sh HEAD^1ok. The rest ofsh ci/check.shneedsopenwizat the pinned commit and runs in CI.changes/line.checksgreen (run 45015204265).Built with Cloudroom