Skip to content

Conversation

@xusd320
Copy link
Contributor

@xusd320 xusd320 commented Nov 18, 2025

No description provided.

@ijjk ijjk added Turbopack Related to Turbopack with Next.js. type: next labels Nov 18, 2025
@xusd320 xusd320 marked this pull request as draft November 18, 2025 17:35
@xusd320 xusd320 changed the title [WIP] refactor(turbopack-node): support execution by napi and worker_threads refactor(turbopack-node): support execution by napi and worker_threads Nov 18, 2025
@ijjk
Copy link
Member

ijjk commented Nov 18, 2025

Failing test suites

Commit: 0cae1b9 | About building and testing Next.js

pnpm test test/integration/create-next-app/templates/app.test.ts (turbopack) (job)

  • create-next-app --app (App Router) > should create TailwindCSS project with --tailwind flag (DD)
  • create-next-app --app (App Router) > should create an empty TailwindCSS project with --empty flag (DD)
Expand output

● create-next-app --app (App Router) › should create TailwindCSS project with --tailwind flag

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/app.test.ts:153:7
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/app.test.ts:124:5)

● create-next-app --app (App Router) › should create an empty TailwindCSS project with --empty flag

expect(received).toContain(expected) // indexOf

Expected substring: "Hello world!"
Received string:    "<!DOCTYPE html><html><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><style data-next-hide-fouc=\"true\">body{display:none}</style><noscript data-next-hide-fouc=\"true\"><style>body{display:block}</style></noscript><noscript data-n-css=\"\"></noscript><script src=\"/_next/static/chunks/node_modules_next_dist_compiled_8ca6b690._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_dist_shared_lib_c27bd7c6._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_dist_client_d0aa886c._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_dist_b0a279d5._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_app_72f3d36f.js\" defer=\"\"></script><script src=\"/_next/static/chunks/%5Bnext%5D_entry_page-loader_ts_742e4b53._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_react-dom_4411d9bd._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_7f09fef0._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/%5Broot-of-the-server%5D__45f039c3._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages__app_2da965e7._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/turbopack-pages__app_b00642e3._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_dist_shared_lib_a8deed05._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_dist_19fd0646._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_error_1cfbb379.js\" defer=\"\"></script><script src=\"/_next/static/chunks/%5Bnext%5D_entry_page-loader_ts_43b523b5._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/%5Broot-of-the-server%5D__092393de._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages__error_2da965e7._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/turbopack-pages__error_647fbceb._.js\" defer=\"\"></script><script src=\"/_next/static/development/_ssgManifest.js\" defer=\"\"></script><script src=\"/_next/static/development/_buildManifest.js\" defer=\"\"></script><noscript id=\"__next_css__DO_NOT_USE__\"></noscript></head><body><div id=\"__next\"></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":500,\"hostname\":\"[::]\"}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"development\",\"isFallback\":false,\"err\":{\"name\":\"Error\",\"source\":\"server\",\"message\":\"./src/app/globals.css\\nError evaluating Node.js code\\nCssSyntaxError: tailwindcss: /root/actions-runner/_work/next.js/next.js/packages/next/src/app/globals.css:1:1: Can't resolve 'tailwindcss' in '/root/actions-runner/_work/next.js/next.js/packages/next/src/app'\\n    [at Input.error (turbopack:///[project]/node_modules/postcss/lib/input.js:135:16)]\\n    [at Root.error (turbopack:///[project]/node_modules/postcss/lib/node.js:146:32)]\\n    [at Object.Once (/tmp/next-test-prbeqf7a0i8/app-tw-empty/node_modules/@tailwindcss/postcss/dist/index.js:10:6912)]\\n    [at LazyResult.runAsync (turbopack:///[project]/node_modules/postcss/lib/lazy-result.js:293:11)]\\n    [at transform (turbopack:///[turbopack-node]/transforms/postcss.ts:70:34)]\\n    [at run (turbopack:///[turbopack-node]/worker_threads/evaluate.ts:100:23)]\\n\\nImport trace:\\n  Client Component Browser:\\n    ./src/app/globals.css [Client Component Browser]\\n    ./src/app/layout.tsx [Server Component]\\n\\n\",\"stack\":\"Error: ./src/app/globals.css\\nError evaluating Node.js code\\nCssSyntaxError: tailwindcss: /root/actions-runner/_work/next.js/next.js/packages/next/src/app/globals.css:1:1: Can't resolve 'tailwindcss' in '/root/actions-runner/_work/next.js/next.js/packages/next/src/app'\\n    [at Input.error (turbopack:///[project]/node_modules/postcss/lib/input.js:135:16)]\\n    [at Root.error (turbopack:///[project]/node_modules/postcss/lib/node.js:146:32)]\\n    [at Object.Once (/tmp/next-test-prbeqf7a0i8/app-tw-empty/node_modules/@tailwindcss/postcss/dist/index.js:10:6912)]\\n    [at LazyResult.runAsync (turbopack:///[project]/node_modules/postcss/lib/lazy-result.js:293:11)]\\n    [at transform (turbopack:///[turbopack-node]/transforms/postcss.ts:70:34)]\\n    [at run (turbopack:///[turbopack-node]/worker_threads/evaluate.ts:100:23)]\\n\\nImport trace:\\n  Client Component Browser:\\n    ./src/app/globals.css [Client Component Browser]\\n    ./src/app/layout.tsx [Server Component]\\n\\n\\n    at Object.getCompilationErrors (/tmp/next-test-prbeqf7a0i8/app-tw-empty/node_modules/next/dist/server/dev/hot-reloader-turbopack.js:1008:59)\\n    at DevBundlerService.getCompilationError (/tmp/next-test-prbeqf7a0i8/app-tw-empty/node_modules/next/dist/server/lib/dev-bundler-service.js:44:55)\\n    at DevServer.getCompilationError (/tmp/next-test-prbeqf7a0i8/app-tw-empty/node_modules/next/dist/server/dev/next-dev-server.js:705:42)\\n    at DevServer.findPageComponents (/tmp/next-test-prbeqf7a0i8/app-tw-empty/node_modules/next/dist/server/dev/next-dev-server.js:675:43)\\n    at async DevServer.renderErrorToResponseImpl (/tmp/next-test-prbeqf7a0i8/app-tw-empty/node_modules/next/dist/server/base-server.js:1689:26)\"},\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

  65 |     const res = await fetchViaHTTP(port, '/')
  66 |     if (isEmpty || isApi) {
> 67 |       expect(await res.text()).toContain('Hello world!')
     |                                ^
  68 |     } else {
  69 |       const responseText = await res.text()
  70 |       // App Router uses page.tsx/page.js, Pages Router uses index.tsx/index.js

  at toContain (integration/create-next-app/utils.ts:67:32)
  at integration/create-next-app/templates/app.test.ts:232:7
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/app.test.ts:201:5)

pnpm test-dev-turbo test/development/acceptance-app/app-hmr-changes.test.ts (turbopack) (job)

  • Error overlay - RSC build errors > Skipped in webpack > should handle successive HMR changes with errors correctly (DD)
Expand output

● Error overlay - RSC build errors › Skipped in webpack › should handle successive HMR changes with errors correctly

Application is in inconsistent state: timeout.

  113 |             }
  114 |             if (status !== 'pending') {
> 115 |               throw new Error(
      |                     ^
  116 |                 `Application is in inconsistent state: ${status}.`
  117 |               )
  118 |             }

  at Object.patch (lib/development-sandbox.ts:115:21)
  at Object.<anonymous> (development/acceptance-app/app-hmr-changes.test.ts:59:11)

pnpm test test/integration/telemetry/test/config.test.ts (turbopack) (job)

  • config telemetry > production mode > emits telemetry for enabled React Compiler (DD)
  • config telemetry > production mode > emits telemetry for configured React Compiler options (DD)
  • config telemetry > production mode > emits telemetry for filesystem cache in build mode (DD)
  • config telemetry > production mode > emits telemetry for isolatedDevBuild enabled by default (DD)
  • config telemetry > production mode > emits telemetry for isolatedDevBuild disabled (DD)
Expand output

● config telemetry › production mode › emits telemetry for enabled React Compiler

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  546 |       })
  547 |
> 548 |       it('emits telemetry for enabled React Compiler', async () => {
      |       ^
  549 |         await fs.rename(
  550 |           path.join(appDir, 'next.config.reactCompiler-base'),
  551 |           path.join(appDir, 'next.config.js')

  at it (integration/telemetry/test/config.test.ts:548:7)
  at integration/telemetry/test/config.test.ts:15:56
  at Object.describe (integration/telemetry/test/config.test.ts:14:1)

● config telemetry › production mode › emits telemetry for configured React Compiler options

TypeError: Cannot read properties of null (reading 'pop')

  591 |           stderr = app.stderr
  592 |           const event = /NEXT_CLI_SESSION_STARTED[\s\S]+?{([\s\S]+?)}/
> 593 |             .exec(stderr)
      |                   ^
  594 |             .pop()
  595 |
  596 |           expect(event).toMatch(/"reactCompiler": true/)

  at Object.stderr (integration/telemetry/test/config.test.ts:593:19)

● config telemetry › production mode › emits telemetry for filesystem cache in build mode

expect(received).toContainEqual(expected) // deep equality

Expected value: {"featureName": "turbopackFileSystemCache", "invocationCount": 1}
Received array: []

  672 |               'NEXT_BUILD_FEATURE_USAGE'
  673 |             )
> 674 |             expect(featureUsageEvents).toContainEqual({
      |                                        ^
  675 |               featureName: 'turbopackFileSystemCache',
  676 |               invocationCount: 1,
  677 |             })

  at Object.toContainEqual (integration/telemetry/test/config.test.ts:674:40)

● config telemetry › production mode › emits telemetry for isolatedDevBuild enabled by default

expect(received).toContainEqual(expected) // deep equality

Expected value: {"featureName": "experimental/isolatedDevBuild", "invocationCount": 1}
Received array: []

  743 |             'NEXT_BUILD_FEATURE_USAGE'
  744 |           )
> 745 |           expect(featureUsageEvents).toContainEqual({
      |                                      ^
  746 |             featureName: 'experimental/isolatedDevBuild',
  747 |             invocationCount: 1,
  748 |           })

  at Object.toContainEqual (integration/telemetry/test/config.test.ts:745:38)

● config telemetry › production mode › emits telemetry for isolatedDevBuild disabled

expect(received).toContainEqual(expected) // deep equality

Expected value: {"featureName": "experimental/isolatedDevBuild", "invocationCount": 0}
Received array: []

  771 |             'NEXT_BUILD_FEATURE_USAGE'
  772 |           )
> 773 |           expect(featureUsageEvents).toContainEqual({
      |                                      ^
  774 |             featureName: 'experimental/isolatedDevBuild',
  775 |             invocationCount: 0,
  776 |           })

  at Object.toContainEqual (integration/telemetry/test/config.test.ts:773:38)

pnpm test test/integration/create-next-app/templates/pages.test.ts (turbopack) (job)

  • create-next-app --no-app (Pages Router) > should create TailwindCSS project with --tailwind flag (DD)
  • create-next-app --no-app (Pages Router) > should create an empty TailwindCSS project with --empty flag (DD)
Expand output

● create-next-app --no-app (Pages Router) › should create TailwindCSS project with --tailwind flag

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/pages.test.ts:161:7
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/pages.test.ts:132:5)

● create-next-app --no-app (Pages Router) › should create an empty TailwindCSS project with --empty flag

expect(received).toContain(expected) // indexOf

Expected substring: "Hello world!"
Received string:    "<!DOCTYPE html><html><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><link rel=\"preload\" href=\"/_next/static/chunks/src_styles_globals_5bb75e7e.css\" as=\"style\"/><style data-next-hide-fouc=\"true\">body{display:none}</style><noscript data-next-hide-fouc=\"true\"><style>body{display:block}</style></noscript><link rel=\"stylesheet\" href=\"/_next/static/chunks/src_styles_globals_5bb75e7e.css\" data-n-g=\"\"/><noscript data-n-css=\"\"></noscript><script src=\"/_next/static/chunks/node_modules_next_dist_compiled_8ca6b690._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_dist_shared_lib_c27bd7c6._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_dist_client_d0aa886c._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_dist_6024eba3._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_react-dom_4411d9bd._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_f1be3ba2._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/%5Broot-of-the-server%5D__0fd93964._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/src_pages__app_2da965e7._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/turbopack-src_pages__app_18752ab6._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_dist_shared_lib_a8deed05._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_dist_19fd0646._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_next_error_1cfbb379.js\" defer=\"\"></script><script src=\"/_next/static/chunks/%5Bnext%5D_entry_page-loader_ts_43b523b5._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/node_modules_7f09fef0._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/%5Broot-of-the-server%5D__a2d5dfc8._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/src_pages__error_2da965e7._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/turbopack-src_pages__error_f24d265a._.js\" defer=\"\"></script><script src=\"/_next/static/development/_ssgManifest.js\" defer=\"\"></script><script src=\"/_next/static/development/_buildManifest.js\" defer=\"\"></script><noscript id=\"__next_css__DO_NOT_USE__\"></noscript></head><body><div id=\"__next\"></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":500,\"hostname\":\"[::]\"}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"development\",\"isFallback\":false,\"err\":{\"name\":\"Error\",\"source\":\"server\",\"message\":\"./src/styles/globals.css\\nError evaluating Node.js code\\nCssSyntaxError: tailwindcss: /root/actions-runner/_work/next.js/next.js/packages/next/src/styles/globals.css:1:1: Can't resolve 'tailwindcss' in '/root/actions-runner/_work/next.js/next.js/packages/next/src/styles'\\n    [at Input.error (turbopack:///[project]/node_modules/postcss/lib/input.js:135:16)]\\n    [at Root.error (turbopack:///[project]/node_modules/postcss/lib/node.js:146:32)]\\n    [at Object.Once (/tmp/next-test-o1l3a0iasvg/pages-tw-empty/node_modules/@tailwindcss/postcss/dist/index.js:10:6912)]\\n    [at LazyResult.runAsync (turbopack:///[project]/node_modules/postcss/lib/lazy-result.js:293:11)]\\n    [at transform (turbopack:///[turbopack-node]/transforms/postcss.ts:70:34)]\\n    [at run (turbopack:///[turbopack-node]/worker_threads/evaluate.ts:100:23)]\\n\\nImport trace:\\n  Browser:\\n    ./src/styles/globals.css\\n    ./src/pages/_app.tsx\\n\\n\",\"stack\":\"Error: ./src/styles/globals.css\\nError evaluating Node.js code\\nCssSyntaxError: tailwindcss: /root/actions-runner/_work/next.js/next.js/packages/next/src/styles/globals.css:1:1: Can't resolve 'tailwindcss' in '/root/actions-runner/_work/next.js/next.js/packages/next/src/styles'\\n    [at Input.error (turbopack:///[project]/node_modules/postcss/lib/input.js:135:16)]\\n    [at Root.error (turbopack:///[project]/node_modules/postcss/lib/node.js:146:32)]\\n    [at Object.Once (/tmp/next-test-o1l3a0iasvg/pages-tw-empty/node_modules/@tailwindcss/postcss/dist/index.js:10:6912)]\\n    [at LazyResult.runAsync (turbopack:///[project]/node_modules/postcss/lib/lazy-result.js:293:11)]\\n    [at transform (turbopack:///[turbopack-node]/transforms/postcss.ts:70:34)]\\n    [at run (turbopack:///[turbopack-node]/worker_threads/evaluate.ts:100:23)]\\n\\nImport trace:\\n  Browser:\\n    ./src/styles/globals.css\\n    ./src/pages/_app.tsx\\n\\n\\n    at Object.getCompilationErrors (/tmp/next-test-o1l3a0iasvg/pages-tw-empty/node_modules/next/dist/server/dev/hot-reloader-turbopack.js:1008:59)\\n    at DevBundlerService.getCompilationError (/tmp/next-test-o1l3a0iasvg/pages-tw-empty/node_modules/next/dist/server/lib/dev-bundler-service.js:44:55)\\n    at DevServer.getCompilationError (/tmp/next-test-o1l3a0iasvg/pages-tw-empty/node_modules/next/dist/server/dev/next-dev-server.js:705:42)\\n    at DevServer.findPageComponents (/tmp/next-test-o1l3a0iasvg/pages-tw-empty/node_modules/next/dist/server/dev/next-dev-server.js:675:43)\\n    at async DevServer.renderErrorToResponseImpl (/tmp/next-test-o1l3a0iasvg/pages-tw-empty/node_modules/next/dist/server/base-server.js:1689:26)\"},\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

  65 |     const res = await fetchViaHTTP(port, '/')
  66 |     if (isEmpty || isApi) {
> 67 |       expect(await res.text()).toContain('Hello world!')
     |                                ^
  68 |     } else {
  69 |       const responseText = await res.text()
  70 |       // App Router uses page.tsx/page.js, Pages Router uses index.tsx/index.js

  at toContain (integration/create-next-app/utils.ts:67:32)
  at integration/create-next-app/templates/pages.test.ts:242:7
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/pages.test.ts:211:5)

pnpm test test/integration/telemetry/test/index.test.ts (turbopack) (job)

  • Telemetry CLI > production mode > cli session: babel tooling config (DD)
  • Telemetry CLI > production mode > cli session: custom babel config (plugin) (DD)
  • Telemetry CLI > production mode > cli session: package.json custom babel config (plugin) (DD)
  • Telemetry CLI > production mode > cli session: custom babel config (preset) (DD)
  • Telemetry CLI > production mode > cli session: next config with webpack (DD)
  • Telemetry CLI > production mode > detect static 404 correctly for next build (DD)
  • Telemetry CLI > production mode > detect page counts correctly for next build (DD)
Expand output

● Telemetry CLI › production mode › cli session: babel tooling config

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  188 |       })
  189 |
> 190 |       it('cli session: babel tooling config', async () => {
      |       ^
  191 |         await fs.rename(
  192 |           path.join(appDir, '.babelrc.default'),
  193 |           path.join(appDir, '.babelrc')

  at it (integration/telemetry/test/index.test.ts:190:7)
  at integration/telemetry/test/index.test.ts:98:56
  at Object.describe (integration/telemetry/test/index.test.ts:13:1)

● Telemetry CLI › production mode › cli session: custom babel config (plugin)

TypeError: Cannot read properties of null (reading 'pop')

  231 |
  232 |         const event = /NEXT_CLI_SESSION_STARTED[\s\S]+?{([\s\S]+?)}/
> 233 |           .exec(stderr)
      |                 ^
  234 |           .pop()
  235 |
  236 |         expect(event).toMatch(/"hasNextConfig": false/)

  at Object.stderr (integration/telemetry/test/index.test.ts:233:17)

● Telemetry CLI › production mode › cli session: package.json custom babel config (plugin)

TypeError: Cannot read properties of null (reading 'pop')

  257 |
  258 |         const event = /NEXT_CLI_SESSION_STARTED[\s\S]+?{([\s\S]+?)}/
> 259 |           .exec(stderr)
      |                 ^
  260 |           .pop()
  261 |
  262 |         expect(event).toMatch(/"hasNextConfig": false/)

  at Object.stderr (integration/telemetry/test/index.test.ts:259:17)

● Telemetry CLI › production mode › cli session: custom babel config (preset)

TypeError: Cannot read properties of null (reading 'pop')

  283 |
  284 |         const event = /NEXT_CLI_SESSION_STARTED[\s\S]+?{([\s\S]+?)}/
> 285 |           .exec(stderr)
      |                 ^
  286 |           .pop()
  287 |
  288 |         expect(event).toMatch(/"hasNextConfig": false/)

  at Object.stderr (integration/telemetry/test/index.test.ts:285:17)

● Telemetry CLI › production mode › cli session: next config with webpack

TypeError: Cannot read properties of null (reading 'pop')

  309 |
  310 |         const event = /NEXT_CLI_SESSION_STARTED[\s\S]+?{([\s\S]+?)}/
> 311 |           .exec(stderr)
      |                 ^
  312 |           .pop()
  313 |
  314 |         expect(event).toMatch(/"hasNextConfig": true/)

  at Object.stderr (integration/telemetry/test/index.test.ts:311:17)

● Telemetry CLI › production mode › detect static 404 correctly for next build

TypeError: Cannot read properties of null (reading 'pop')

  342 |
  343 |         const event1 = /NEXT_BUILD_OPTIMIZED[\s\S]+?{([\s\S]+?)}/
> 344 |           .exec(stderr)
      |                 ^
  345 |           .pop()
  346 |         expect(event1).toMatch(/hasStatic404.*?true/)
  347 |       })

  at Object.stderr (integration/telemetry/test/index.test.ts:344:17)

● Telemetry CLI › production mode › detect page counts correctly for next build

TypeError: Cannot read properties of null (reading 'pop')

  354 |
  355 |         const event1 = /NEXT_BUILD_OPTIMIZED[\s\S]+?{([\s\S]+?)}/
> 356 |           .exec(stderr)
      |                 ^
  357 |           .pop()
  358 |         expect(event1).toMatch(/"staticPropsPageCount": 2/)
  359 |         expect(event1).toMatch(/"serverPropsPageCount": 2/)

  at Object.stderr (integration/telemetry/test/index.test.ts:356:17)

pnpm test-dev test/e2e/app-dir/cache-components-allow-otel-spans/cache-components-allow-otel-spans.test.ts (job)

  • hello-world > should allow creating spans during cache component validation without triggering sync IO bailouts - inside a Cache Component - without prerendering the page (DD)
  • hello-world > should allow creating spans during cache component validation without triggering sync IO bailouts - inside a Cache Component - with prerendering the page (DD)
  • hello-world > should allow creating spans during cache component validation without triggering sync IO bailouts - inside a Server Component - without prerendering the page (DD)
  • hello-world > should allow creating spans during cache component validation without triggering sync IO bailouts - inside a Server Component - with prerendering the page (DD)
Expand output

● hello-world › should allow creating spans during cache component validation without triggering sync IO bailouts - inside a Cache Component - without prerendering the page

Failed to start server after 15000ms, waiting for this log pattern: /✓ Ready in /

  471 |     return setTimeout(() => {
  472 |       reject(
> 473 |         new Error(
      |         ^
  474 |           `Failed to start server after ${ms}ms, waiting for this log pattern: ${this.serverReadyPattern}`
  475 |         )
  476 |       )

  at Timeout._onTimeout (lib/next-modes/base.ts:473:9)

● hello-world › should allow creating spans during cache component validation without triggering sync IO bailouts - inside a Cache Component - with prerendering the page

Failed to start server after 15000ms, waiting for this log pattern: /✓ Ready in /

  471 |     return setTimeout(() => {
  472 |       reject(
> 473 |         new Error(
      |         ^
  474 |           `Failed to start server after ${ms}ms, waiting for this log pattern: ${this.serverReadyPattern}`
  475 |         )
  476 |       )

  at Timeout._onTimeout (lib/next-modes/base.ts:473:9)

● hello-world › should allow creating spans during cache component validation without triggering sync IO bailouts - inside a Server Component - without prerendering the page

Failed to start server after 15000ms, waiting for this log pattern: /✓ Ready in /

  471 |     return setTimeout(() => {
  472 |       reject(
> 473 |         new Error(
      |         ^
  474 |           `Failed to start server after ${ms}ms, waiting for this log pattern: ${this.serverReadyPattern}`
  475 |         )
  476 |       )

  at Timeout._onTimeout (lib/next-modes/base.ts:473:9)

● hello-world › should allow creating spans during cache component validation without triggering sync IO bailouts - inside a Server Component - with prerendering the page

Failed to start server after 15000ms, waiting for this log pattern: /✓ Ready in /

  471 |     return setTimeout(() => {
  472 |       reject(
> 473 |         new Error(
      |         ^
  474 |           `Failed to start server after ${ms}ms, waiting for this log pattern: ${this.serverReadyPattern}`
  475 |         )
  476 |       )

  at Timeout._onTimeout (lib/next-modes/base.ts:473:9)

pnpm test-start-turbo test/e2e/filesystem-cache/filesystem-cache.test.ts (turbopack) (job)

  • filesystem-caching with cache disabled > should cache or not cache loaders (DD)
  • filesystem-caching with cache disabled > should allow to change files while stopped (RSC change) (DD)
  • filesystem-caching with cache disabled > should allow to change files while stopped (RCC change) (DD)
  • filesystem-caching with cache disabled > should allow to change files while stopped (Pages change) (DD)
  • filesystem-caching with cache disabled > should allow to change files while stopped (rename app page) (DD)
  • filesystem-caching with cache disabled > should allow to change files while stopped (next config change) (DD)
  • filesystem-caching with cache disabled > should allow to change files while stopped (env var change) (DD)
  • filesystem-caching with cache disabled > should allow to change files while stopped (RSC change, RCC change, Pages change, rename app page, next config change, env var change) (DD)
  • filesystem-caching with cache enabled > should cache or not cache loaders (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (RSC change) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (RCC change) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (Pages change) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (rename app page) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (next config change) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (env var change) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (RSC change, RCC change, Pages change, rename app page, next config change, env var change) (DD)
Expand output

● filesystem-caching with cache disabled › should cache or not cache loaders

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/filesystem-cache/filesystem-cache.test.ts:22:57
  at Object.describe (e2e/filesystem-cache/filesystem-cache.test.ts:6:3)

● filesystem-caching with cache disabled › should cache or not cache loaders

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache disabled › should allow to change files while stopped (RSC change)

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/filesystem-cache/filesystem-cache.test.ts:22:57
  at Object.describe (e2e/filesystem-cache/filesystem-cache.test.ts:6:3)

● filesystem-caching with cache disabled › should allow to change files while stopped (RSC change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache disabled › should allow to change files while stopped (RCC change)

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/filesystem-cache/filesystem-cache.test.ts:22:57
  at Object.describe (e2e/filesystem-cache/filesystem-cache.test.ts:6:3)

● filesystem-caching with cache disabled › should allow to change files while stopped (RCC change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache disabled › should allow to change files while stopped (Pages change)

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/filesystem-cache/filesystem-cache.test.ts:22:57
  at Object.describe (e2e/filesystem-cache/filesystem-cache.test.ts:6:3)

● filesystem-caching with cache disabled › should allow to change files while stopped (Pages change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache disabled › should allow to change files while stopped (rename app page)

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/filesystem-cache/filesystem-cache.test.ts:22:57
  at Object.describe (e2e/filesystem-cache/filesystem-cache.test.ts:6:3)

● filesystem-caching with cache disabled › should allow to change files while stopped (rename app page)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache disabled › should allow to change files while stopped (next config change)

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/filesystem-cache/filesystem-cache.test.ts:22:57
  at Object.describe (e2e/filesystem-cache/filesystem-cache.test.ts:6:3)

● filesystem-caching with cache disabled › should allow to change files while stopped (next config change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache disabled › should allow to change files while stopped (env var change)

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/filesystem-cache/filesystem-cache.test.ts:22:57
  at Object.describe (e2e/filesystem-cache/filesystem-cache.test.ts:6:3)

● filesystem-caching with cache disabled › should allow to change files while stopped (env var change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache disabled › should allow to change files while stopped (RSC change, RCC change, Pages change, rename app page, next config change, env var change)

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/filesystem-cache/filesystem-cache.test.ts:22:57
  at Object.describe (e2e/filesystem-cache/filesystem-cache.test.ts:6:3)

● filesystem-caching with cache disabled › should allow to change files while stopped (RSC change, RCC change, Pages change, rename app page, next config change, env var change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should cache or not cache loaders

createNext called without destroying previous instance

  174 |   try {
  175 |     if (nextInstance) {
> 176 |       throw new Error(`createNext called without destroying previous instance`)
      |             ^
  177 |     }
  178 |
  179 |     setupTracing()

  at createNext (lib/e2e-utils/index.ts:176:13)
  at Object.createNext (lib/e2e-utils/index.ts:272:20)

● filesystem-caching with cache enabled › should cache or not cache loaders

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (RSC change)

createNext called without destroying previous instance

  174 |   try {
  175 |     if (nextInstance) {
> 176 |       throw new Error(`createNext called without destroying previous instance`)
      |             ^
  177 |     }
  178 |
  179 |     setupTracing()

  at createNext (lib/e2e-utils/index.ts:176:13)
  at Object.createNext (lib/e2e-utils/index.ts:272:20)

● filesystem-caching with cache enabled › should allow to change files while stopped (RSC change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (RCC change)

createNext called without destroying previous instance

  174 |   try {
  175 |     if (nextInstance) {
> 176 |       throw new Error(`createNext called without destroying previous instance`)
      |             ^
  177 |     }
  178 |
  179 |     setupTracing()

  at createNext (lib/e2e-utils/index.ts:176:13)
  at Object.createNext (lib/e2e-utils/index.ts:272:20)

● filesystem-caching with cache enabled › should allow to change files while stopped (RCC change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (Pages change)

createNext called without destroying previous instance

  174 |   try {
  175 |     if (nextInstance) {
> 176 |       throw new Error(`createNext called without destroying previous instance`)
      |             ^
  177 |     }
  178 |
  179 |     setupTracing()

  at createNext (lib/e2e-utils/index.ts:176:13)
  at Object.createNext (lib/e2e-utils/index.ts:272:20)

● filesystem-caching with cache enabled › should allow to change files while stopped (Pages change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (rename app page)

createNext called without destroying previous instance

  174 |   try {
  175 |     if (nextInstance) {
> 176 |       throw new Error(`createNext called without destroying previous instance`)
      |             ^
  177 |     }
  178 |
  179 |     setupTracing()

  at createNext (lib/e2e-utils/index.ts:176:13)
  at Object.createNext (lib/e2e-utils/index.ts:272:20)

● filesystem-caching with cache enabled › should allow to change files while stopped (rename app page)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (next config change)

createNext called without destroying previous instance

  174 |   try {
  175 |     if (nextInstance) {
> 176 |       throw new Error(`createNext called without destroying previous instance`)
      |             ^
  177 |     }
  178 |
  179 |     setupTracing()

  at createNext (lib/e2e-utils/index.ts:176:13)
  at Object.createNext (lib/e2e-utils/index.ts:272:20)

● filesystem-caching with cache enabled › should allow to change files while stopped (next config change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (env var change)

createNext called without destroying previous instance

  174 |   try {
  175 |     if (nextInstance) {
> 176 |       throw new Error(`createNext called without destroying previous instance`)
      |             ^
  177 |     }
  178 |
  179 |     setupTracing()

  at createNext (lib/e2e-utils/index.ts:176:13)
  at Object.createNext (lib/e2e-utils/index.ts:272:20)

● filesystem-caching with cache enabled › should allow to change files while stopped (env var change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (RSC change, RCC change, Pages change, rename app page, next config change, env var change)

createNext called without destroying previous instance

  174 |   try {
  175 |     if (nextInstance) {
> 176 |       throw new Error(`createNext called without destroying previous instance`)
      |             ^
  177 |     }
  178 |
  179 |     setupTracing()

  at createNext (lib/e2e-utils/index.ts:176:13)
  at Object.createNext (lib/e2e-utils/index.ts:272:20)

● filesystem-caching with cache enabled › should allow to change files while stopped (RSC change, RCC change, Pages change, rename app page, next config change, env var change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

pnpm test test/integration/babel-custom/test/index.test.ts (turbopack) (job)

  • Babel > should allow setting babelrc env (DD)
  • Babel > should allow setting targets.browsers (DD)
  • Babel > should allow setting targets to a string (DD)
  • Babel > should allow babelrc JSON5 syntax (DD)
Expand output

● Babel › should allow setting babelrc env

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

   5 |
   6 | describe('Babel', () => {
>  7 |   it('should allow setting babelrc env', async () => {
     |   ^
   8 |     await nextBuild(join(__dirname, '../fixtures/babel-env'))
   9 |   })
  10 |

  at it (integration/babel-custom/test/index.test.ts:7:3)
  at Object.describe (integration/babel-custom/test/index.test.ts:6:1)

● Babel › should allow setting targets.browsers

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

   9 |   })
  10 |
> 11 |   it('should allow setting targets.browsers', async () => {
     |   ^
  12 |     await nextBuild(join(__dirname, '../fixtures/targets-browsers'))
  13 |   })
  14 |

  at it (integration/babel-custom/test/index.test.ts:11:3)
  at Object.describe (integration/babel-custom/test/index.test.ts:6:1)

● Babel › should allow setting targets to a string

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  13 |   })
  14 |
> 15 |   it('should allow setting targets to a string', async () => {
     |   ^
  16 |     await nextBuild(join(__dirname, '../fixtures/targets-string'))
  17 |   })
  18 |

  at it (integration/babel-custom/test/index.test.ts:15:3)
  at Object.describe (integration/babel-custom/test/index.test.ts:6:1)

● Babel › should allow babelrc JSON5 syntax

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  17 |   })
  18 |
> 19 |   it('should allow babelrc JSON5 syntax', async () => {
     |   ^
  20 |     await nextBuild(join(__dirname, '../fixtures/babel-json5'))
  21 |   })
  22 | })

  at it (integration/babel-custom/test/index.test.ts:19:3)
  at Object.describe (integration/babel-custom/test/index.test.ts:6:1)

pnpm test-dev-turbo test/e2e/app-dir/app-css/index.test.ts (turbopack) (job)

  • app dir - css > HMR > should support HMR with sass/scss (DD)
Expand output

● app dir - css › HMR › should support HMR with sass/scss

TIMED OUT: rgb(255, 0, 0)

rgb(165, 42, 42)

undefined

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (e2e/app-dir/app-css/index.test.ts:859:11)

pnpm test-start test/e2e/app-dir/segment-cache/prefetch-layout-sharing/prefetch-layout-sharing.test.ts (job)

  • layout sharing in non-static prefetches > segment-level prefetch config > uses a runtime prefetch for sub-pages of runtime-prefetchable layouts if requested (DD)
Expand output

● layout sharing in non-static prefetches › segment-level prefetch config › uses a runtime prefetch for sub-pages of runtime-prefetchable layouts if requested

thrown: "Exceeded timeout of 120000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  691 |     })
  692 |
> 693 |     it('uses a runtime prefetch for sub-pages of runtime-prefetchable layouts if requested', async () => {
      |     ^
  694 |       let page: Playwright.Page
  695 |       const browser = await next.browser('/', {
  696 |         beforePageLoad(p: Playwright.Page) {

  at it (e2e/app-dir/segment-cache/prefetch-layout-sharing/prefetch-layout-sharing.test.ts:693:5)
  at describe (e2e/app-dir/segment-cache/prefetch-layout-sharing/prefetch-layout-sharing.test.ts:584:3)
  at Object.describe (e2e/app-dir/segment-cache/prefetch-layout-sharing/prefetch-layout-sharing.test.ts:6:1)

pnpm test test/integration/create-next-app/templates/matrix.test.ts (turbopack) (job)

  • CNA options matrix - app > --app --turbopack --js --import-alias=@acme/* --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - app > --app --turbopack --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --tailwind (DD)
  • CNA options matrix - app > --app --turbopack --js --import-alias=@/* --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - app > --app --turbopack --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --tailwind (DD)
  • CNA options matrix - app > --app --turbopack --js --no-import-alias --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - app > --app --turbopack --js --no-import-alias --eslint --no-src-dir --no-react-compiler --tailwind (DD)
  • CNA options matrix - app > --app --turbopack --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - app > --app --turbopack --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --tailwind (DD)
  • CNA options matrix - app > --app --turbopack --ts --import-alias=@/* --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - app > --app --turbopack --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --tailwind (DD)
  • CNA options matrix - app > --app --turbopack --ts --no-import-alias --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - app > --app --turbopack --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --js --import-alias=@acme/* --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --js --import-alias=@/* --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --js --no-import-alias --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --js --no-import-alias --eslint --no-src-dir --no-react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --ts --import-alias=@/* --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --ts --no-import-alias --eslint --src-dir --react-compiler --tailwind (DD)
  • CNA options matrix - pages > --no-app --turbopack --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --tailwind (DD)
Expand output

● CNA options matrix - app › --app --turbopack --js --import-alias=@acme/* --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - app › --app --turbopack --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - app › --app --turbopack --js --import-alias=@/* --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - app › --app --turbopack --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - app › --app --turbopack --js --no-import-alias --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - app › --app --turbopack --js --no-import-alias --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - app › --app --turbopack --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - app › --app --turbopack --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - app › --app --turbopack --ts --import-alias=@/* --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - app › --app --turbopack --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - app › --app --turbopack --ts --no-import-alias --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - app › --app --turbopack --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --js --import-alias=@acme/* --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --js --import-alias=@/* --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --js --no-import-alias --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --js --no-import-alias --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --ts --import-alias=@/* --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --ts --no-import-alias --eslint --src-dir --react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

● CNA options matrix - pages › --no-app --turbopack --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --tailwind

expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  75 |         responseText.includes('To get started, edit the index.tsx file.') ||
  76 |         responseText.includes('To get started, edit the index.js file.')
> 77 |       expect(hasAppRouterText || hasPagesRouterText).toBe(true)
     |                                                      ^
  78 |     }
  79 |     expect(res.status).toBe(200)
  80 |

  at toBe (integration/create-next-app/utils.ts:77:54)
  at integration/create-next-app/templates/matrix.test.ts:81:9
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at integration/create-next-app/templates/matrix.test.ts:66:7

@ijjk
Copy link
Member

ijjk commented Nov 18, 2025

Stats from current PR

Default Build (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary utooland/next.js refactor/turbopack-node-napi Change
buildDuration 22.3s 18.9s N/A
buildDurationCached 17.5s 14.3s N/A
nodeModulesSize 457 MB 457 MB ⚠️ +29.9 kB
nextStartRea..uration (ms) 669ms 708ms N/A
Client Bundles (main, webpack) Overall increase ⚠️
vercel/next.js canary utooland/next.js refactor/turbopack-node-napi Change
436-HASH.js gzip 5.32 kB 5.32 kB N/A
4779.HASH.js gzip 169 B 169 B
9760-HASH.js gzip 52.4 kB 52.7 kB ⚠️ +224 B
c57d0559-HASH.js gzip 62.3 kB 62.3 kB N/A
framework-HASH.js gzip 59.8 kB 59.8 kB
main-app-HASH.js gzip 254 B 257 B N/A
main-HASH.js gzip 38.3 kB 38.3 kB N/A
webpack-HASH.js gzip 1.69 kB 1.69 kB
Overall change 114 kB 114 kB ⚠️ +224 B
Legacy Client Bundles (polyfills)
vercel/next.js canary utooland/next.js refactor/turbopack-node-napi 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 utooland/next.js refactor/turbopack-node-napi Change
_app-HASH.js gzip 193 B 194 B N/A
_error-HASH.js gzip 182 B 182 B
css-HASH.js gzip 334 B 334 B
dynamic-HASH.js gzip 1.81 kB 1.81 kB N/A
edge-ssr-HASH.js gzip 255 B 254 B N/A
head-HASH.js gzip 350 B 351 B N/A
hooks-HASH.js gzip 384 B 384 B
image-HASH.js gzip 4.78 kB 4.77 kB N/A
index-HASH.js gzip 260 B 259 B N/A
link-HASH.js gzip 2.5 kB 2.5 kB N/A
routerDirect..HASH.js gzip 316 B 320 B N/A
script-HASH.js gzip 388 B 388 B
withRouter-HASH.js gzip 316 B 314 B N/A
1afbb74e6ecf..834.css gzip 106 B 106 B
Overall change 1.39 kB 1.39 kB
Client Build Manifests
vercel/next.js canary utooland/next.js refactor/turbopack-node-napi Change
_buildManifest.js gzip 718 B 720 B N/A
Overall change 0 B 0 B
Rendered Page Sizes
vercel/next.js canary utooland/next.js refactor/turbopack-node-napi Change
index.html gzip 522 B 523 B N/A
link.html gzip 537 B 538 B N/A
withRouter.html gzip 520 B 519 B N/A
Overall change 0 B 0 B
Edge SSR bundle Size Overall increase ⚠️
vercel/next.js canary utooland/next.js refactor/turbopack-node-napi Change
edge-ssr.js gzip 126 kB 126 kB N/A
page.js gzip 233 kB 234 kB ⚠️ +1.4 kB
Overall change 233 kB 234 kB ⚠️ +1.4 kB
Middleware size Overall increase ⚠️
vercel/next.js canary utooland/next.js refactor/turbopack-node-napi Change
middleware-b..fest.js gzip 637 B 638 B N/A
middleware-r..fest.js gzip 156 B 156 B
middleware.js gzip 32.6 kB 32.9 kB ⚠️ +245 B
edge-runtime..pack.js gzip 846 B 846 B
Overall change 33.6 kB 33.9 kB ⚠️ +245 B
Next Runtimes
vercel/next.js canary utooland/next.js refactor/turbopack-node-napi Change
app-page-exp...dev.js gzip 299 kB 299 kB
app-page-exp..prod.js gzip 154 kB 154 kB
app-page-tur...dev.js gzip 299 kB 299 kB N/A
app-page-tur..prod.js gzip 154 kB 154 kB
app-page-tur...dev.js gzip 296 kB 296 kB N/A
app-page-tur..prod.js gzip 152 kB 152 kB
app-page.run...dev.js gzip 296 kB 296 kB N/A
app-page.run..prod.js gzip 152 kB 152 kB
app-route-ex...dev.js gzip 68.5 kB 68.5 kB
app-route-ex..prod.js gzip 47.3 kB 47.3 kB
app-route-tu...dev.js gzip 68.5 kB 68.5 kB
app-route-tu..prod.js gzip 47.3 kB 47.3 kB
app-route-tu...dev.js gzip 68.1 kB 68.1 kB
app-route-tu..prod.js gzip 47.1 kB 47.1 kB
app-route.ru...dev.js gzip 68.1 kB 68.1 kB
app-route.ru..prod.js gzip 47.1 kB 47.1 kB
dist_client_...dev.js gzip 326 B 326 B
dist_client_...dev.js gzip 328 B 328 B
dist_client_...dev.js gzip 320 B 320 B
dist_client_...dev.js gzip 318 B 318 B
pages-api-tu...dev.js gzip 40.9 kB 40.9 kB
pages-api-tu..prod.js gzip 31 kB 31 kB
pages-api.ru...dev.js gzip 40.8 kB 40.8 kB
pages-api.ru..prod.js gzip 30.9 kB 30.9 kB
pages-turbo....dev.js gzip 50.3 kB 50.3 kB
pages-turbo...prod.js gzip 37.8 kB 37.8 kB
pages.runtim...dev.js gzip 50.3 kB 50.3 kB
pages.runtim..prod.js gzip 37.8 kB 37.8 kB
server.runti..prod.js gzip 60.5 kB 60.5 kB
Overall change 1.75 MB 1.75 MB
build cache Overall increase ⚠️
vercel/next.js canary utooland/next.js refactor/turbopack-node-napi Change
0.pack gzip 3.1 MB 3.1 MB ⚠️ +1.38 kB
index.pack gzip 93.7 kB 93.3 kB N/A
Overall change 3.1 MB 3.1 MB ⚠️ +1.38 kB
Diff details
Diff for page.js

Diff too large to display

Diff for middleware.js

Diff too large to display

Diff for edge-ssr.js
failed to diff
Diff for dynamic-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [2291],
   {
-    /***/ 1033: /***/ (
+    /***/ 431: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/dynamic",
         function () {
-          return __webpack_require__(6490);
+          return __webpack_require__(8084);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 5323: /***/ (
+    /***/ 2699: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -60,7 +60,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
       const _react = /*#__PURE__*/ _interop_require_default._(
         __webpack_require__(2223)
       );
-      const _loadablecontextsharedruntime = __webpack_require__(9289);
+      const _loadablecontextsharedruntime = __webpack_require__(3785);
       function resolve(obj) {
         return obj && obj.default ? obj.default : obj;
       }
@@ -293,73 +293,34 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
       /***/
     },
 
-    /***/ 6490: /***/ (
+    /***/ 3785: /***/ (
       __unused_webpack_module,
-      __webpack_exports__,
+      exports,
       __webpack_require__
     ) => {
       "use strict";
-      __webpack_require__.r(__webpack_exports__);
-      /* harmony export */ __webpack_require__.d(__webpack_exports__, {
-        /* harmony export */ __N_SSP: () => /* binding */ __N_SSP,
-        /* harmony export */ default: () => __WEBPACK_DEFAULT_EXPORT__,
-        /* harmony export */
+      /* __next_internal_client_entry_do_not_use__  cjs */
+      Object.defineProperty(exports, "__esModule", {
+        value: true,
       });
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(1503);
-      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(7320);
-      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1___default =
-        /*#__PURE__*/ __webpack_require__.n(
-          next_dynamic__WEBPACK_IMPORTED_MODULE_1__
-        );
-
-      const DynamicHello = next_dynamic__WEBPACK_IMPORTED_MODULE_1___default()(
-        () =>
-          __webpack_require__
-            .e(/* import() */ 4779)
-            .then(__webpack_require__.bind(__webpack_require__, 4779))
-            .then((mod) => mod.Hello),
-        {
-          loadableGenerated: {
-            webpack: () => [/*require.resolve*/ 4779],
-          },
-        }
+      Object.defineProperty(exports, "LoadableContext", {
+        enumerable: true,
+        get: function () {
+          return LoadableContext;
+        },
+      });
+      const _interop_require_default = __webpack_require__(1532);
+      const _react = /*#__PURE__*/ _interop_require_default._(
+        __webpack_require__(2223)
       );
-      const Page = () =>
-        /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(
-          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,
-          {
-            children: [
-              /*#__PURE__*/ (0,
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
-                children: "testing next/dynamic size",
-              }),
-              /*#__PURE__*/ (0,
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
-                DynamicHello,
-                {}
-              ),
-            ],
-          }
-        );
-      var __N_SSP = true;
-      /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = Page;
-
-      /***/
-    },
-
-    /***/ 7320: /***/ (
-      module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      module.exports = __webpack_require__(7340);
+      const LoadableContext = _react.default.createContext(null);
+      if (false) {
+      } //# sourceMappingURL=loadable-context.shared-runtime.js.map
 
       /***/
     },
 
-    /***/ 7340: /***/ (module, exports, __webpack_require__) => {
+    /***/ 6828: /***/ (module, exports, __webpack_require__) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -392,7 +353,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
         __webpack_require__(2223)
       );
       const _loadablesharedruntime = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(5323)
+        __webpack_require__(2699)
       );
       const isServerSide = "object" === "undefined";
       // Normalize loader to return the module as form { default: Component } for `React.lazy`.
@@ -492,29 +453,68 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
       /***/
     },
 
-    /***/ 9289: /***/ (
+    /***/ 7514: /***/ (
+      module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      module.exports = __webpack_require__(6828);
+
+      /***/
+    },
+
+    /***/ 8084: /***/ (
       __unused_webpack_module,
-      exports,
+      __webpack_exports__,
       __webpack_require__
     ) => {
       "use strict";
-      /* __next_internal_client_entry_do_not_use__  cjs */
-      Object.defineProperty(exports, "__esModule", {
-        value: true,
-      });
-      Object.defineProperty(exports, "LoadableContext", {
-        enumerable: true,
-        get: function () {
-          return LoadableContext;
-        },
+      __webpack_require__.r(__webpack_exports__);
+      /* harmony export */ __webpack_require__.d(__webpack_exports__, {
+        /* harmony export */ __N_SSP: () => /* binding */ __N_SSP,
+        /* harmony export */ default: () => __WEBPACK_DEFAULT_EXPORT__,
+        /* harmony export */
       });
-      const _interop_require_default = __webpack_require__(1532);
-      const _react = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(2223)
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
+        __webpack_require__(1503);
+      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ =
+        __webpack_require__(7514);
+      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1___default =
+        /*#__PURE__*/ __webpack_require__.n(
+          next_dynamic__WEBPACK_IMPORTED_MODULE_1__
+        );
+
+      const DynamicHello = next_dynamic__WEBPACK_IMPORTED_MODULE_1___default()(
+        () =>
+          __webpack_require__
+            .e(/* import() */ 9573)
+            .then(__webpack_require__.bind(__webpack_require__, 9573))
+            .then((mod) => mod.Hello),
+        {
+          loadableGenerated: {
+            webpack: () => [/*require.resolve*/ 9573],
+          },
+        }
       );
-      const LoadableContext = _react.default.createContext(null);
-      if (false) {
-      } //# sourceMappingURL=loadable-context.shared-runtime.js.map
+      const Page = () =>
+        /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(
+          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,
+          {
+            children: [
+              /*#__PURE__*/ (0,
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
+                children: "testing next/dynamic size",
+              }),
+              /*#__PURE__*/ (0,
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
+                DynamicHello,
+                {}
+              ),
+            ],
+          }
+        );
+      var __N_SSP = true;
+      /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = Page;
 
       /***/
     },
@@ -524,7 +524,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>
-      __webpack_exec__(1033)
+      __webpack_exec__(431)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for edge-ssr-HASH.js
@@ -1,24 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [676],
   {
-    /***/ 1819: /***/ (
-      __unused_webpack_module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      (window.__NEXT_P = window.__NEXT_P || []).push([
-        "/edge-ssr",
-        function () {
-          return __webpack_require__(7521);
-        },
-      ]);
-      if (false) {
-      }
-
-      /***/
-    },
-
-    /***/ 7521: /***/ (
+    /***/ 983: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -37,13 +20,30 @@
 
       /***/
     },
+
+    /***/ 985: /***/ (
+      __unused_webpack_module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      (window.__NEXT_P = window.__NEXT_P || []).push([
+        "/edge-ssr",
+        function () {
+          return __webpack_require__(983);
+        },
+      ]);
+      if (false) {
+      }
+
+      /***/
+    },
   },
   /******/ (__webpack_require__) => {
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>
-      __webpack_exec__(1819)
+      __webpack_exec__(985)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for head-HASH.js
@@ -1,34 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [5350],
   {
-    /***/ 619: /***/ (
-      __unused_webpack_module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      (window.__NEXT_P = window.__NEXT_P || []).push([
-        "/head",
-        function () {
-          return __webpack_require__(9891);
-        },
-      ]);
-      if (false) {
-      }
-
-      /***/
-    },
-
-    /***/ 7997: /***/ (
-      module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      module.exports = __webpack_require__(6705);
-
-      /***/
-    },
-
-    /***/ 9891: /***/ (
+    /***/ 1417: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -43,7 +16,7 @@
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
         __webpack_require__(1503);
       /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(7997);
+        __webpack_require__(5171);
       /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1___default =
         /*#__PURE__*/ __webpack_require__.n(
           next_head__WEBPACK_IMPORTED_MODULE_1__
@@ -76,13 +49,40 @@
 
       /***/
     },
+
+    /***/ 1937: /***/ (
+      __unused_webpack_module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      (window.__NEXT_P = window.__NEXT_P || []).push([
+        "/head",
+        function () {
+          return __webpack_require__(1417);
+        },
+      ]);
+      if (false) {
+      }
+
+      /***/
+    },
+
+    /***/ 5171: /***/ (
+      module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      module.exports = __webpack_require__(7505);
+
+      /***/
+    },
   },
   /******/ (__webpack_require__) => {
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>
-      __webpack_exec__(619)
+      __webpack_exec__(1937)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for hooks-HASH.js
@@ -1,24 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [9804],
   {
-    /***/ 1679: /***/ (
-      __unused_webpack_module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      (window.__NEXT_P = window.__NEXT_P || []).push([
-        "/hooks",
-        function () {
-          return __webpack_require__(4655);
-        },
-      ]);
-      if (false) {
-      }
-
-      /***/
-    },
-
-    /***/ 4655: /***/ (
+    /***/ 1598: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -76,13 +59,30 @@
 
       /***/
     },
+
+    /***/ 3925: /***/ (
+      __unused_webpack_module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      (window.__NEXT_P = window.__NEXT_P || []).push([
+        "/hooks",
+        function () {
+          return __webpack_require__(1598);
+        },
+      ]);
+      if (false) {
+      }
+
+      /***/
+    },
   },
   /******/ (__webpack_require__) => {
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>
-      __webpack_exec__(1679)
+      __webpack_exec__(3925)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for image-HASH.js
@@ -1,24 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [2983],
   {
-    /***/ 797: /***/ (
-      __unused_webpack_module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      (window.__NEXT_P = window.__NEXT_P || []).push([
-        "/image",
-        function () {
-          return __webpack_require__(5999);
-        },
-      ]);
-      if (false) {
-      }
-
-      /***/
-    },
-
-    /***/ 1713: /***/ (__unused_webpack_module, exports) => {
+    /***/ 881: /***/ (__unused_webpack_module, exports) => {
       "use strict";
       /**
        * A shared function, used on both client and server, to generate a SVG blur placeholder.
@@ -58,7 +41,7 @@
       /***/
     },
 
-    /***/ 2263: /***/ (module, exports, __webpack_require__) => {
+    /***/ 1511: /***/ (module, exports, __webpack_require__) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -136,7 +119,137 @@
       /***/
     },
 
-    /***/ 2728: /***/ (module, exports, __webpack_require__) => {
+    /***/ 1744: /***/ (
+      __unused_webpack_module,
+      exports,
+      __webpack_require__
+    ) => {
+      "use strict";
+
+      Object.defineProperty(exports, "__esModule", {
+        value: true,
+      });
+      Object.defineProperty(exports, "default", {
+        enumerable: true,
+        get: function () {
+          return _default;
+        },
+      });
+      const _findclosestquality = __webpack_require__(7054);
+      function defaultLoader({ config, src, width, quality }) {
+        if (
+          src.startsWith("/") &&
+          src.includes("?") &&
+          config.localPatterns?.length === 1 &&
+          config.localPatterns[0].pathname === "**" &&
+          config.localPatterns[0].search === ""
+        ) {
+          throw Object.defineProperty(
+            new Error(
+              `Image with src "${src}" is using a query string which is not configured in images.localPatterns.` +
+                `\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`
+            ),
+            "__NEXT_ERROR_CODE",
+            {
+              value: "E871",
+              enumerable: false,
+              configurable: true,
+            }
+          );
+        }
+        if (false) {
+        }
+        const q = (0, _findclosestquality.findClosestQuality)(quality, config);
+        return `${config.path}?url=${encodeURIComponent(
+          src
+        )}&w=${width}&q=${q}${
+          src.startsWith("/_next/static/media/") && false ? 0 : ""
+        }`;
+      }
+      // We use this to determine if the import is the default loader
+      // or a custom loader defined by the user in next.config.js
+      defaultLoader.__next_img_default = true;
+      const _default = defaultLoader; //# sourceMappingURL=image-loader.js.map
+
+      /***/
+    },
+
+    /***/ 2388: /***/ (
+      __unused_webpack_module,
+      __webpack_exports__,
+      __webpack_require__
+    ) => {
+      "use strict";
+      // ESM COMPAT FLAG
+      __webpack_require__.r(__webpack_exports__);
+
+      // EXPORTS
+      __webpack_require__.d(__webpack_exports__, {
+        __N_SSP: () => /* binding */ __N_SSP,
+        default: () => /* binding */ pages_image,
+      });
+
+      // EXTERNAL MODULE: ./node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js
+      var jsx_runtime = __webpack_require__(1503);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@[email protected][email protected][email protected]/node_modules/next/image.js
+      var next_image = __webpack_require__(3866);
+      var image_default = /*#__PURE__*/ __webpack_require__.n(next_image); // ./pages/nextjs.png
+      /* harmony default export */ const nextjs = {
+        src: "/_next/static/media/nextjs.cae0b805.png",
+        height: 1347,
+        width: 1626,
+        blurDataURL:
+          "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAD1BMVEX////x8fH6+vrb29vo6Oh8o70bAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAH0lEQVR4nGNgwARMjIyMjCAGCzMzMwsTRISJCcRABwAEcAAkLCQfgAAAAABJRU5ErkJggg==",
+        blurWidth: 8,
+        blurHeight: 7,
+      }; // ./pages/image.js
+      function ImagePage(props) {
+        return /*#__PURE__*/ (0, jsx_runtime.jsxs)(jsx_runtime.Fragment, {
+          children: [
+            /*#__PURE__*/ (0, jsx_runtime.jsx)("h1", {
+              children: "next/image example",
+            }),
+            /*#__PURE__*/ (0, jsx_runtime.jsx)(image_default(), {
+              src: nextjs,
+              placeholder: "blur",
+            }),
+          ],
+        });
+      }
+      var __N_SSP = true;
+      /* harmony default export */ const pages_image = ImagePage;
+
+      /***/
+    },
+
+    /***/ 3866: /***/ (
+      module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      module.exports = __webpack_require__(6888);
+
+      /***/
+    },
+
+    /***/ 4483: /***/ (
+      __unused_webpack_module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      (window.__NEXT_P = window.__NEXT_P || []).push([
+        "/image",
+        function () {
+          return __webpack_require__(2388);
+        },
+      ]);
+      if (false) {
+      }
+
+      /***/
+    },
+
+    /***/ 6600: /***/ (module, exports, __webpack_require__) => {
       "use strict";
       /* __next_internal_client_entry_do_not_use__  cjs */
       Object.defineProperty(exports, "__esModule", {
@@ -158,17 +271,17 @@
         __webpack_require__(9507)
       );
       const _head = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(6705)
+        __webpack_require__(7505)
       );
-      const _getimgprops = __webpack_require__(3556);
-      const _imageconfig = __webpack_require__(3157);
-      const _imageconfigcontextsharedruntime = __webpack_require__(9323);
-      const _warnonce = __webpack_require__(6173);
-      const _routercontextsharedruntime = __webpack_require__(6046);
+      const _getimgprops = __webpack_require__(9588);
+      const _imageconfig = __webpack_require__(2645);
+      const _imageconfigcontextsharedruntime = __webpack_require__(5451);
+      const _warnonce = __webpack_require__(7549);
+      const _routercontextsharedruntime = __webpack_require__(5470);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(3744)
+        __webpack_require__(1744)
       );
-      const _usemergedref = __webpack_require__(2263);
+      const _usemergedref = __webpack_require__(1511);
       // This is replaced by webpack define plugin
       const configEnv = {
         deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
@@ -495,7 +608,96 @@
       /***/
     },
 
-    /***/ 3556: /***/ (
+    /***/ 6888: /***/ (
+      __unused_webpack_module,
+      exports,
+      __webpack_require__
+    ) => {
+      "use strict";
+
+      Object.defineProperty(exports, "__esModule", {
+        value: true,
+      });
+      0 && 0;
+      function _export(target, all) {
+        for (var name in all)
+          Object.defineProperty(target, name, {
+            enumerable: true,
+            get: all[name],
+          });
+      }
+      _export(exports, {
+        default: function () {
+          return _default;
+        },
+        getImageProps: function () {
+          return getImageProps;
+        },
+      });
+      const _interop_require_default = __webpack_require__(1532);
+      const _getimgprops = __webpack_require__(9588);
+      const _imagecomponent = __webpack_require__(6600);
+      const _imageloader = /*#__PURE__*/ _interop_require_default._(
+        __webpack_require__(1744)
+      );
+      function getImageProps(imgProps) {
+        const { props } = (0, _getimgprops.getImgProps)(imgProps, {
+          defaultLoader: _imageloader.default,
+          // This is replaced by webpack define plugin
+          imgConf: {
+            deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
+            imageSizes: [32, 48, 64, 96, 128, 256, 384],
+            qualities: [75],
+            path: "/_next/image",
+            loader: "default",
+            dangerouslyAllowSVG: false,
+            unoptimized: false,
+          },
+        });
+        // Normally we don't care about undefined props because we pass to JSX,
+        // but this exported function could be used by the end user for anything
+        // so we delete undefined props to clean it up a little.
+        for (const [key, value] of Object.entries(props)) {
+          if (value === undefined) {
+            delete props[key];
+          }
+        }
+        return {
+          props,
+        };
+      }
+      const _default = _imagecomponent.Image; //# sourceMappingURL=image-external.js.map
+
+      /***/
+    },
+
+    /***/ 7054: /***/ (__unused_webpack_module, exports) => {
+      "use strict";
+
+      Object.defineProperty(exports, "__esModule", {
+        value: true,
+      });
+      Object.defineProperty(exports, "findClosestQuality", {
+        enumerable: true,
+        get: function () {
+          return findClosestQuality;
+        },
+      });
+      function findClosestQuality(quality, config) {
+        const q = quality || 75;
+        if (!config?.qualities?.length) {
+          return q;
+        }
+        return config.qualities.reduce(
+          (prev, cur) => (Math.abs(cur - q) < Math.abs(prev - q) ? cur : prev),
+          0
+        );
+      } //# sourceMappingURL=find-closest-quality.js.map
+
+      /***/
+    },
+
+    /***/ 9588: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -511,9 +713,9 @@
           return getImgProps;
         },
       });
-      const _warnonce = __webpack_require__(6173);
-      const _imageblursvg = __webpack_require__(1713);
-      const _imageconfig = __webpack_require__(3157);
+      const _warnonce = __webpack_require__(7549);
+      const _imageblursvg = __webpack_require__(881);
+      const _imageconfig = __webpack_require__(2645);
       const VALID_LOADING_VALUES =
         /* unused pure expression or super */ null && [
           "lazy",
@@ -943,215 +1145,13 @@
 
       /***/
     },
-
-    /***/ 3744: /***/ (
-      __unused_webpack_module,
-      exports,
-      __webpack_require__
-    ) => {
-      "use strict";
-
-      Object.defineProperty(exports, "__esModule", {
-        value: true,
-      });
-      Object.defineProperty(exports, "default", {
-        enumerable: true,
-        get: function () {
-          return _default;
-        },
-      });
-      const _findclosestquality = __webpack_require__(8494);
-      function defaultLoader({ config, src, width, quality }) {
-        if (
-          src.startsWith("/") &&
-          src.includes("?") &&
-          config.localPatterns?.length === 1 &&
-          config.localPatterns[0].pathname === "**" &&
-          config.localPatterns[0].search === ""
-        ) {
-          throw Object.defineProperty(
-            new Error(
-              `Image with src "${src}" is using a query string which is not configured in images.localPatterns.` +
-                `\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`
-            ),
-            "__NEXT_ERROR_CODE",
-            {
-              value: "E871",
-              enumerable: false,
-              configurable: true,
-            }
-          );
-        }
-        if (false) {
-        }
-        const q = (0, _findclosestquality.findClosestQuality)(quality, config);
-        return `${config.path}?url=${encodeURIComponent(
-          src
-        )}&w=${width}&q=${q}${
-          src.startsWith("/_next/static/media/") && false ? 0 : ""
-        }`;
-      }
-      // We use this to determine if the import is the default loader
-      // or a custom loader defined by the user in next.config.js
-      defaultLoader.__next_img_default = true;
-      const _default = defaultLoader; //# sourceMappingURL=image-loader.js.map
-
-      /***/
-    },
-
-    /***/ 4292: /***/ (
-      module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      module.exports = __webpack_require__(7896);
-
-      /***/
-    },
-
-    /***/ 5999: /***/ (
-      __unused_webpack_module,
-      __webpack_exports__,
-      __webpack_require__
-    ) => {
-      "use strict";
-      // ESM COMPAT FLAG
-      __webpack_require__.r(__webpack_exports__);
-
-      // EXPORTS
-      __webpack_require__.d(__webpack_exports__, {
-        __N_SSP: () => /* binding */ __N_SSP,
-        default: () => /* binding */ pages_image,
-      });
-
-      // EXTERNAL MODULE: ./node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js
-      var jsx_runtime = __webpack_require__(1503);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@[email protected][email protected][email protected]/node_modules/next/image.js
-      var next_image = __webpack_require__(4292);
-      var image_default = /*#__PURE__*/ __webpack_require__.n(next_image); // ./pages/nextjs.png
-      /* harmony default export */ const nextjs = {
-        src: "/_next/static/media/nextjs.cae0b805.png",
-        height: 1347,
-        width: 1626,
-        blurDataURL:
-          "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAD1BMVEX////x8fH6+vrb29vo6Oh8o70bAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAH0lEQVR4nGNgwARMjIyMjCAGCzMzMwsTRISJCcRABwAEcAAkLCQfgAAAAABJRU5ErkJggg==",
-        blurWidth: 8,
-        blurHeight: 7,
-      }; // ./pages/image.js
-      function ImagePage(props) {
-        return /*#__PURE__*/ (0, jsx_runtime.jsxs)(jsx_runtime.Fragment, {
-          children: [
-            /*#__PURE__*/ (0, jsx_runtime.jsx)("h1", {
-              children: "next/image example",
-            }),
-            /*#__PURE__*/ (0, jsx_runtime.jsx)(image_default(), {
-              src: nextjs,
-              placeholder: "blur",
-            }),
-          ],
-        });
-      }
-      var __N_SSP = true;
-      /* harmony default export */ const pages_image = ImagePage;
-
-      /***/
-    },
-
-    /***/ 7896: /***/ (
-      __unused_webpack_module,
-      exports,
-      __webpack_require__
-    ) => {
-      "use strict";
-
-      Object.defineProperty(exports, "__esModule", {
-        value: true,
-      });
-      0 && 0;
-      function _export(target, all) {
-        for (var name in all)
-          Object.defineProperty(target, name, {
-            enumerable: true,
-            get: all[name],
-          });
-      }
-      _export(exports, {
-        default: function () {
-          return _default;
-        },
-        getImageProps: function () {
-          return getImageProps;
-        },
-      });
-      const _interop_require_default = __webpack_require__(1532);
-      const _getimgprops = __webpack_require__(3556);
-      const _imagecomponent = __webpack_require__(2728);
-      const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(3744)
-      );
-      function getImageProps(imgProps) {
-        const { props } = (0, _getimgprops.getImgProps)(imgProps, {
-          defaultLoader: _imageloader.default,
-          // This is replaced by webpack define plugin
-          imgConf: {
-            deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
-            imageSizes: [32, 48, 64, 96, 128, 256, 384],
-            qualities: [75],
-            path: "/_next/image",
-            loader: "default",
-            dangerouslyAllowSVG: false,
-            unoptimized: false,
-          },
-        });
-        // Normally we don't care about undefined props because we pass to JSX,
-        // but this exported function could be used by the end user for anything
-        // so we delete undefined props to clean it up a little.
-        for (const [key, value] of Object.entries(props)) {
-          if (value === undefined) {
-            delete props[key];
-          }
-        }
-        return {
-          props,
-        };
-      }
-      const _default = _imagecomponent.Image; //# sourceMappingURL=image-external.js.map
-
-      /***/
-    },
-
-    /***/ 8494: /***/ (__unused_webpack_module, exports) => {
-      "use strict";
-
-      Object.defineProperty(exports, "__esModule", {
-        value: true,
-      });
-      Object.defineProperty(exports, "findClosestQuality", {
-        enumerable: true,
-        get: function () {
-          return findClosestQuality;
-        },
-      });
-      function findClosestQuality(quality, config) {
-        const q = quality || 75;
-        if (!config?.qualities?.length) {
-          return q;
-        }
-        return config.qualities.reduce(
-          (prev, cur) => (Math.abs(cur - q) < Math.abs(prev - q) ? cur : prev),
-          0
-        );
-      } //# sourceMappingURL=find-closest-quality.js.map
-
-      /***/
-    },
   },
   /******/ (__webpack_require__) => {
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>
-      __webpack_exec__(797)
+      __webpack_exec__(4483)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for link-HASH.js
@@ -1,7 +1,338 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [4672],
   {
-    /***/ 69: /***/ (module, exports, __webpack_require__) => {
+    /***/ 1511: /***/ (module, exports, __webpack_require__) => {
+      "use strict";
+
+      Object.defineProperty(exports, "__esModule", {
+        value: true,
+      });
+      Object.defineProperty(exports, "useMergedRef", {
+        enumerable: true,
+        get: function () {
+          return useMergedRef;
+        },
+      });
+      const _react = __webpack_require__(2223);
+      function useMergedRef(refA, refB) {
+        const cleanupA = (0, _react.useRef)(null);
+        const cleanupB = (0, _react.useRef)(null);
+        // NOTE: In theory, we could skip the wrapping if only one of the refs is non-null.
+        // (this happens often if the user doesn't pass a ref to Link/Form/Image)
+        // But this can cause us to leak a cleanup-ref into user code (previously via `<Link legacyBehavior>`),
+        // and the user might pass that ref into ref-merging library that doesn't support cleanup refs
+        // (because it hasn't been updated for React 19)
+        // which can then cause things to blow up, because a cleanup-returning ref gets called with `null`.
+        // So in practice, it's safer to be defensive and always wrap the ref, even on React 19.
+        return (0, _react.useCallback)(
+          (current) => {
+            if (current === null) {
+              const cleanupFnA = cleanupA.current;
+              if (cleanupFnA) {
+                cleanupA.current = null;
+                cleanupFnA();
+              }
+              const cleanupFnB = cleanupB.current;
+              if (cleanupFnB) {
+                cleanupB.current = null;
+                cleanupFnB();
+              }
+            } else {
+              if (refA) {
+                cleanupA.current = applyRef(refA, current);
+              }
+              if (refB) {
+                cleanupB.current = applyRef(refB, current);
+              }
+            }
+          },
+          [refA, refB]
+        );
+      }
+      function applyRef(refA, current) {
+        if (typeof refA === "function") {
+          const cleanup = refA(current);
+          if (typeof cleanup === "function") {
+            return cleanup;
+          } else {
+            return () => refA(null);
+          }
+        } else {
+          refA.current = current;
+          return () => {
+            refA.current = null;
+          };
+        }
+      }
+      if (
+        (typeof exports.default === "function" ||
+          (typeof exports.default === "object" && exports.default !== null)) &&
+        typeof exports.default.__esModule === "undefined"
+      ) {
+        Object.defineProperty(exports.default, "__esModule", {
+          value: true,
+        });
+        Object.assign(exports.default, exports);
+        module.exports = exports.default;
+      } //# sourceMappingURL=use-merged-ref.js.map
+
+      /***/
+    },
+
+    /***/ 2025: /***/ (
+      __unused_webpack_module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      (window.__NEXT_P = window.__NEXT_P || []).push([
+        "/link",
+        function () {
+          return __webpack_require__(4591);
+        },
+      ]);
+      if (false) {
+      }
+
+      /***/
+    },
+
+    /***/ 3267: /***/ (module, exports, __webpack_require__) => {
+      "use strict";
+
+      Object.defineProperty(exports, "__esModule", {
+        value: true,
+      });
+      Object.defineProperty(exports, "getDomainLocale", {
+        enumerable: true,
+        get: function () {
+          return getDomainLocale;
+        },
+      });
+      const _normalizetrailingslash = __webpack_require__(2371);
+      const basePath =
+        /* unused pure expression or super */ null && (false || "");
+      function getDomainLocale(path, locale, locales, domainLocales) {
+        if (false) {
+        } else {
+          return false;
+        }
+      }
+      if (
+        (typeof exports.default === "function" ||
+          (typeof exports.default === "object" && exports.default !== null)) &&
+        typeof exports.default.__esModule === "undefined"
+      ) {
+        Object.defineProperty(exports.default, "__esModule", {
+          value: true,
+        });
+        Object.assign(exports.default, exports);
+        module.exports = exports.default;
+      } //# sourceMappingURL=get-domain-locale.js.map
+
+      /***/
+    },
+
+    /***/ 4591: /***/ (
+      __unused_webpack_module,
+      __webpack_exports__,
+      __webpack_require__
+    ) => {
+      "use strict";
+      __webpack_require__.r(__webpack_exports__);
+      /* harmony export */ __webpack_require__.d(__webpack_exports__, {
+        /* harmony export */ __N_SSP: () => /* binding */ __N_SSP,
+        /* harmony export */ default: () => __WEBPACK_DEFAULT_EXPORT__,
+        /* harmony export */
+      });
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
+        __webpack_require__(1503);
+      /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ =
+        __webpack_require__(6929);
+      /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default =
+        /*#__PURE__*/ __webpack_require__.n(
+          next_link__WEBPACK_IMPORTED_MODULE_1__
+        );
+
+      function aLink(props) {
+        return /*#__PURE__*/ (0,
+        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
+          children: [
+            /*#__PURE__*/ (0,
+            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("h3", {
+              children: "A Link page!",
+            }),
+            /*#__PURE__*/ (0,
+            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
+              next_link__WEBPACK_IMPORTED_MODULE_1___default(),
+              {
+                href: "/",
+                children: "Go to /",
+              }
+            ),
+          ],
+        });
+      }
+      var __N_SSP = true;
+      /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = aLink;
+
+      /***/
+    },
+
+    /***/ 6929: /***/ (
+      module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      module.exports = __webpack_require__(8885);
+
+      /***/
+    },
+
+    /***/ 7686: /***/ (module, exports, __webpack_require__) => {
+      "use strict";
+
+      Object.defineProperty(exports, "__esModule", {
+        value: true,
+      });
+      Object.defineProperty(exports, "useIntersection", {
+        enumerable: true,
+        get: function () {
+          return useIntersection;
+        },
+      });
+      const _react = __webpack_require__(2223);
+      const _requestidlecallback = __webpack_require__(901);
+      const hasIntersectionObserver =
+        typeof IntersectionObserver === "function";
+      const observers = new Map();
+      const idList = [];
+      function createObserver(options) {
+        const id = {
+          root: options.root || null,
+          margin: options.rootMargin || "",
+        };
+        const existing = idList.find(
+          (obj) => obj.root === id.root && obj.margin === id.margin
+        );
+        let instance;
+        if (existing) {
+          instance = observers.get(existing);
+          if (instance) {
+            return instance;
+          }
+        }
+        const elements = new Map();
+        const observer = new IntersectionObserver((entries) => {
+          entries.forEach((entry) => {
+            const callback = elements.get(entry.target);
+            const isVisible =
+              entry.isIntersecting || entry.intersectionRatio > 0;
+            if (callback && isVisible) {
+              callback(isVisible);
+            }
+          });
+        }, options);
+        instance = {
+          id,
+          observer,
+          elements,
+        };
+        idList.push(id);
+        observers.set(id, instance);
+        return instance;
+      }
+      function observe(element, callback, options) {
+        const { id, observer, elements } = createObserver(options);
+        elements.set(element, callback);
+        observer.observe(element);
+        return function unobserve() {
+          elements.delete(element);
+          observer.unobserve(element);
+          // Destroy observer when there's nothing left to watch:
+          if (elements.size === 0) {
+            observer.disconnect();
+            observers.delete(id);
+            const index = idList.findIndex(
+              (obj) => obj.root === id.root && obj.margin === id.margin
+            );
+            if (index > -1) {
+              idList.splice(index, 1);
+            }
+          }
+        };
+      }
+      function useIntersection({ rootRef, rootMargin, disabled }) {
+        const isDisabled = disabled || !hasIntersectionObserver;
+        const [visible, setVisible] = (0, _react.useState)(false);
+        const elementRef = (0, _react.useRef)(null);
+        const setElement = (0, _react.useCallback)((element) => {
+          elementRef.current = element;
+        }, []);
+        (0, _react.useEffect)(() => {
+          if (hasIntersectionObserver) {
+            if (isDisabled || visible) return;
+            const element = elementRef.current;
+            if (element && element.tagName) {
+              const unobserve = observe(
+                element,
+                (isVisible) => isVisible && setVisible(isVisible),
+                {
+                  root: rootRef?.current,
+                  rootMargin,
+                }
+              );
+              return unobserve;
+            }
+          } else {
+            if (!visible) {
+              const idleCallback = (0,
+              _requestidlecallback.requestIdleCallback)(() => setVisible(true));
+              return () =>
+                (0, _requestidlecallback.cancelIdleCallback)(idleCallback);
+            }
+          }
+          // eslint-disable-next-line react-hooks/exhaustive-deps
+        }, [isDisabled, rootMargin, rootRef, visible, elementRef.current]);
+        const resetVisible = (0, _react.useCallback)(() => {
+          setVisible(false);
+        }, []);
+        return [setElement, visible, resetVisible];
+      }
+      if (
+        (typeof exports.default === "function" ||
+          (typeof exports.default === "object" && exports.default !== null)) &&
+        typeof exports.default.__esModule === "undefined"
+      ) {
+        Object.defineProperty(exports.default, "__esModule", {
+          value: true,
+        });
+        Object.assign(exports.default, exports);
+        module.exports = exports.default;
+      } //# sourceMappingURL=use-intersection.js.map
+
+      /***/
+    },
+
+    /***/ 8101: /***/ (__unused_webpack_module, exports) => {
+      "use strict";
+
+      Object.defineProperty(exports, "__esModule", {
+        value: true,
+      });
+      Object.defineProperty(exports, "errorOnce", {
+        enumerable: true,
+        get: function () {
+          return errorOnce;
+        },
+      });
+      let errorOnce = (_) => {};
+      if (false) {
+      } //# sourceMappingURL=error-once.js.map
+
+      /***/
+    },
+
+    /***/ 8885: /***/ (module, exports, __webpack_require__) => {
       "use strict";
       /* __next_internal_client_entry_do_not_use__  cjs */
       Object.defineProperty(exports, "__esModule", {
@@ -28,17 +359,17 @@
       const _react = /*#__PURE__*/ _interop_require_wildcard._(
         __webpack_require__(2223)
       );
-      const _resolvehref = __webpack_require__(2275);
-      const _islocalurl = __webpack_require__(3179);
-      const _formaturl = __webpack_require__(5486);
-      const _utils = __webpack_require__(3708);
-      const _addlocale = __webpack_require__(8225);
-      const _routercontextsharedruntime = __webpack_require__(6046);
-      const _useintersection = __webpack_require__(2678);
-      const _getdomainlocale = __webpack_require__(4499);
-      const _addbasepath = __webpack_require__(7434);
-      const _usemergedref = __webpack_require__(2263);
-      const _erroronce = __webpack_require__(2197);
+      const _resolvehref = __webpack_require__(7379);
+      const _islocalurl = __webpack_require__(4843);
+      const _formaturl = __webpack_require__(9374);
+      const _utils = __webpack_require__(3116);
+      const _addlocale = __webpack_require__(8065);
+      const _routercontextsharedruntime = __webpack_require__(5470);
+      const _useintersection = __webpack_require__(7686);
+      const _getdomainlocale = __webpack_require__(3267);
+      const _addbasepath = __webpack_require__(1450);
+      const _usemergedref = __webpack_require__(1511);
+      const _erroronce = __webpack_require__(8101);
       const prefetched = new Set();
       function prefetch(router, href, as, options) {
         if (false) {
@@ -416,344 +747,13 @@
 
       /***/
     },
-
-    /***/ 2197: /***/ (__unused_webpack_module, exports) => {
-      "use strict";
-
-      Object.defineProperty(exports, "__esModule", {
-        value: true,
-      });
-      Object.defineProperty(exports, "errorOnce", {
-        enumerable: true,
-        get: function () {
-          return errorOnce;
-        },
-      });
-      let errorOnce = (_) => {};
-      if (false) {
-      } //# sourceMappingURL=error-once.js.map
-
-      /***/
-    },
-
-    /***/ 2263: /***/ (module, exports, __webpack_require__) => {
-      "use strict";
-
-      Object.defineProperty(exports, "__esModule", {
-        value: true,
-      });
-      Object.defineProperty(exports, "useMergedRef", {
-        enumerable: true,
-        get: function () {
-          return useMergedRef;
-        },
-      });
-      const _react = __webpack_require__(2223);
-      function useMergedRef(refA, refB) {
-        const cleanupA = (0, _react.useRef)(null);
-        const cleanupB = (0, _react.useRef)(null);
-        // NOTE: In theory, we could skip the wrapping if only one of the refs is non-null.
-        // (this happens often if the user doesn't pass a ref to Link/Form/Image)
-        // But this can cause us to leak a cleanup-ref into user code (previously via `<Link legacyBehavior>`),
-        // and the user might pass that ref into ref-merging library that doesn't support cleanup refs
-        // (because it hasn't been updated for React 19)
-        // which can then cause things to blow up, because a cleanup-returning ref gets called with `null`.
-        // So in practice, it's safer to be defensive and always wrap the ref, even on React 19.
-        return (0, _react.useCallback)(
-          (current) => {
-            if (current === null) {
-              const cleanupFnA = cleanupA.current;
-              if (cleanupFnA) {
-                cleanupA.current = null;
-                cleanupFnA();
-              }
-              const cleanupFnB = cleanupB.current;
-              if (cleanupFnB) {
-                cleanupB.current = null;
-                cleanupFnB();
-              }
-            } else {
-              if (refA) {
-                cleanupA.current = applyRef(refA, current);
-              }
-              if (refB) {
-                cleanupB.current = applyRef(refB, current);
-              }
-            }
-          },
-          [refA, refB]
-        );
-      }
-      function applyRef(refA, current) {
-        if (typeof refA === "function") {
-          const cleanup = refA(current);
-          if (typeof cleanup === "function") {
-            return cleanup;
-          } else {
-            return () => refA(null);
-          }
-        } else {
-          refA.current = current;
-          return () => {
-            refA.current = null;
-          };
-        }
-      }
-      if (
-        (typeof exports.default === "function" ||
-          (typeof exports.default === "object" && exports.default !== null)) &&
-        typeof exports.default.__esModule === "undefined"
-      ) {
-        Object.defineProperty(exports.default, "__esModule", {
-          value: true,
-        });
-        Object.assign(exports.default, exports);
-        module.exports = exports.default;
-      } //# sourceMappingURL=use-merged-ref.js.map
-
-      /***/
-    },
-
-    /***/ 2369: /***/ (
-      __unused_webpack_module,
-      __webpack_exports__,
-      __webpack_require__
-    ) => {
-      "use strict";
-      __webpack_require__.r(__webpack_exports__);
-      /* harmony export */ __webpack_require__.d(__webpack_exports__, {
-        /* harmony export */ __N_SSP: () => /* binding */ __N_SSP,
-        /* harmony export */ default: () => __WEBPACK_DEFAULT_EXPORT__,
-        /* harmony export */
-      });
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(1503);
-      /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(6691);
-      /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default =
-        /*#__PURE__*/ __webpack_require__.n(
-          next_link__WEBPACK_IMPORTED_MODULE_1__
-        );
-
-      function aLink(props) {
-        return /*#__PURE__*/ (0,
-        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
-          children: [
-            /*#__PURE__*/ (0,
-            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("h3", {
-              children: "A Link page!",
-            }),
-            /*#__PURE__*/ (0,
-            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
-              next_link__WEBPACK_IMPORTED_MODULE_1___default(),
-              {
-                href: "/",
-                children: "Go to /",
-              }
-            ),
-          ],
-        });
-      }
-      var __N_SSP = true;
-      /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = aLink;
-
-      /***/
-    },
-
-    /***/ 2678: /***/ (module, exports, __webpack_require__) => {
-      "use strict";
-
-      Object.defineProperty(exports, "__esModule", {
-        value: true,
-      });
-      Object.defineProperty(exports, "useIntersection", {
-        enumerable: true,
-        get: function () {
-          return useIntersection;
-        },
-      });
-      const _react = __webpack_require__(2223);
-      const _requestidlecallback = __webpack_require__(4213);
-      const hasIntersectionObserver =
-        typeof IntersectionObserver === "function";
-      const observers = new Map();
-      const idList = [];
-      function createObserver(options) {
-        const id = {
-          root: options.root || null,
-          margin: options.rootMargin || "",
-        };
-        const existing = idList.find(
-          (obj) => obj.root === id.root && obj.margin === id.margin
-        );
-        let instance;
-        if (existing) {
-          instance = observers.get(existing);
-          if (instance) {
-            return instance;
-          }
-        }
-        const elements = new Map();
-        const observer = new IntersectionObserver((entries) => {
-          entries.forEach((entry) => {
-            const callback = elements.get(entry.target);
-            const isVisible =
-              entry.isIntersecting || entry.intersectionRatio > 0;
-            if (callback && isVisible) {
-              callback(isVisible);
-            }
-          });
-        }, options);
-        instance = {
-          id,
-          observer,
-          elements,
-        };
-        idList.push(id);
-        observers.set(id, instance);
-        return instance;
-      }
-      function observe(element, callback, options) {
-        const { id, observer, elements } = createObserver(options);
-        elements.set(element, callback);
-        observer.observe(element);
-        return function unobserve() {
-          elements.delete(element);
-          observer.unobserve(element);
-          // Destroy observer when there's nothing left to watch:
-          if (elements.size === 0) {
-            observer.disconnect();
-            observers.delete(id);
-            const index = idList.findIndex(
-              (obj) => obj.root === id.root && obj.margin === id.margin
-            );
-            if (index > -1) {
-              idList.splice(index, 1);
-            }
-          }
-        };
-      }
-      function useIntersection({ rootRef, rootMargin, disabled }) {
-        const isDisabled = disabled || !hasIntersectionObserver;
-        const [visible, setVisible] = (0, _react.useState)(false);
-        const elementRef = (0, _react.useRef)(null);
-        const setElement = (0, _react.useCallback)((element) => {
-          elementRef.current = element;
-        }, []);
-        (0, _react.useEffect)(() => {
-          if (hasIntersectionObserver) {
-            if (isDisabled || visible) return;
-            const element = elementRef.current;
-            if (element && element.tagName) {
-              const unobserve = observe(
-                element,
-                (isVisible) => isVisible && setVisible(isVisible),
-                {
-                  root: rootRef?.current,
-                  rootMargin,
-                }
-              );
-              return unobserve;
-            }
-          } else {
-            if (!visible) {
-              const idleCallback = (0,
-              _requestidlecallback.requestIdleCallback)(() => setVisible(true));
-              return () =>
-                (0, _requestidlecallback.cancelIdleCallback)(idleCallback);
-            }
-          }
-          // eslint-disable-next-line react-hooks/exhaustive-deps
-        }, [isDisabled, rootMargin, rootRef, visible, elementRef.current]);
-        const resetVisible = (0, _react.useCallback)(() => {
-          setVisible(false);
-        }, []);
-        return [setElement, visible, resetVisible];
-      }
-      if (
-        (typeof exports.default === "function" ||
-          (typeof exports.default === "object" && exports.default !== null)) &&
-        typeof exports.default.__esModule === "undefined"
-      ) {
-        Object.defineProperty(exports.default, "__esModule", {
-          value: true,
-        });
-        Object.assign(exports.default, exports);
-        module.exports = exports.default;
-      } //# sourceMappingURL=use-intersection.js.map
-
-      /***/
-    },
-
-    /***/ 4499: /***/ (module, exports, __webpack_require__) => {
-      "use strict";
-
-      Object.defineProperty(exports, "__esModule", {
-        value: true,
-      });
-      Object.defineProperty(exports, "getDomainLocale", {
-        enumerable: true,
-        get: function () {
-          return getDomainLocale;
-        },
-      });
-      const _normalizetrailingslash = __webpack_require__(1379);
-      const basePath =
-        /* unused pure expression or super */ null && (false || "");
-      function getDomainLocale(path, locale, locales, domainLocales) {
-        if (false) {
-        } else {
-          return false;
-        }
-      }
-      if (
-        (typeof exports.default === "function" ||
-          (typeof exports.default === "object" && exports.default !== null)) &&
-        typeof exports.default.__esModule === "undefined"
-      ) {
-        Object.defineProperty(exports.default, "__esModule", {
-          value: true,
-        });
-        Object.assign(exports.default, exports);
-        module.exports = exports.default;
-      } //# sourceMappingURL=get-domain-locale.js.map
-
-      /***/
-    },
-
-    /***/ 6691: /***/ (
-      module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      module.exports = __webpack_require__(69);
-
-      /***/
-    },
-
-    /***/ 6771: /***/ (
-      __unused_webpack_module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      (window.__NEXT_P = window.__NEXT_P || []).push([
-        "/link",
-        function () {
-          return __webpack_require__(2369);
-        },
-      ]);
-      if (false) {
-      }
-
-      /***/
-    },
   },
   /******/ (__webpack_require__) => {
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>
-      __webpack_exec__(6771)
+      __webpack_exec__(2025)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for routerDirect-HASH.js
@@ -1,7 +1,34 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [188],
   {
-    /***/ 97: /***/ (
+    /***/ 417: /***/ (
+      __unused_webpack_module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      (window.__NEXT_P = window.__NEXT_P || []).push([
+        "/routerDirect",
+        function () {
+          return __webpack_require__(5491);
+        },
+      ]);
+      if (false) {
+      }
+
+      /***/
+    },
+
+    /***/ 1840: /***/ (
+      module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      module.exports = __webpack_require__(3252);
+
+      /***/
+    },
+
+    /***/ 5491: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -16,7 +43,7 @@
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
         __webpack_require__(1503);
       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(7798);
+        __webpack_require__(1840);
       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default =
         /*#__PURE__*/ __webpack_require__.n(
           next_router__WEBPACK_IMPORTED_MODULE_1__
@@ -35,40 +62,13 @@
 
       /***/
     },
-
-    /***/ 4283: /***/ (
-      __unused_webpack_module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      (window.__NEXT_P = window.__NEXT_P || []).push([
-        "/routerDirect",
-        function () {
-          return __webpack_require__(97);
-        },
-      ]);
-      if (false) {
-      }
-
-      /***/
-    },
-
-    /***/ 7798: /***/ (
-      module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      module.exports = __webpack_require__(9300);
-
-      /***/
-    },
   },
   /******/ (__webpack_require__) => {
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>
-      __webpack_exec__(4283)
+      __webpack_exec__(417)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for script-HASH.js
@@ -1,17 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [1209],
   {
-    /***/ 5964: /***/ (
-      module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      module.exports = __webpack_require__(2010);
-
-      /***/
-    },
-
-    /***/ 7758: /***/ (
+    /***/ 1312: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -26,7 +16,7 @@
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
         __webpack_require__(1503);
       /* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(5964);
+        __webpack_require__(2398);
       /* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_1___default =
         /*#__PURE__*/ __webpack_require__.n(
           next_script__WEBPACK_IMPORTED_MODULE_1__
@@ -59,7 +49,17 @@
       /***/
     },
 
-    /***/ 8803: /***/ (
+    /***/ 2398: /***/ (
+      module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      module.exports = __webpack_require__(8954);
+
+      /***/
+    },
+
+    /***/ 4305: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -67,7 +67,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/script",
         function () {
-          return __webpack_require__(7758);
+          return __webpack_require__(1312);
         },
       ]);
       if (false) {
@@ -81,7 +81,7 @@
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>
-      __webpack_exec__(8803)
+      __webpack_exec__(4305)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for withRouter-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [3263],
   {
-    /***/ 184: /***/ (
+    /***/ 358: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -16,7 +16,7 @@
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
         __webpack_require__(1503);
       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(7798);
+        __webpack_require__(1840);
       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default =
         /*#__PURE__*/ __webpack_require__.n(
           next_router__WEBPACK_IMPORTED_MODULE_1__
@@ -35,7 +35,17 @@
       /***/
     },
 
-    /***/ 3163: /***/ (
+    /***/ 1840: /***/ (
+      module,
+      __unused_webpack_exports,
+      __webpack_require__
+    ) => {
+      module.exports = __webpack_require__(3252);
+
+      /***/
+    },
+
+    /***/ 4041: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -43,7 +53,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/withRouter",
         function () {
-          return __webpack_require__(184);
+          return __webpack_require__(358);
         },
       ]);
       if (false) {
@@ -51,23 +61,13 @@
 
       /***/
     },
-
-    /***/ 7798: /***/ (
-      module,
-      __unused_webpack_exports,
-      __webpack_require__
-    ) => {
-      module.exports = __webpack_require__(9300);
-
-      /***/
-    },
   },
   /******/ (__webpack_require__) => {
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>
-      __webpack_exec__(3163)
+      __webpack_exec__(4041)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for 436-HASH.js

Diff too large to display

Diff for 9760-HASH.js
failed to diff
Diff for main-HASH.js

Diff too large to display

Commit: 0cae1b9

@xusd320 xusd320 force-pushed the refactor/turbopack-node-napi branch from 0500b3b to b9b8fc1 Compare November 19, 2025 02:38
@xusd320 xusd320 marked this pull request as ready for review November 25, 2025 06:01
@xusd320 xusd320 marked this pull request as draft November 25, 2025 06:12
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 25, 2025

CodSpeed Performance Report

Merging #86266 will not alter performance

Comparing utooland:refactor/turbopack-node-napi (0cae1b9) with canary (cf480fc)

Summary

✅ 17 untouched
⏩ 3 skipped1

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

Comment on lines 392 to 394
// if kill {
// operation.wait_or_kill().await?;
// }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to restore that behavior

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done that

@xusd320
Copy link
Contributor Author

xusd320 commented Nov 25, 2025

Ref: utooland/utoo#2335

@xusd320 xusd320 force-pushed the refactor/turbopack-node-napi branch from 510bb62 to e59a6b7 Compare November 25, 2025 17:53
@xusd320 xusd320 force-pushed the refactor/turbopack-node-napi branch from 67ee6ff to c182a70 Compare November 26, 2025 16:03
@xusd320 xusd320 force-pushed the refactor/turbopack-node-napi branch from c182a70 to 3fb7eee Compare November 26, 2025 16:05
@xusd320 xusd320 force-pushed the refactor/turbopack-node-napi branch from c760446 to 9cc5cc9 Compare November 26, 2025 16:35
@xusd320 xusd320 force-pushed the refactor/turbopack-node-napi branch from b9b4bdc to e6ba86f Compare November 27, 2025 04:26
@xusd320 xusd320 force-pushed the refactor/turbopack-node-napi branch from e6ba86f to 36f649a Compare November 27, 2025 06:04
@xusd320 xusd320 force-pushed the refactor/turbopack-node-napi branch from 36f649a to f496ba6 Compare November 27, 2025 09:09
@xusd320 xusd320 force-pushed the refactor/turbopack-node-napi branch from 9f884bd to b97a541 Compare November 27, 2025 14:02
@xusd320 xusd320 force-pushed the refactor/turbopack-node-napi branch from 0ca8ec2 to 0893be6 Compare November 28, 2025 12:33
@xusd320 xusd320 force-pushed the refactor/turbopack-node-napi branch from 0893be6 to 29eb97c Compare November 28, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Turbopack Related to Turbopack with Next.js. type: next

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants