Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For route handlers, call loadComponents also during next build #71202

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

unstubbable
Copy link
Contributor

@unstubbable unstubbable commented Oct 12, 2024

During next dev for route handlers, loadComponents is called to load the route module. This also has the (for now still expected) side-effect that the reference manifests singleton is set, which we need, to make 'use cache' work in route handlers. Until now, loadComponents was not called during next build for route handlers, and the module was
loaded separately with RouteModuleLoader.load.

With this PR, we are aligning both modes, so that it's always ensured that the reference manifests singleton is set.

The end goal is to avoid the global singleton completely, but it's still unclear how to achive this because of the requirements and constrains that are documented in #62437.

Copy link
Contributor Author

unstubbable commented Oct 12, 2024

@ijjk
Copy link
Member

ijjk commented Oct 12, 2024

Tests Passed

@ijjk
Copy link
Member

ijjk commented Oct 12, 2024

Stats from current PR

Default Build (Increase detected ⚠️)
General
vercel/next.js canary vercel/next.js route-handler-load-components-during-build Change
buildDuration 32.3s 28.8s N/A
buildDurationCached 28.4s 25.2s N/A
nodeModulesSize 371 MB 371 MB N/A
nextStartRea..uration (ms) 825ms 830ms N/A
Client Bundles (main, webpack)
vercel/next.js canary vercel/next.js route-handler-load-components-during-build Change
4053-HASH.js gzip 5.27 kB 5.27 kB
6569-HASH.js gzip 43.7 kB 43.7 kB N/A
6f96a7ca-HASH.js gzip 52.6 kB 52.6 kB N/A
7653.HASH.js gzip 169 B 169 B
framework-HASH.js gzip 57.4 kB 57.4 kB N/A
main-app-HASH.js gzip 235 B 233 B N/A
main-HASH.js gzip 32.8 kB 32.8 kB N/A
webpack-HASH.js gzip 1.71 kB 1.71 kB N/A
Overall change 5.44 kB 5.44 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js route-handler-load-components-during-build Change
polyfills-HASH.js gzip 39.4 kB 39.4 kB
Overall change 39.4 kB 39.4 kB
Client Pages
vercel/next.js canary vercel/next.js route-handler-load-components-during-build Change
_app-HASH.js gzip 194 B 193 B N/A
_error-HASH.js gzip 191 B 192 B N/A
amp-HASH.js gzip 509 B 511 B N/A
css-HASH.js gzip 343 B 342 B N/A
dynamic-HASH.js gzip 1.84 kB 1.84 kB N/A
edge-ssr-HASH.js gzip 266 B 265 B N/A
head-HASH.js gzip 365 B 364 B N/A
hooks-HASH.js gzip 392 B 392 B
image-HASH.js gzip 4.4 kB 4.4 kB N/A
index-HASH.js gzip 269 B 268 B N/A
link-HASH.js gzip 2.78 kB 2.77 kB N/A
routerDirect..HASH.js gzip 327 B 328 B N/A
script-HASH.js gzip 396 B 395 B N/A
withRouter-HASH.js gzip 323 B 324 B N/A
1afbb74e6ecf..834.css gzip 106 B 106 B
Overall change 498 B 498 B
Client Build Manifests
vercel/next.js canary vercel/next.js route-handler-load-components-during-build Change
_buildManifest.js gzip 748 B 749 B N/A
Overall change 0 B 0 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js route-handler-load-components-during-build Change
index.html gzip 522 B 523 B N/A
link.html gzip 536 B 537 B N/A
withRouter.html gzip 518 B 518 B
Overall change 518 B 518 B
Edge SSR bundle Size
vercel/next.js canary vercel/next.js route-handler-load-components-during-build Change
edge-ssr.js gzip 129 kB 129 kB N/A
page.js gzip 188 kB 188 kB N/A
Overall change 0 B 0 B
Middleware size
vercel/next.js canary vercel/next.js route-handler-load-components-during-build Change
middleware-b..fest.js gzip 666 B 670 B N/A
middleware-r..fest.js gzip 156 B 156 B
middleware.js gzip 30.7 kB 30.7 kB N/A
edge-runtime..pack.js gzip 844 B 844 B
Overall change 1 kB 1 kB
Next Runtimes
vercel/next.js canary vercel/next.js route-handler-load-components-during-build Change
973-experime...dev.js gzip 322 B 322 B
973.runtime.dev.js gzip 314 B 314 B
app-page-exp...dev.js gzip 313 kB 313 kB
app-page-exp..prod.js gzip 120 kB 120 kB
app-page-tur..prod.js gzip 133 kB 133 kB
app-page-tur..prod.js gzip 128 kB 128 kB
app-page.run...dev.js gzip 304 kB 304 kB
app-page.run..prod.js gzip 115 kB 115 kB
app-route-ex...dev.js gzip 35 kB 35 kB
app-route-ex..prod.js gzip 23.6 kB 23.6 kB
app-route-tu..prod.js gzip 23.7 kB 23.7 kB
app-route-tu..prod.js gzip 23.4 kB 23.4 kB
app-route.ru...dev.js gzip 36.6 kB 36.6 kB
app-route.ru..prod.js gzip 23.4 kB 23.4 kB
pages-api-tu..prod.js gzip 9.61 kB 9.61 kB
pages-api.ru...dev.js gzip 11.4 kB 11.4 kB
pages-api.ru..prod.js gzip 9.61 kB 9.61 kB
pages-turbo...prod.js gzip 20.9 kB 20.9 kB
pages.runtim...dev.js gzip 26.5 kB 26.5 kB
pages.runtim..prod.js gzip 20.9 kB 20.9 kB
server.runti..prod.js gzip 59.7 kB 59.7 kB
Overall change 1.44 MB 1.44 MB
build cache Overall increase ⚠️
vercel/next.js canary vercel/next.js route-handler-load-components-during-build Change
0.pack gzip 1.84 MB 1.84 MB N/A
index.pack gzip 144 kB 145 kB ⚠️ +616 B
Overall change 144 kB 145 kB ⚠️ +616 B
Diff details
Diff for page.js
@@ -15,7 +15,7 @@
       /***/
     },
 
-    /***/ 9732: /***/ (
+    /***/ 2007: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -30,7 +30,7 @@
         default: () => /* binding */ nHandler,
       });
 
-      // NAMESPACE OBJECT: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-stats8H9Y11%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
+      // NAMESPACE OBJECT: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-stats8H9Y11%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
       var page_next_edge_ssr_entry_namespaceObject = {};
       __webpack_require__.r(page_next_edge_ssr_entry_namespaceObject);
       __webpack_require__.d(page_next_edge_ssr_entry_namespaceObject, {
@@ -80,35 +80,35 @@
         workUnitAsyncStorage: () => entry_base /* workUnitAsyncStorage */.Sz,
       });
 
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/server/web/globals.js
-      var globals = __webpack_require__(5521);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
-      var adapter = __webpack_require__(7487);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 87 modules
-      var render = __webpack_require__(3937);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
-      var incremental_cache = __webpack_require__(7519);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/server/app-render/app-render.js + 62 modules
-      var app_render = __webpack_require__(5611);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
-      var module_compiled = __webpack_require__(6799);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/server/route-kind.js
-      var route_kind = __webpack_require__(8598);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/client/components/error-boundary.js
-      var error_boundary = __webpack_require__(4735);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/server/app-render/entry-base.js + 29 modules
-      var entry_base = __webpack_require__(2763); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-stats8H9Y11%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/server/web/globals.js
+      var globals = __webpack_require__(3550);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
+      var adapter = __webpack_require__(440);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 87 modules
+      var render = __webpack_require__(58);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
+      var incremental_cache = __webpack_require__(7549);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/server/app-render/app-render.js + 62 modules
+      var app_render = __webpack_require__(9228);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
+      var module_compiled = __webpack_require__(7062);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/server/route-kind.js
+      var route_kind = __webpack_require__(6856);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/client/components/error-boundary.js
+      var error_boundary = __webpack_require__(570);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/server/app-render/entry-base.js + 29 modules
+      var entry_base = __webpack_require__(8754); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-stats8H9Y11%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
       const module0 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 4887)
+          __webpack_require__.bind(__webpack_require__, 2390)
         );
       const module1 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 6955)
+          __webpack_require__.bind(__webpack_require__, 8236)
         );
       const page2 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 4498)
+          __webpack_require__.bind(__webpack_require__, 2761)
         );
 
       // We inject the tree and pages here so that we can use them in the route
@@ -171,12 +171,12 @@
       });
 
       //# sourceMappingURL=app-page.js.map
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/lib/page-types.js
-      var page_types = __webpack_require__(7020);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/server/app-render/encryption-utils.js
-      var encryption_utils = __webpack_require__(1848);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/esm/server/app-render/action-utils.js
-      var action_utils = __webpack_require__(3912); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?{"absolute500Path":"","absoluteAppPath":"next/dist/pages/_app","absoluteDocumentPath":"next/dist/pages/_document","absoluteErrorPath":"next/dist/pages/_error","absolutePagePath":"private-next-app-dir/app-edge-ssr/page.js","dev":false,"isServerComponent":true,"page":"/app-edge-ssr/page","stringifiedConfig":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjYWNoZU1heE1lbW9yeVNpemUiOjUyNDI4ODAwLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ3MiOnRydWUsInBhZ2VFeHRlbnNpb25zIjpbInRzeCIsInRzIiwianN4IiwianMiXSwicG93ZXJlZEJ5SGVhZGVyIjp0cnVlLCJjb21wcmVzcyI6dHJ1ZSwiaW1hZ2VzIjp7ImRldmljZVNpemVzIjpbNjQwLDc1MCw4MjgsMTA4MCwxMjAwLDE5MjAsMjA0OCwzODQwXSwiaW1hZ2VTaXplcyI6WzE2LDMyLDQ4LDY0LDk2LDEyOCwyNTYsMzg0XSwicGF0aCI6Ii9fbmV4dC9pbWFnZSIsImxvYWRlciI6ImRlZmF1bHQiLCJsb2FkZXJGaWxlIjoiIiwiZG9tYWlucyI6W10sImRpc2FibGVTdGF0aWNJbWFnZXMiOmZhbHNlLCJtaW5pbXVtQ2FjaGVUVEwiOjYwLCJmb3JtYXRzIjpbImltYWdlL3dlYnAiXSwiZGFuZ2Vyb3VzbHlBbGxvd1NWRyI6ZmFsc2UsImNvbnRlbn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m5leHRDb25maWdPdXRwdXQ9JmZseWluZ1NodXR0bGU9ZmFsc2UmcHJlZmVycmVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE=","sriEnabled":false,"middlewareConfig":"e30="}!
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/lib/page-types.js
+      var page_types = __webpack_require__(4369);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/server/app-render/encryption-utils.js
+      var encryption_utils = __webpack_require__(4427);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/esm/server/app-render/action-utils.js
+      var action_utils = __webpack_require__(8298); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?{"absolute500Path":"","absoluteAppPath":"next/dist/pages/_app","absoluteDocumentPath":"next/dist/pages/_document","absoluteErrorPath":"next/dist/pages/_error","absolutePagePath":"private-next-app-dir/app-edge-ssr/page.js","dev":false,"isServerComponent":true,"page":"/app-edge-ssr/page","stringifiedConfig":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3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NvbnMvdGZpIiwicmVhY3QtaWNvbnMvdGkiLCJyZWFjdC1pY29ucy92c2MiLCJyZWFjdC1pY29ucy93aSJdfSwiYnVuZGxlUGFnZXNSb3V0ZXJEZXBlbmRlbmNpZXMiOmZhbHNlLCJjb25maWdGaWxlIjoiL3RtcC9uZXh0LXN0YXRzOEg5WTExL3N0YXRzLWFwcC9uZXh0LmNvbmZpZy5qcyIsImNvbmZpZ0ZpbGVOYW1lIjoibmV4dC5jb25maWcuanMifQ==","pagesType":"app","appDirLoader":"bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBwLWVkZ2Utc3NyJTJGcGFnZSZwYWdlPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZVBhdGg9cHJpdmF0ZS1uZXh0LWFwcC1kaXIlMkZhcHAtZWRnZS1zc3IlMkZwYWdlLmpzJmFwcERpcj0lMkZ0bXAlMkZuZXh0LXN0YXRzOEg5WTExJTJGc3RhdHMtYXBwJTJGYXBwJmFwcFBhdGhzPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZUV4dGVuc2lvbnM9dHN4JnBhZ2VFeHRlbnNpb25zPXRzJnBhZ2VFeHRlbnNpb25zPWpzeCZwYWdlRXh0ZW5zaW9ucz1qcyZiYXNlUGF0aD0mYXNzZXRQcmVmaXg9Jm5leHRDb25maWdPdXRwdXQ9JmZseWluZ1NodXR0bGU9ZmFsc2UmcHJlZmVycmVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE=","sriEnabled":false,"middlewareConfig":"e30="}!
       var _self___RSC_MANIFEST;
 
       const incrementalCacheHandler = null;
@@ -441,56 +441,56 @@
       /***/
     },
 
-    /***/ 2681: /***/ (
+    /***/ 1331: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 3410)
+        __webpack_require__.bind(__webpack_require__, 2227)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 2295)
+        __webpack_require__.bind(__webpack_require__, 7283)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 9242)
+        __webpack_require__.bind(__webpack_require__, 6234)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 9876)
+        __webpack_require__.bind(__webpack_require__, 2806)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 6865)
+        __webpack_require__.bind(__webpack_require__, 1613)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 5581)
+        __webpack_require__.bind(__webpack_require__, 7359)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 2046)
+        __webpack_require__.bind(__webpack_require__, 9853)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 8964)
+        __webpack_require__.bind(__webpack_require__, 4938)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 7985)
+        __webpack_require__.bind(__webpack_require__, 4880)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 1330)
+        __webpack_require__.bind(__webpack_require__, 2065)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 8005)
+        __webpack_require__.bind(__webpack_require__, 7830)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 3327)
+        __webpack_require__.bind(__webpack_require__, 4271)
       );
 
       /***/
     },
 
-    /***/ 3375: /***/ () => {
+    /***/ 809: /***/ () => {
       /***/
     },
 
-    /***/ 4498: /***/ (
+    /***/ 2761: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -510,7 +510,7 @@
       /***/
     },
 
-    /***/ 4887: /***/ (
+    /***/ 2390: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -522,7 +522,7 @@
         /* harmony export */
       });
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(8713);
+        __webpack_require__(127);
 
       function RootLayout({ children }) {
         return /*#__PURE__*/ (0,
@@ -541,7 +541,7 @@
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
-    /******/ __webpack_require__.O(0, [100, 518], () => __webpack_exec__(9732));
+    /******/ __webpack_require__.O(0, [598, 345], () => __webpack_exec__(2007));
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ (_ENTRIES = typeof _ENTRIES === "undefined" ? {} : _ENTRIES)[
       "middleware_app/app-edge-ssr/page"
Diff for middleware.js

Diff too large to display

Diff for edge-ssr.js

Diff too large to display

Diff for image-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [8358],
   {
-    /***/ 5: /***/ (
+    /***/ 6987: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/image",
         function () {
-          return __webpack_require__(3284);
+          return __webpack_require__(4619);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 1363: /***/ (module, exports, __webpack_require__) => {
+    /***/ 3287: /***/ (module, exports, __webpack_require__) => {
       "use strict";
       /* __next_internal_client_entry_do_not_use__  cjs */
       Object.defineProperty(exports, "__esModule", {
@@ -40,17 +40,17 @@
         __webpack_require__(8186)
       );
       const _head = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(1833)
+        __webpack_require__(7067)
       );
-      const _getimgprops = __webpack_require__(3128);
-      const _imageconfig = __webpack_require__(424);
-      const _imageconfigcontextsharedruntime = __webpack_require__(5438);
-      const _warnonce = __webpack_require__(5764);
-      const _routercontextsharedruntime = __webpack_require__(8196);
+      const _getimgprops = __webpack_require__(2807);
+      const _imageconfig = __webpack_require__(6219);
+      const _imageconfigcontextsharedruntime = __webpack_require__(394);
+      const _warnonce = __webpack_require__(463);
+      const _routercontextsharedruntime = __webpack_require__(1359);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(7592)
+        __webpack_require__(3587)
       );
-      const _usemergedref = __webpack_require__(4721);
+      const _usemergedref = __webpack_require__(183);
       // This is replaced by webpack define plugin
       const configEnv = {
         deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
@@ -371,7 +371,7 @@
       /***/
     },
 
-    /***/ 4721: /***/ (module, exports, __webpack_require__) => {
+    /***/ 183: /***/ (module, exports, __webpack_require__) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -432,7 +432,7 @@
       /***/
     },
 
-    /***/ 3128: /***/ (
+    /***/ 2807: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -448,9 +448,9 @@
           return getImgProps;
         },
       });
-      const _warnonce = __webpack_require__(5764);
-      const _imageblursvg = __webpack_require__(8661);
-      const _imageconfig = __webpack_require__(424);
+      const _warnonce = __webpack_require__(463);
+      const _imageblursvg = __webpack_require__(4908);
+      const _imageconfig = __webpack_require__(6219);
       const VALID_LOADING_VALUES =
         /* unused pure expression or super */ null && [
           "lazy",
@@ -823,7 +823,7 @@
       /***/
     },
 
-    /***/ 8661: /***/ (__unused_webpack_module, exports) => {
+    /***/ 4908: /***/ (__unused_webpack_module, exports) => {
       "use strict";
       /**
        * A shared function, used on both client and server, to generate a SVG blur placeholder.
@@ -878,7 +878,7 @@
       /***/
     },
 
-    /***/ 8382: /***/ (
+    /***/ 1842: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -905,10 +905,10 @@
         },
       });
       const _interop_require_default = __webpack_require__(9608);
-      const _getimgprops = __webpack_require__(3128);
-      const _imagecomponent = __webpack_require__(1363);
+      const _getimgprops = __webpack_require__(2807);
+      const _imagecomponent = __webpack_require__(3287);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(7592)
+        __webpack_require__(3587)
       );
       function getImageProps(imgProps) {
         const { props } = (0, _getimgprops.getImgProps)(imgProps, {
@@ -940,7 +940,7 @@
       /***/
     },
 
-    /***/ 7592: /***/ (__unused_webpack_module, exports) => {
+    /***/ 3587: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -975,7 +975,7 @@
       /***/
     },
 
-    /***/ 3284: /***/ (
+    /***/ 4619: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -992,8 +992,8 @@
 
       // EXTERNAL MODULE: ./node_modules/.pnpm/react@19.0.0-rc-70fb1363-20241010/node_modules/react/jsx-runtime.js
       var jsx_runtime = __webpack_require__(3970);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_ej6p4ob2iqs5g3c6x2lcn37z5e/node_modules/next/image.js
-      var next_image = __webpack_require__(4281);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-70fb1363-20241010_re_5nmd7l34pjgqifaws33tkiz5ni/node_modules/next/image.js
+      var next_image = __webpack_require__(6183);
       var image_default = /*#__PURE__*/ __webpack_require__.n(next_image); // CONCATENATED MODULE: ./pages/nextjs.png
       /* harmony default export */ const nextjs = {
         src: "/_next/static/media/nextjs.cae0b805.png",
@@ -1023,12 +1023,12 @@
       /***/
     },
 
-    /***/ 4281: /***/ (
+    /***/ 6183: /***/ (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
-      module.exports = __webpack_require__(8382);
+      module.exports = __webpack_require__(1842);
 
       /***/
     },
@@ -1038,7 +1038,7 @@
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [2888, 9774, 179], () =>
-      __webpack_exec__(5)
+      __webpack_exec__(6987)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for 4053-HASH.js
@@ -1,8 +1,8 @@
 "use strict";
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
-  [4053],
+  [8793],
   {
-    /***/ 4053: /***/ (module, exports, __webpack_require__) => {
+    /***/ 8793: /***/ (module, exports, __webpack_require__) => {
       /* __next_internal_client_entry_do_not_use__  cjs */
       Object.defineProperty(exports, "__esModule", {
         value: true,
@@ -13,27 +13,27 @@
           return Image;
         },
       });
-      const _interop_require_default = __webpack_require__(581);
-      const _interop_require_wildcard = __webpack_require__(8487);
-      const _jsxruntime = __webpack_require__(5696);
+      const _interop_require_default = __webpack_require__(1759);
+      const _interop_require_wildcard = __webpack_require__(5656);
+      const _jsxruntime = __webpack_require__(6182);
       const _react = /*#__PURE__*/ _interop_require_wildcard._(
-        __webpack_require__(1113)
+        __webpack_require__(9668)
       );
       const _reactdom = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(9212)
+        __webpack_require__(5952)
       );
       const _head = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(4580)
+        __webpack_require__(5479)
       );
-      const _getimgprops = __webpack_require__(53);
-      const _imageconfig = __webpack_require__(1210);
-      const _imageconfigcontextsharedruntime = __webpack_require__(7961);
-      const _warnonce = __webpack_require__(3745);
-      const _routercontextsharedruntime = __webpack_require__(9909);
+      const _getimgprops = __webpack_require__(7593);
+      const _imageconfig = __webpack_require__(4885);
+      const _imageconfigcontextsharedruntime = __webpack_require__(9147);
+      const _warnonce = __webpack_require__(1800);
+      const _routercontextsharedruntime = __webpack_require__(3585);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(1424)
+        __webpack_require__(500)
       );
-      const _usemergedref = __webpack_require__(671);
+      const _usemergedref = __webpack_require__(2487);
       // This is replaced by webpack define plugin
       const configEnv = {
         deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
@@ -355,7 +355,7 @@
       /***/
     },
 
-    /***/ 671: /***/ (module, exports, __webpack_require__) => {
+    /***/ 2487: /***/ (module, exports, __webpack_require__) => {
       Object.defineProperty(exports, "__esModule", {
         value: true,
       });
@@ -365,7 +365,7 @@
           return useMergedRef;
         },
       });
-      const _react = __webpack_require__(1113);
+      const _react = __webpack_require__(9668);
       function useMergedRef(refA, refB) {
         const cleanupA = (0, _react.useRef)(() => {});
         const cleanupB = (0, _react.useRef)(() => {});
@@ -414,7 +414,7 @@
       /***/
     },
 
-    /***/ 2904: /***/ (
+    /***/ 3455: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -428,9 +428,9 @@
           return AmpStateContext;
         },
       });
-      const _interop_require_default = __webpack_require__(581);
+      const _interop_require_default = __webpack_require__(1759);
       const _react = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(1113)
+        __webpack_require__(9668)
       );
       const AmpStateContext = _react.default.createContext({});
       if (false) {
@@ -439,7 +439,7 @@
       /***/
     },
 
-    /***/ 3468: /***/ (__unused_webpack_module, exports) => {
+    /***/ 3005: /***/ (__unused_webpack_module, exports) => {
       Object.defineProperty(exports, "__esModule", {
         value: true,
       });
@@ -461,7 +461,11 @@
       /***/
     },
 
-    /***/ 53: /***/ (__unused_webpack_module, exports, __webpack_require__) => {
+    /***/ 7593: /***/ (
+      __unused_webpack_module,
+      exports,
+      __webpack_require__
+    ) => {
       Object.defineProperty(exports, "__esModule", {
         value: true,
       });
@@ -471,9 +475,9 @@
           return getImgProps;
         },
       });
-      const _warnonce = __webpack_require__(3745);
-      const _imageblursvg = __webpack_require__(7184);
-      const _imageconfig = __webpack_require__(1210);
+      const _warnonce = __webpack_require__(1800);
+      const _imageblursvg = __webpack_require__(4457);
+      const _imageconfig = __webpack_require__(4885);
       const VALID_LOADING_VALUES =
         /* unused pure expression or super */ null && [
           "lazy",
@@ -846,8 +850,8 @@
       /***/
     },
 
-    /***/ 4580: /***/ (module, exports, __webpack_require__) => {
-      /* provided dependency */ var process = __webpack_require__(1964);
+    /***/ 5479: /***/ (module, exports, __webpack_require__) => {
+      /* provided dependency */ var process = __webpack_require__(4898);
       /* __next_internal_client_entry_do_not_use__  cjs */
       Object.defineProperty(exports, "__esModule", {
         value: true,
@@ -868,19 +872,19 @@
           return defaultHead;
         },
       });
-      const _interop_require_default = __webpack_require__(581);
-      const _interop_require_wildcard = __webpack_require__(8487);
-      const _jsxruntime = __webpack_require__(5696);
+      const _interop_require_default = __webpack_require__(1759);
+      const _interop_require_wildcard = __webpack_require__(5656);
+      const _jsxruntime = __webpack_require__(6182);
       const _react = /*#__PURE__*/ _interop_require_wildcard._(
-        __webpack_require__(1113)
+        __webpack_require__(9668)
       );
       const _sideeffect = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(3242)
+        __webpack_require__(9183)
       );
-      const _ampcontextsharedruntime = __webpack_require__(2904);
-      const _headmanagercontextsharedruntime = __webpack_require__(9399);
-      const _ampmode = __webpack_require__(3468);
-      const _warnonce = __webpack_require__(3745);
+      const _ampcontextsharedruntime = __webpack_require__(3455);
+      const _headmanagercontextsharedruntime = __webpack_require__(5755);
+      const _ampmode = __webpack_require__(3005);
+      const _warnonce = __webpack_require__(1800);
       function defaultHead(inAmpMode) {
         if (inAmpMode === void 0) inAmpMode = false;
         const head = [
@@ -1064,7 +1068,7 @@
       /***/
     },
 
-    /***/ 7184: /***/ (__unused_webpack_module, exports) => {
+    /***/ 4457: /***/ (__unused_webpack_module, exports) => {
       /**
        * A shared function, used on both client and server, to generate a SVG blur placeholder.
        */
@@ -1118,7 +1122,7 @@
       /***/
     },
 
-    /***/ 7961: /***/ (
+    /***/ 9147: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1132,11 +1136,11 @@
           return ImageConfigContext;
         },
       });
-      const _interop_require_default = __webpack_require__(581);
+      const _interop_require_default = __webpack_require__(1759);
       const _react = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(1113)
+        __webpack_require__(9668)
       );
-      const _imageconfig = __webpack_require__(1210);
+      const _imageconfig = __webpack_require__(4885);
       const ImageConfigContext = _react.default.createContext(
         _imageconfig.imageConfigDefault
       );
@@ -1146,7 +1150,7 @@
       /***/
     },
 
-    /***/ 1210: /***/ (__unused_webpack_module, exports) => {
+    /***/ 4885: /***/ (__unused_webpack_module, exports) => {
       Object.defineProperty(exports, "__esModule", {
         value: true,
       });
@@ -1194,7 +1198,7 @@
       /***/
     },
 
-    /***/ 1424: /***/ (__unused_webpack_module, exports) => {
+    /***/ 500: /***/ (__unused_webpack_module, exports) => {
       Object.defineProperty(exports, "__esModule", {
         value: true,
       });
@@ -1227,7 +1231,7 @@
       /***/
     },
 
-    /***/ 9909: /***/ (
+    /***/ 3585: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1241,9 +1245,9 @@
           return RouterContext;
         },
       });
-      const _interop_require_default = __webpack_require__(581);
+      const _interop_require_default = __webpack_require__(1759);
       const _react = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(1113)
+        __webpack_require__(9668)
       );
       const RouterContext = _react.default.createContext(null);
       if (false) {
@@ -1252,7 +1256,7 @@
       /***/
     },
 
-    /***/ 3242: /***/ (
+    /***/ 9183: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1266,7 +1270,7 @@
           return SideEffect;
         },
       });
-      const _react = __webpack_require__(1113);
+      const _react = __webpack_require__(9668);
       const isServer = typeof window === "undefined";
       const useClientOnlyLayoutEffect = isServer
         ? () => {}
Commit: 54b758f

@unstubbable unstubbable force-pushed the route-handler-load-components-during-build branch from 7139f7d to fbfdd27 Compare October 12, 2024 22:40
@unstubbable unstubbable marked this pull request as ready for review October 12, 2024 22:45
Copy link
Contributor Author

unstubbable commented Oct 12, 2024

Merge activity

  • Oct 12, 7:27 PM EDT: A user started a stack merge that includes this pull request via Graphite.
  • Oct 12, 7:28 PM EDT: Graphite rebased this pull request as part of a merge.
  • Oct 12, 7:53 PM EDT: Graphite couldn't merge this PR because it was not satisfying all requirements (Failed CI: 'thank you, next', 'test dev (3/4) / build').

Base automatically changed from use-cache-route-handlers to canary October 12, 2024 23:27
During `next dev` for route handlers, `loadComponents` is called to load
the route module. This also has the (for now still expected) side-effect
that the reference manifests singleton is set, which we need to make
`'use cache'` work in router handlers. Until now, `loadComponents` was
not called during `next build` for router handlers, and the module was
loaded separately with `RouteModuleLoader.load`.

With this PR, we are aligning both modes, so that it's always ensured
that the reference manifests singleton is set.

The end goal is to avoid the global singleton completely, but it's still
unclear how to achive this because of the requirements and constrains
that are documented in #62437.
@unstubbable unstubbable force-pushed the route-handler-load-components-during-build branch from fbfdd27 to 54b758f Compare October 12, 2024 23:27
@unstubbable unstubbable merged commit 2112ceb into canary Oct 13, 2024
108 checks passed
@unstubbable unstubbable deleted the route-handler-load-components-during-build branch October 13, 2024 00:21
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants