fix(ci): stop Lighthouse budget failing on Chrome drift - #1714
Conversation
Pin the advisory budget job to Playwright Chromium, retry transient NO_NAVSTART once, and treat browser-identity drift as a warning while enforce is still false so runner Chrome bumps stop reddening every UI PR. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 34 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. 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: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
Comment |
Retrying failed routes lengthened CI without fixing browser drift. The durable fix is the pinned Playwright Chromium path alone. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
|
Superseded by #1716, which merged the same fix (pin Playwright's managed Chromium for the Closing this to avoid duplicate/conflicting work on the same job. Generated by Claude Code |
Summary
Lighthouse budgetjob was going red on most UI PRs because the committed baseline’s Chrome identity drifted from the ubuntu-24.04 runner image Chrome, andincompleteBudgetEvidencetreated any mismatch as hard incomplete evidence (always exit 1, even withenforce: false).setup-ui-e2e+CHROME_PATH(same browser path as Production UI). No per-route retry — retries only lengthen CI.enforceis false, residual Chrome identity drift warns and still grades; onceenforceflips true, drift stays fail-closed untilcheck:lighthouse-budget -- --update.Verification
npm run test -- tests/check-lighthouse-budget.test.ts— 41 passednpm run test:ci-workflows— 227 passed (on the pin commit)npm run check:github-actions— passednpm run check:ci-scope -- --self-test— passedRisk and rollout
enforceremains false. Does not alter production runtime or requiredpr-requiredgates.RAG impact: no retrieval behaviour change — CI/Lighthouse budget tooling only.