Conversation
Add an `e2e` CI job that builds the app, serves it with `next start`, and runs the Playwright suite. It runs against a production bundle rather than `next dev` because past regressions (e.g. searchParams 500s) only reproduced in prod rendering. Timing-sensitive specs are tagged `@perf` (Web Vitals thresholds and the cold-start journey, which needs a deployed URL) and excluded from the gate via `--grep-invert @perf`. Add CI-only Playwright retries so the one-time ~190MB corpus warmup on a cold server doesn't flake the correctness gate. Also fix a stale pills assertion: the pill now renders "Top N%". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bytmqtq2bNyot4PRvo8es7
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 40 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: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Follow-up to #261: wire the Playwright e2e suite into CI so integration/prod-only regressions get caught. The vitest suite only exercises
lib/functions, so recent prod-only bugs — soft-404s (#257, #259), the searchParams 500 (#260), the edge-shard gzip 404 (#256) — slipped past it.e2eCI job:npm ci→ install chromium →npm run build→next start→ run Playwright. Runs against a production bundle, notnext dev, since some regressions only reproduce in prod rendering.@perf(Web Vitals thresholds; the cold-start journey, which needs a deployedBASE_URL) and excluded from the gate via--grep-invert @perf.retries: process.env.CI ? 2 : 0) so the one-time ~190MB corpus warmup on a cold server doesn't flake the gate; genuine failures still fail every attempt. Local runs stay strict.result-share-and-pills.spec.ts: pills now render"Top N%".Verified locally by building, serving with
next start, and running the gated suite (CI=1 --grep-invert @perf) across repeated cold starts — green, with cold-start losers surfacing as flaky-passed rather than failures.🤖 Generated with Claude Code
https://claude.ai/code/session_01Bytmqtq2bNyot4PRvo8es7