Repository navigation
Upgrade Next.js and add page smoke tests - #21
Conversation
|
Warning Review limit reached
Next review available in: 29 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: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
✨ 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 |
There was a problem hiding this comment.
Code Review
This pull request introduces Playwright end-to-end smoke tests to verify page rendering, removes the PostHog middleware, and updates several project dependencies (including Next.js and React). Feedback on the new test suite highlights opportunities to improve path resolution robustness by replacing process.cwd() with __dirname, making the agent slug regular expression less fragile to quote style changes, and enabling reuseExistingServer locally to optimize the developer experience.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Preview deployed!
This is a Cloudflare Workers preview version of this PR's build. |
There was a problem hiding this comment.
All reported issues were addressed
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
* feat(web): account verification is live on the registration page and checklist relay-agent #21 shipped Agent Relay workspace verification. /agents/register now shows both badges (verified domain; verified Agent Relay workspace with the workspace name) and "No domain? Verify through your Agent Relay Cloud workspace"; the checklist offers domain OR workspace verification. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Session-Id: 8fa30995-3394-4357-aadf-23aee1464578 * fix(web): block-level badge chips; workspace timing separate from DNS - Example badges use a scoped block chip that wins over the list colour and never overlaps the surrounding text. - Checklist: workspace approval is also within 24 hours, and its timing no longer implies a DNS wait. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Session-Id: 8fa30995-3394-4357-aadf-23aee1464578 * fix(web): checklist timeline wording Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Session-Id: 8fa30995-3394-4357-aadf-23aee1464578 * fix(web): checklist descriptions mention domain or workspace verification Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Session-Id: 8fa30995-3394-4357-aadf-23aee1464578
Summary
Why
Next.js 16 deprecates
middleware.tsin favor of Node.jsproxy.ts, while the current OpenNext Cloudflare adapter rejects Node.js Proxy. The existing PostHog client already sends analytics through its configured ingest host, so removing the unused middleware path resolves the warning without breaking the deploy target.The page suite provides upgrade protection by asserting successful HTTP responses, visible meaningful content, document titles, absence of application-error output, and clean browser hydration across the generated route inventory.
Validation
npm test— 82 tests passednpm run build— passed on Next.js 16.2.10npm --workspace web run cf:build— OpenNext Cloudflare bundle completednpm --workspace web run test:e2e— 271 Chromium page checks passedSummary by cubic
Upgraded
nextto 16.2.10 andreact/react-domto 19.2.7, added a Playwright page smoke suite, and removed the deprecated PostHogmiddleware.tsto resolve Next 16 warnings and Cloudflare incompatibility.New Features
npm --workspace web run test:e2e.next-env.d.tsto the new Next 16 route types path to remove the dev-only reference.Dependencies
nextto 16.2.10.reactandreact-domto 19.2.7.@opennextjs/cloudflareto 1.20.1 and added@playwright/test(dev).Written for commit daff0a3. Summary will update on new commits.