[CC] Streaming prerender#94044
Conversation
Failing test suitesCommit: 7e9b881 | About building and testing Next.js
Expand output● Cache Components Errors › Build With --prerender-debug › IO accessed in Client Components › should error the build if IO is accessed in a Client Component
Expand output● Cache Components Errors › Build With --prerender-debug › IO accessed in Client Components › should error the build if IO is accessed in a Client Component |
6eb8861 to
75cf43c
Compare
Stats from current PR🔴 1 regression
📊 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
📝 Changed Files (8 files)Files with changes:
View diffsapp-page-exp..ntime.dev.jsfailed to diffapp-page-exp..time.prod.jsDiff too large to display app-page-tur..ntime.dev.jsfailed to diffapp-page-tur..time.prod.jsDiff too large to display app-page-tur..ntime.dev.jsfailed to diffapp-page-tur..time.prod.jsDiff too large to display app-page.runtime.dev.jsfailed to diffapp-page.runtime.prod.jsDiff too large to display 📎 Tarball URLCommit: 75cf43c |
75cf43c to
7e9b881
Compare
Squashed server-only diff from: - #94044 Streaming prerender - #93801 Rewinding app shells This commit is a placeholder on the stack so we can develop and test the client-side rewinding integration that lands in the commit above. It gets regenerated from Janka's latest each time we re-sync; do not edit by hand. For now this uses only the fallback-stage branch as source because its app-render.tsx version supersedes streaming-prerender's (the smaller streaming-prerender files are byte-identical to fallback-stage's). Replaces the forceOmitParams hanging-promise mechanism from canary with the abort-before-params approach Janka builds on.
Replaces
prerenderwith an appropriately tweakedrenderToReadableStreamso we can get the results streamingly (and see what was emitted in each stage of the prerender). This will be used in #93801 (when i stack it properly)