fix(prerender): expose the production build phase - #2846
Conversation
|
/bigbonk review for issues |
commit: |
|
/bigbonk review — PR #2846
|
|
Review posted to PR #2846: #2846 (comment) SummaryI reviewed all 12 changed files, ran the targeted tests, and verified dev/prod parity across the prerender code paths. No blocking issues found. Key findingsCorrect:
Verified locally:
Minor nits (non-blocking):
The PR is well-scoped with test coverage that mirrors the ported Next.js regression, including the required source back-link. |
Performance benchmarksCompared 0 improved · 0 regressed · 6 within ±1.5%
View detailed results and traces 🟢 improvement · 🔴 regression · ⚫ change below 1.5% · paired base/head |
|
Mapping note for the cache-components backlog from Actions run |
Summary
NEXT_PHASE=phase-production-buildwhile prerender workers and in-process prerender servers execute application codenext.config.*values with the production-build phaseValidation
REPO="$(pwd)" NEXTJS_DIR="/Users/jamesanderson/Developer/vinext/.nextjs-ref" ./scripts/run-targeted-nextjs-e2e.sh test/e2e/app-dir/cache-components/cache-components.server-action.test.ts— 3/3 passedvp test run tests/prerender-phase.test.ts tests/run-prerender-concurrency.test.ts tests/prerender-server-pool.test.ts— 12/12 passedvp test run tests/prerender.test.ts -t "renders inline server actions during the production build phase"— passedvp checkfor all changed source and test files — passedThe targeted Next.js E2E is the primary acceptance check for this fix.