fix(ci): fix visual-diff workflow YAML and knip entry#2579
Conversation
Correct pull_request trigger types list syntax and register visual-diff.config.ts as a knip entry so dynamic imports pass deadcode. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Warning Review limit reached
More reviews will be available in 3 minutes and 8 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?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 credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses rolling per-developer review limits. Reviews become available again as older review attempts age out of the rolling limit window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
Comment |
Merging this PR will not alter performance
Comparing Footnotes
|
There was a problem hiding this comment.
Risk: low. Cursor Bugbot passed with no issues, but the expected Bugbot review comment is missing on this PR, so I am not auto-approving. @WcaleNieWolny is already requested for human review of this CI/knip fix.
Sent by Cursor Approval Agent: Pull Request Approver
|





Summary (AI generated)
.github/workflows/visual-diff.yml(pull_request.typesentries were missing-prefixes)playwright/visual-diff.config.tsas a knip entry so dynamic imports are not flagged as unused exportsMotivation (AI generated)
PR #2576 merged with a failing Check dead code job. Knip could not parse the workflow file and reported false unused exports after the visual-diff script switched to dynamic config loading.
Business Impact (AI generated)
Restores green CI on main and allows the visual-diff workflow to run correctly on future PRs labeled
visual-change.Test Plan (AI generated)
bun run lint:deadcodepasses locallyfeat/visual-diff-pr-toolate8861b52bpassed Check dead codeGenerated with AI
Made with Cursor