refactor(app): extract shared auth config and AppShellProviders - #165
Merged
Conversation
Phase 1: bump next and @next/eslint-plugin-next to 16.3.0 (local lint, test, build pass — Vercel API routing must be verified on preview). Prep for public App cutover: - Move authOptions to src/server/auth/authOptions.ts - Add AppShellProviders shared by Pages _app and AppRootLayoutClient
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
mkayander
marked this pull request as ready for review
August 9, 2026 20:45
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
🎉 This PR is included in version 1.381.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prep for Instant Nav public cutover — without the 16.3.0 bump (Vercel API regression confirmed again on preview).
Changes
src/server/auth/authOptions.ts— shared NextAuth configAppShellProviders— shared provider stack for_app+AppRootLayoutClient16.3.0 — not merged
Preview smoke on 2026-08-09:
x-matched-path/api/auth/session/en/404❌/api/trpc/project.allBrief/en/404❌/,/de,/playground/internal-marketing/*Same regression as #160. Staying on
next@16.2.12.Verification
pnpm lint/pnpm test:ci(437) /pnpm buildon 16.2.12 ✅