Pass staged fallback params directly to adapter renders (#100456)
# Jan's notes After this, there's only one place left that writes `stagedFallbackParams` to the request params object, but that appears to be in the adapter boundary and I'm not sure that would be a breaking change. # AI ## Summary Pass staged fallback params explicitly to each `doRender` invocation, removing the handler's request-metadata writes and rereads. Each render now owns its staging selection, including debug shells, background shell upgrades, and resumes. Retain the dev metadata handoff from `base-server`, captured once at the adapter boundary. Preserve placeholder map identity and the precedence of masks recorded in postponed state. ## Verification - `pnpm test-dev-turbo` and `pnpm test-start-turbo`: instant-navigation-testing-api, instant-validation-static-shells (both variants), fallback-shells, and ppr-root-param-fallback. - `pnpm test-start-turbo`: partial-fallback-shell-upgrade and partial-fallback-root-blocking. - `pnpm test-dev-webpack` and `pnpm test-start-webpack`: instant-navigation-testing-api. - Postponed-state and fallback-params unit tests. - 262 tests passed across 16 suites; 12 existing skips. <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment