fix(ci): isolate visual diff captures#2710
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 25 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
Comment |
Merging this PR will not alter performance
Comparing Footnotes
|
28c1a49 to
eaf8b35
Compare
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_be0d7890-379b-4714-8aed-0337c18291a8) |
There was a problem hiding this comment.
All reported issues were addressed across 4 files
Confidence score: 5/5
- Safe to merge after the addressed issues were fixed.
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
eaf8b35 to
7247e2a
Compare
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_a4d1c59a-00bd-41b2-af00-0ca8ef9c374a) |
There was a problem hiding this comment.
Risk: medium. Cursor Bugbot skipped (usage limit), so automated review is incomplete. The visual-diff subprocess refactor and supabase type changes exceed the low-risk approval threshold. WcaleNieWolny is already assigned for human review.
Sent by Cursor Approval Agent: Pull Request Approver External
|





Summary
Validation
Bundled 1 module in 6ms
visual-diff.js 28.38 KB (entry point)
Checking formatting...
All matched files use Prettier code style!
(expected route-validation failure)
Note
Low Risk
Changes are limited to CI visual-diff scripting, workflow timeouts, and generated DB types; no production app or auth logic is modified.
Overview
Refactors the visual diff pipeline so each route screenshot runs in its own child process with a 2-minute watchdog, instead of reusing one browser across all routes in a phase.
The
capture-routeCLI command captures a single route; the parent still starts the shared backend/frontend stack once per phase, then spawns isolated captures.VISUAL_DIFF_CONFIG_PATHlets children load a bundled config snapshot. Onrun, the head route manifest and runner are bundled to.mjsfiles before git checkouts so base/after captures still use the PR’s route list and capture logic.The visual diff workflow step gets a 15-minute timeout on the capture pipeline only (artifact upload and PR comment steps stay outside that bound).
Also syncs generated Supabase types with
created_by_apikey_rbac_idonapp_versions(unrelated to the CI script behavior).Reviewed by Cursor Bugbot for commit 7247e2a. Bugbot is set up for automated code reviews on this repo. Configure here.