(2/19) Emit export dynamic fallback RSC artifacts#93558
Draft
feedthejim wants to merge 1 commit intofeedthejim/export-dynamic-fallback-build-htmlfrom
Draft
(2/19) Emit export dynamic fallback RSC artifacts#93558feedthejim wants to merge 1 commit intofeedthejim/export-dynamic-fallback-build-htmlfrom
feedthejim wants to merge 1 commit intofeedthejim/export-dynamic-fallback-build-htmlfrom
Conversation
Contributor
Tests PassedCommit: 024a7c9 |
Contributor
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 (5 files)Files with changes:
View diffspages-api-tu..time.prod.jsDiff too large to display pages-api.ru..time.prod.jsDiff too large to display pages-turbo...time.prod.jsDiff too large to display pages.runtime.prod.jsDiff too large to display server.runtime.prod.jsDiff too large to display 📎 Tarball URLCommit: acf4f39 |
9f2a12b to
6e8f140
Compare
6b44496 to
4386692
Compare
This was referenced May 7, 2026
6e8f140 to
acf4f39
Compare
54401b5 to
29ba2d2
Compare
acf4f39 to
09ad584
Compare
09ad584 to
024a7c9
Compare
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.
Stack position
Part 2 of 19 in the output export dynamic fallback stack.
Previous PR: #93557 (1/19)
Next PR: #93560 (3/19)
Context
The stack is split so build-time output can land behind
experimental.outputExportDynamicFallbacksbefore the client router behavior is enabled. The target behavior is foroutput: 'export'apps with parameterized App Router routes to emit fallback HTML/RSC artifacts that a later client can resolve for hard loads and soft navigations.This PR scope: Build-time fallback RSC artifacts for route segments.
Once fallback HTML can exist, the client also needs static RSC payloads to resolve parameterized routes. This PR is still build-only: it writes the fallback data that a later client can fetch.
What changed
Deliberately not included
Verification
After restacking and autosquashing, I verified the full stack with:
pnpm --filter=next buildpnpm testonly packages/next/src/lib/output-export-dynamic-fallback.test.ts packages/next/src/lib/output-export-fallback-routes.test.ts packages/next/src/export/helpers/output-export-fallback.test.ts packages/next/src/server/request/fallback-params.test.tspnpm testonly packages/next/src/client/output-export-fallback.test.ts packages/next/src/client/components/router-reducer/fetch-server-response.test.ts packages/next/src/client/components/router-reducer/create-initial-router-state.test.ts packages/next/src/client/components/segment-cache/cache.test.ts packages/next/src/client/components/segment-cache/vary-path.test.tspnpm testonly packages/next/src/client/components/router-reducer/compute-changed-path.test.ts packages/next/src/client/flight-data-helpers.test.ts packages/next/src/server/app-render/postponed-state.test.tspnpm test-start-turbo test/e2e/app-dir-export/test/dynamic-fallback-cache-components.test.ts test/e2e/app-dir-export/test/dynamic-fallback-route-shapes-cache-components.test.ts test/e2e/app-dir-export/test/dynamic-fallback-cache-components-basepath.test.ts test/e2e/app-dir-export/test/dynamic-fallback-optimizations-cache-components.test.ts test/e2e/app-dir-export/test/dynamic-fallback-known-params-cache-components.test.ts test/e2e/app-dir-export/test/dynamic-fallback-conflict.test.tspnpm test-start-turbo test/e2e/app-dir/output-export-dynamic-fallbacks/output-export-dynamic-fallbacks.test.ts test/e2e/app-dir-export/test/output-export-server-io.test.ts test/e2e/app-dir-export/test/output-export-server-io-use-cache.test.ts test/e2e/app-dir-export/test/dynamic-fallback-server-params.test.ts