Repository navigation
ci(scripts-test): wire test_auto_format_workflow.py into scripts-test (#7664) - #8640
Conversation
…#7664) The suite exercises the real auto-format.yml run block against a synthetic git history and pins the #4752/#5014 fixes, but nothing ran it. Add the named step alongside the sibling contract suites; scripts-test already triggers on pull_request and push to main. Verified on the laptop: 6/6 green, and recording a wrong SHA in record_success makes 4 tests fail (mutation reverted).
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 29 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
agent-note:v1 |
Fixes #7664.
Change
One named step in
.github/workflows/scripts-test.yml, mirroring the sibling contract suites in the same job:scripts-test.yml already triggers on
pull_requestandpushto main, so the suite (which exercises the real run block of auto-format.yml against a synthetic git history and pins the #4752 record-success and #5014 stage-everything fixes) now runs in CI on both. The file has 6 tests on main since PR #6200 merged.Verification (laptop, this branch)
python3 -m unittest discover -s scripts/tests -p 'test_auto_format_workflow.py'— 6 tests, OK.sha="deliberately-wrong-sha") makes the suite FAIL (4 failures), proving the wired step actually guards the success-recording path; the mutation was reverted and the suite is green again. Only scripts-test.yml changes in this PR.🤖 queue worker lane any-b, task 13618
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.