Repository navigation
ci: draw a pull request's screens only once its tests pass - #792
Conversation
Draw screens takes about 24 macOS minutes and ran even when the push's tests failed, so a red push spent them on screens nobody reviews until the fix lands. Over the 26 hours to 2026-11-17 20:00, Test failed 7 times on pull requests. Draw screens now needs Test as well as Build release. They run side by side, so the screens start about a minute later at the median. The screens bot counts Test among the jobs the screens need, so Visual review says "Test ended with failure, so Draw screens didn't run" or stays pending when Test was cancelled, instead of failing because the job was skipped.
|
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 16 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. |
There was a problem hiding this comment.
All reported issues were addressed across 4 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
Draw screens now waits for Test, so on a pull request that changes nothing the screens draw, a failed or cancelled Test made the screens bot report "Test ended with failure, so Draw screens didn't run" although no screens were wanted. The bot now ignores a skipped screens job whose screens the pull request's files don't call for, whatever blocked it.
Before and after
225 unchanged screens
Visual review: 225 screens, none changed. |
|
@coderabbitai review |
Action not completed
|
|
🎉 This PR is included in version 0.18.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Problem
Draw screens takes about 24 macOS minutes, and it ran even when the same push's tests failed. A red push spent those minutes on screens nobody reviews until the fix lands, while every macOS job competes for the account's five runners. Over the 26 hours to 2026-11-17 20:00, Test failed 7 times on pull requests. No issue:
ci:needs none.Changes
Testing
node --test .github/scripts/*.test.mjs: 227 passed. The bot's fixtures now include Test, with new cases for a failed Test (failure, with the message above), a cancelled one (pending), and a docs-only pull request whose Test or Check revision failed ("No screens to compare."; this one fails without the fix).actionlintreports the same 3 warnings as onmain, none in this job.main, since screens.yml runs from there.Merging
Any merge method: one commit.
Claude Opus 5.5 via Claude Code