Add server routing audit and contract tests#94097
Conversation
Stats from current PR✅ No significant changes detected📊 All Metrics📖 Metrics GlossaryDev Server Metrics:
Build Metrics:
Change Thresholds:
⚡ Dev Server
📦 Dev Server (Webpack) (Legacy)📦 Dev Server (Webpack)
⚡ Production Builds
📦 Production Builds (Webpack) (Legacy)📦 Production Builds (Webpack)
📦 Bundle SizesBundle Sizes⚡ TurbopackClient Main Bundles
Server Middleware
Build DetailsBuild Manifests
📦 WebpackClient Main Bundles
Polyfills
Pages
Server Edge SSR
Middleware
Build DetailsBuild Manifests
Build Cache
🔄 Shared (bundler-independent)Runtimes
📎 Tarball URLCommit: 7891e07 |
Failing test suitesCommit: 7891e07 | About building and testing Next.js
Expand output● instant-navigation-testing-api › reload followed by MPA navigation, both block dynamic data ● instant-navigation-testing-api › successive MPA navigations within instant scope ● instant-navigation-testing-api › runtime params are excluded from instant shell › does not include cookie values in instant shell during client navigation ● instant-navigation-testing-api › runtime params are excluded from instant shell › does not include dynamic param values in instant shell during client navigation ● instant-navigation-testing-api › runtime params are excluded from instant shell › does not include search param values in instant shell during client navigation ● instant-navigation-testing-api › runtime params are excluded from instant shell › does not include cookie values in instant shell during page load ● instant-navigation-testing-api › runtime params are excluded from instant shell › does not include dynamic param values in instant shell during page load ● instant-navigation-testing-api › runtime params are excluded from instant shell › does not include search param values in instant shell during page load ● instant-navigation-testing-api › statically generated params are included in instant shell › includes statically generated param values in instant shell during client navigation ● instant-navigation-testing-api › statically generated params are included in instant shell › includes statically generated param values in instant shell during page load ● instant-navigation-testing-api › does not bake dynamic route params into the instant shell when no generateStaticParams is defined ● instant-navigation-testing-api › does include dynamic route params in the instant shell when runtime prefetching is enabled ● instant-navigation-testing-api › does not leak runtime data from hover prefetch into instant shell ● instant-navigation-testing-api › subsequent navigations after instant scope are not locked ... truncated ... Other failing CI jobs |
What?
Adds an internal server routing audit and a live resolver contract test suite.
Why?
This establishes a compatibility-first baseline before exploring whether
@next/routingcan become the shared route-resolution layer for the Next.js server.How?
next dev,next start, custom server, standalone/minimal-mode, upgrade, and adapter-related server paths.getResolveRoutes()routing branches.