Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Export __N_SSG and __N_SSP from the error component #3574

Merged
merged 7 commits into from
Feb 7, 2023

Conversation

alexkirsz
Copy link
Contributor

export * would be preferable once supported.

@alexkirsz alexkirsz requested a review from a team as a code owner February 1, 2023 16:22
@vercel
Copy link

vercel bot commented Feb 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

10 Ignored Deployments
Name Status Preview Comments Updated
examples-basic-web ⬜️ Ignored (Inspect) Feb 7, 2023 at 9:21AM (UTC)
examples-cra-web ⬜️ Ignored (Inspect) Feb 7, 2023 at 9:21AM (UTC)
examples-designsystem-docs ⬜️ Ignored (Inspect) Feb 7, 2023 at 9:21AM (UTC)
examples-kitchensink-blog ⬜️ Ignored (Inspect) Feb 7, 2023 at 9:21AM (UTC)
examples-native-web ⬜️ Ignored (Inspect) Feb 7, 2023 at 9:21AM (UTC)
examples-nonmonorepo ⬜️ Ignored (Inspect) Feb 7, 2023 at 9:21AM (UTC)
examples-svelte-web ⬜️ Ignored (Inspect) Feb 7, 2023 at 9:21AM (UTC)
examples-tailwind-web ⬜️ Ignored (Inspect) Feb 7, 2023 at 9:21AM (UTC)
examples-vite-web ⬜️ Ignored (Inspect) Feb 7, 2023 at 9:21AM (UTC)
turbo-site ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2023 at 9:21AM (UTC)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2023

Benchmark for ed19fb3

Test Base PR % Significant %
bench_startup/Turbopack SSR/1000 modules 2045.15ms ± 6.99ms 2010.12ms ± 6.75ms -1.71% -0.37%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9338.75µs ± 70.69µs 9317.18µs ± 72.13µs -0.23%
bench_hmr_to_commit/Turbopack RCC/1000 modules 9587.13µs ± 92.83µs 9530.59µs ± 74.66µs -0.59%
bench_hmr_to_commit/Turbopack RSC/1000 modules 484.65ms ± 3.45ms 486.53ms ± 1.34ms +0.39%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9471.88µs ± 86.87µs 9465.65µs ± 72.95µs -0.07%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8301.46µs ± 102.18µs 8321.89µs ± 76.43µs +0.25%
bench_hmr_to_eval/Turbopack RCC/1000 modules 8506.12µs ± 78.47µs 8589.75µs ± 88.65µs +0.98%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8580.16µs ± 48.67µs 8503.42µs ± 66.92µs -0.89%
bench_hydration/Turbopack RCC/1000 modules 3822.91ms ± 11.96ms 3813.16ms ± 24.56ms -0.25%
bench_hydration/Turbopack RSC/1000 modules 3307.53ms ± 14.25ms 3288.93ms ± 15.77ms -0.56%
bench_hydration/Turbopack SSR/1000 modules 3055.78ms ± 14.60ms 3073.21ms ± 9.80ms +0.57%
bench_startup/Turbopack CSR/1000 modules 2058.35ms ± 7.00ms 2032.83ms ± 9.93ms -1.24%
bench_startup/Turbopack RCC/1000 modules 2486.37ms ± 11.05ms 2461.69ms ± 4.72ms -0.99%
bench_startup/Turbopack RSC/1000 modules 2369.63ms ± 4.17ms 2370.52ms ± 8.24ms +0.04%
bench_startup/Turbopack SSR/1000 modules 2045.15ms ± 6.99ms 2010.12ms ± 6.75ms -1.71% -0.37%

@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2023

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Turbopack Rust tests (mac/win, non-blocking)

See workflow summary for details

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2023

Benchmark for ed19fb3

Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 10.00ms ± 0.14ms 9138.00µs ± 70.77µs -8.66% -4.53%
bench_hmr_to_commit/Turbopack RCC/1000 modules 9848.50µs ± 140.43µs 10.56ms ± 0.14ms +7.27% +1.56%
bench_hmr_to_commit/Turbopack RSC/1000 modules 536.81ms ± 3.74ms 482.89ms ± 1.52ms -10.04% -8.20%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9759.02µs ± 171.67µs 10.40ms ± 0.11ms +6.54% +0.82%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8351.68µs ± 41.41µs 8117.81µs ± 73.08µs -2.80% -0.06%
bench_hmr_to_eval/Turbopack SSR/1000 modules 9501.05µs ± 162.54µs 8619.35µs ± 123.00µs -9.28% -3.39%
bench_hydration/Turbopack RCC/1000 modules 3967.53ms ± 48.55ms 4156.17ms ± 28.98ms +4.75% +0.83%
bench_startup/Turbopack RCC/1000 modules 2486.77ms ± 7.62ms 2734.28ms ± 27.21ms +9.95% +7.11%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 10.00ms ± 0.14ms 9138.00µs ± 70.77µs -8.66% -4.53%
bench_hmr_to_commit/Turbopack RCC/1000 modules 9848.50µs ± 140.43µs 10.56ms ± 0.14ms +7.27% +1.56%
bench_hmr_to_commit/Turbopack RSC/1000 modules 536.81ms ± 3.74ms 482.89ms ± 1.52ms -10.04% -8.20%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9759.02µs ± 171.67µs 10.40ms ± 0.11ms +6.54% +0.82%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8351.68µs ± 41.41µs 8117.81µs ± 73.08µs -2.80% -0.06%
bench_hmr_to_eval/Turbopack RCC/1000 modules 8642.61µs ± 89.03µs 8876.80µs ± 158.63µs +2.71%
bench_hmr_to_eval/Turbopack SSR/1000 modules 9501.05µs ± 162.54µs 8619.35µs ± 123.00µs -9.28% -3.39%
bench_hydration/Turbopack RCC/1000 modules 3967.53ms ± 48.55ms 4156.17ms ± 28.98ms +4.75% +0.83%
bench_hydration/Turbopack RSC/1000 modules 3377.65ms ± 31.10ms 3293.93ms ± 11.82ms -2.48%
bench_hydration/Turbopack SSR/1000 modules 3077.18ms ± 8.82ms 3067.20ms ± 10.32ms -0.32%
bench_startup/Turbopack CSR/1000 modules 2245.29ms ± 18.98ms 2267.75ms ± 20.11ms +1.00%
bench_startup/Turbopack RCC/1000 modules 2486.77ms ± 7.62ms 2734.28ms ± 27.21ms +9.95% +7.11%
bench_startup/Turbopack RSC/1000 modules 2657.59ms ± 16.11ms 2609.45ms ± 17.38ms -1.81%
bench_startup/Turbopack SSR/1000 modules 2041.56ms ± 17.26ms 2055.40ms ± 11.00ms +0.68%

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2023

Benchmark for 90c9acf

Test Base PR % Significant %
bench_startup/Turbopack SSR/1000 modules 2265.31ms ± 5.42ms 2307.62ms ± 6.87ms +1.87% +0.78%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9376.90µs ± 78.57µs 9417.96µs ± 80.41µs +0.44%
bench_hmr_to_commit/Turbopack RCC/1000 modules 9561.66µs ± 89.89µs 9745.15µs ± 97.29µs +1.92%
bench_hmr_to_commit/Turbopack RSC/1000 modules 492.02ms ± 3.69ms 493.69ms ± 1.58ms +0.34%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9514.75µs ± 74.30µs 9547.82µs ± 94.74µs +0.35%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8407.72µs ± 63.25µs 8357.42µs ± 76.35µs -0.60%
bench_hmr_to_eval/Turbopack RCC/1000 modules 8664.73µs ± 58.89µs 8562.36µs ± 63.25µs -1.18%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8589.40µs ± 72.60µs 8592.15µs ± 102.16µs +0.03%
bench_hydration/Turbopack RCC/1000 modules 4445.48ms ± 37.06ms 4460.00ms ± 44.52ms +0.33%
bench_hydration/Turbopack RSC/1000 modules 4006.79ms ± 9.46ms 4032.21ms ± 11.41ms +0.63%
bench_hydration/Turbopack SSR/1000 modules 3771.18ms ± 23.43ms 3784.51ms ± 17.76ms +0.35%
bench_startup/Turbopack CSR/1000 modules 2674.28ms ± 11.82ms 2680.35ms ± 13.31ms +0.23%
bench_startup/Turbopack RCC/1000 modules 2856.62ms ± 7.34ms 2853.77ms ± 5.72ms -0.10%
bench_startup/Turbopack RSC/1000 modules 2805.50ms ± 11.01ms 2773.61ms ± 11.67ms -1.14%
bench_startup/Turbopack SSR/1000 modules 2265.31ms ± 5.42ms 2307.62ms ± 6.87ms +1.87% +0.78%

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2023

Benchmark for eb73576

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 8924.83µs ± 80.41µs 8880.08µs ± 65.93µs -0.50%
bench_hmr_to_commit/Turbopack RCC/1000 modules 9179.37µs ± 94.88µs 9203.21µs ± 76.78µs +0.26%
bench_hmr_to_commit/Turbopack RSC/1000 modules 480.18ms ± 1.95ms 481.23ms ± 2.67ms +0.22%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9074.45µs ± 93.79µs 9128.33µs ± 77.21µs +0.59%
bench_hmr_to_eval/Turbopack CSR/1000 modules 7948.57µs ± 48.50µs 8024.20µs ± 52.75µs +0.95%
bench_hmr_to_eval/Turbopack RCC/1000 modules 8191.39µs ± 65.44µs 8122.61µs ± 70.33µs -0.84%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8074.96µs ± 68.90µs 8055.69µs ± 77.64µs -0.24%
bench_hydration/Turbopack RCC/1000 modules 4149.80ms ± 12.44ms 4150.46ms ± 9.39ms +0.02%
bench_hydration/Turbopack RSC/1000 modules 3726.84ms ± 13.69ms 3753.54ms ± 15.98ms +0.72%
bench_hydration/Turbopack SSR/1000 modules 3650.81ms ± 15.21ms 3627.41ms ± 16.92ms -0.64%
bench_startup/Turbopack CSR/1000 modules 2765.57ms ± 5.28ms 2784.23ms ± 19.44ms +0.67%
bench_startup/Turbopack RCC/1000 modules 2523.20ms ± 4.31ms 2522.67ms ± 5.58ms -0.02%
bench_startup/Turbopack RSC/1000 modules 2407.06ms ± 8.17ms 2427.35ms ± 5.70ms +0.84%
bench_startup/Turbopack SSR/1000 modules 2096.20ms ± 3.89ms 2105.81ms ± 1.83ms +0.46%

@alexkirsz alexkirsz requested a review from a team as a code owner February 6, 2023 14:28
@@ -2,4 +2,5 @@ module.exports = {
experimental: {
appDir: true,
},
transpilePackages: ["@turbo/pack-test-harness"],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Any idea why I need to include this for this test, but it's not necessary for the 404 test?

Copy link
Member

Choose a reason for hiding this comment

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

🤷

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was because these two cases have a tsconfig.json that overrides the top-level tsconfig.json, which includes the test harness in its paths list (hence it's compiled without needing transpilePackages).

@@ -2,4 +2,5 @@ module.exports = {
experimental: {
appDir: true,
},
transpilePackages: ["@turbo/pack-test-harness"],
Copy link
Member

Choose a reason for hiding this comment

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

🤷

@alexkirsz alexkirsz force-pushed the alexkirsz/web-539-navigating-to-a-404-doesnt-call branch from 925ee28 to 04e445b Compare February 6, 2023 15:26
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2023

Failing next.js integration test suites

Commit: c751091

Test summary

main (ce48d95 / v13.1.7-canary.6) Current (c751091 / v13.1.7-canary.6) Diff (Failed)
Test suites 🔴 12 / 🟢 0 (Total: 12) 🔴 12 / 🟢 0 (Total: 12) 0️⃣
Test cases 🔴 32 / 🟢 20 (Total: 53) 🔴 46 / 🟢 6 (Total: 60) 🔼 14

Fixed tests:

- test/e2e/app-dir/test-template/{{ toFileName name }}/{{ toFileName name }}.test.ts 
- test/integration/404-page-app/test/index.test.js 
- test/development/acceptance/ReactRefresh.test.ts 
- test/integration/404-page-custom-error/test/index.test.js 
- test/e2e/app-dir/trailingslash/trailingslash.test.ts 
- test/integration/404-page-app/test/index.test.js 
- test/development/api-route-errors/index.test.ts 
- test/e2e/app-dir/app-rendering/rendering.test.ts 
- test/integration/404-page-custom-error/test/index.test.js

Newly failed tests:

- test/e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts 
- test/integration/catches-missing-getStaticProps/test/index.test.js 
- test/development/acceptance-app/editor-links.test.ts 
- test/integration/bigint/test/index.test.js 
- test/e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts 
- test/integration/catches-missing-getStaticProps/test/index.test.js 
- test/development/acceptance-app/editor-links.test.ts 
- test/integration/bigint/test/index.test.js
Full test report

test/development/acceptance-app/component-stack.test.ts

  • ReactRefresh > can edit a component without losing state
  • ReactRefresh > cyclic dependencies
Expand output

● ReactRefresh › can edit a component without losing state

Application is in inconsistent state: timeout.

  82 |           }
  83 |           if (status !== 'pending') {
> 84 |             throw new Error(`Application is in inconsistent state: ${status}.`)
     |                   ^
  85 |           }
  86 |
  87 |           await new Promise((resolve) => setTimeout(resolve, 30))

  at Object.patch (development/acceptance/helpers.ts:84:19)
  at Object.<anonymous> (development/acceptance/ReactRefresh.test.ts:20:5)

● ReactRefresh › cyclic dependencies

Application is in inconsistent state: timeout.

  82 |           }
  83 |           if (status !== 'pending') {
> 84 |             throw new Error(`Application is in inconsistent state: ${status}.`)
     |                   ^
  85 |           }
  86 |
  87 |           await new Promise((resolve) => setTimeout(resolve, 30))

  at Object.patch (development/acceptance/helpers.ts:84:19)
  at Object.<anonymous> (development/acceptance/ReactRefresh.test.ts:157:5)

test/e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts

  • i18n-ignore-rewrite-source-locale with basepath > get public file by skipping locale in rewrite, locale:
  • i18n-ignore-rewrite-source-locale with basepath > get public file by skipping locale in rewrite, locale: /en
  • i18n-ignore-rewrite-source-locale with basepath > get public file by skipping locale in rewrite, locale: /sv
  • i18n-ignore-rewrite-source-locale with basepath > get public file by skipping locale in rewrite, locale: /nl
  • i18n-ignore-rewrite-source-locale with basepath > call api by skipping locale in rewrite, locale:
  • i18n-ignore-rewrite-source-locale with basepath > call api by skipping locale in rewrite, locale: /en
  • i18n-ignore-rewrite-source-locale with basepath > call api by skipping locale in rewrite, locale: /sv
  • i18n-ignore-rewrite-source-locale with basepath > call api by skipping locale in rewrite, locale: /nl
  • i18n-ignore-rewrite-source-locale with basepath > get _next/static/ files by skipping locale in rewrite, locale:
  • i18n-ignore-rewrite-source-locale with basepath > get _next/static/ files by skipping locale in rewrite, locale: /en
  • i18n-ignore-rewrite-source-locale with basepath > get _next/static/ files by skipping locale in rewrite, locale: /sv
  • i18n-ignore-rewrite-source-locale with basepath > get _next/static/ files by skipping locale in rewrite, locale: /nl
Expand output

● i18n-ignore-rewrite-source-locale with basepath › get public file by skipping locale in rewrite, locale:

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

Expected substring: "hello from file.txt"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  56 |         `/basepath${locale}/rewrite-files/file.txt`
  57 |       )
> 58 |       expect(res).toContain('hello from file.txt')
     |                   ^
  59 |     }
  60 |   )
  61 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:58:19

● i18n-ignore-rewrite-source-locale with basepath › get public file by skipping locale in rewrite, locale: /en

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

Expected substring: "hello from file.txt"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  56 |         `/basepath${locale}/rewrite-files/file.txt`
  57 |       )
> 58 |       expect(res).toContain('hello from file.txt')
     |                   ^
  59 |     }
  60 |   )
  61 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:58:19

● i18n-ignore-rewrite-source-locale with basepath › get public file by skipping locale in rewrite, locale: /sv

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

Expected substring: "hello from file.txt"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  56 |         `/basepath${locale}/rewrite-files/file.txt`
  57 |       )
> 58 |       expect(res).toContain('hello from file.txt')
     |                   ^
  59 |     }
  60 |   )
  61 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:58:19

● i18n-ignore-rewrite-source-locale with basepath › get public file by skipping locale in rewrite, locale: /nl

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

Expected substring: "hello from file.txt"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  56 |         `/basepath${locale}/rewrite-files/file.txt`
  57 |       )
> 58 |       expect(res).toContain('hello from file.txt')
     |                   ^
  59 |     }
  60 |   )
  61 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:58:19

● i18n-ignore-rewrite-source-locale with basepath › call api by skipping locale in rewrite, locale:

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

Expected substring: "hello from api"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  67 |         `/basepath${locale}/rewrite-api/hello`
  68 |       )
> 69 |       expect(res).toContain('hello from api')
     |                   ^
  70 |     }
  71 |   )
  72 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:69:19

● i18n-ignore-rewrite-source-locale with basepath › call api by skipping locale in rewrite, locale: /en

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

Expected substring: "hello from api"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  67 |         `/basepath${locale}/rewrite-api/hello`
  68 |       )
> 69 |       expect(res).toContain('hello from api')
     |                   ^
  70 |     }
  71 |   )
  72 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:69:19

● i18n-ignore-rewrite-source-locale with basepath › call api by skipping locale in rewrite, locale: /sv

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

Expected substring: "hello from api"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  67 |         `/basepath${locale}/rewrite-api/hello`
  68 |       )
> 69 |       expect(res).toContain('hello from api')
     |                   ^
  70 |     }
  71 |   )
  72 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:69:19

● i18n-ignore-rewrite-source-locale with basepath › call api by skipping locale in rewrite, locale: /nl

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

Expected substring: "hello from api"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  67 |         `/basepath${locale}/rewrite-api/hello`
  68 |       )
> 69 |       expect(res).toContain('hello from api')
     |                   ^
  70 |     }
  71 |   )
  72 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:69:19

● i18n-ignore-rewrite-source-locale with basepath › get _next/static/ files by skipping locale in rewrite, locale:

ENOENT: no such file or directory, scandir '/tmp/next-install-e0a72c36313c8232e77934a68ee8331e054b8aef4bf0611384cf424be0a1de16/.next/static/chunks'

● i18n-ignore-rewrite-source-locale with basepath › get _next/static/ files by skipping locale in rewrite, locale: /en

ENOENT: no such file or directory, scandir '/tmp/next-install-e0a72c36313c8232e77934a68ee8331e054b8aef4bf0611384cf424be0a1de16/.next/static/chunks'

● i18n-ignore-rewrite-source-locale with basepath › get _next/static/ files by skipping locale in rewrite, locale: /sv

ENOENT: no such file or directory, scandir '/tmp/next-install-e0a72c36313c8232e77934a68ee8331e054b8aef4bf0611384cf424be0a1de16/.next/static/chunks'

● i18n-ignore-rewrite-source-locale with basepath › get _next/static/ files by skipping locale in rewrite, locale: /nl

ENOENT: no such file or directory, scandir '/tmp/next-install-e0a72c36313c8232e77934a68ee8331e054b8aef4bf0611384cf424be0a1de16/.next/static/chunks'

test/integration/catches-missing-getStaticProps/test/index.test.js

  • Catches Missing getStaticProps > should catch it in dev mode
Expand output

● Catches Missing getStaticProps › should catch it in dev mode

expect(received).toMatch(expected)

Expected pattern: /getStaticPaths was added without a getStaticProps in/
Received string:  "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  20 |     await killApp(app)
  21 |
> 22 |     expect(html).toMatch(errorRegex)
     |                  ^
  23 |   })
  24 |
  25 |   it('should catch it in server build mode', async () => {

  at Object.<anonymous> (integration/catches-missing-getStaticProps/test/index.test.js:22:18)

test/development/acceptance-app/editor-links.test.ts

  • ReactRefreshLogBox turbo > empty _app shows logbox
  • ReactRefreshLogBox turbo > empty _document shows logbox
  • ReactRefreshLogBox turbo > _app syntax error shows logbox
  • ReactRefreshLogBox turbo > _document syntax error shows logbox
Expand output

● ReactRefreshLogBox turbo › empty _app shows logbox

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

Expected: true
Received: false

  28 |         ])
  29 |       )
> 30 |       expect(await session.hasRedbox(true)).toBe(true)
     |                                             ^
  31 |       expect(await session.getRedboxDescription()).toMatchInlineSnapshot(
  32 |         `"Error: The default export is not a React Component in page: \\"/_app\\""`
  33 |       )

  at Object.<anonymous> (development/acceptance/ReactRefreshLogBox-app-doc.test.ts:30:45)

● ReactRefreshLogBox turbo › empty _document shows logbox

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

Expected: true
Received: false

  58 |         ])
  59 |       )
> 60 |       expect(await session.hasRedbox(true)).toBe(true)
     |                                             ^
  61 |       expect(await session.getRedboxDescription()).toMatchInlineSnapshot(
  62 |         `"Error: The default export is not a React Component in page: \\"/_document\\""`
  63 |       )

  at Object.<anonymous> (development/acceptance/ReactRefreshLogBox-app-doc.test.ts:60:45)

● ReactRefreshLogBox turbo › _app syntax error shows logbox

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

Expected: true
Received: false

  109 |         ])
  110 |       )
> 111 |       expect(await session.hasRedbox(true)).toBe(true)
      |                                             ^
  112 |       expect(await session.getRedboxSource()).toMatchSnapshot()
  113 |
  114 |       await session.patch(

  at Object.<anonymous> (development/acceptance/ReactRefreshLogBox-app-doc.test.ts:111:45)

● ReactRefreshLogBox turbo › _document syntax error shows logbox

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

Expected: true
Received: false

  158 |         ])
  159 |       )
> 160 |       expect(await session.hasRedbox(true)).toBe(true)
      |                                             ^
  161 |       expect(await session.getRedboxSource()).toMatchSnapshot()
  162 |
  163 |       await session.patch(

  at Object.<anonymous> (development/acceptance/ReactRefreshLogBox-app-doc.test.ts:160:45)

test/e2e/app-dir/app-alias/app-alias.test.ts

  • app-dir alias handling > should handle typescript paths alias correctly
  • app-dir alias handling > should resolve css imports from outside with src folder presented
Expand output

● app-dir alias handling › should handle typescript paths alias correctly

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

Expected substring: "click</button>"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  14 |     it('should handle typescript paths alias correctly', async () => {
  15 |       const html = await next.render('/button')
> 16 |       expect(html).toContain('click</button>')
     |                    ^
  17 |     })
  18 |
  19 |     it('should resolve css imports from outside with src folder presented', async () => {

  at Object.<anonymous> (e2e/app-dir/app-alias/app-alias.test.ts:16:20)

● app-dir alias handling › should resolve css imports from outside with src folder presented

page.waitForSelector: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for locator('button')
============================================================

  329 |     return this.chain(() => {
  330 |       return page
> 331 |         .waitForSelector(selector, { timeout, state: 'attached' })
      |          ^
  332 |         .then(async (el) => {
  333 |           // it seems selenium waits longer and tests rely on this behavior
  334 |           // so we wait for the load event fire before returning

  at lib/browsers/playwright.ts:331:10

test/integration/bigint/test/index.test.js

  • bigint API route support > dev mode > should return 200
  • bigint API route support > dev mode > should return the BigInt result text
Expand output

● bigint API route support › dev mode › should return 200

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

Expected: 200
Received: 500

  22 |       method: 'GET',
  23 |     })
> 24 |     expect(res.status).toEqual(200)
     |                        ^
  25 |   })
  26 |
  27 |   it('should return the BigInt result text', async () => {

  at Object.<anonymous> (integration/bigint/test/index.test.js:24:24)

● bigint API route support › dev mode › should return the BigInt result text

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

Expected: "3"
Received: false

  29 |       method: 'GET',
  30 |     }).then((res) => res.ok && res.text())
> 31 |     expect(resText).toEqual('3')
     |                     ^
  32 |   })
  33 | }
  34 |

  at Object.<anonymous> (integration/bigint/test/index.test.js:31:21)

test/development/acceptance-app/component-stack.test.ts

  • ReactRefresh > can edit a component without losing state
  • ReactRefresh > cyclic dependencies
Expand output

● ReactRefresh › can edit a component without losing state

Application is in inconsistent state: timeout.

  82 |           }
  83 |           if (status !== 'pending') {
> 84 |             throw new Error(`Application is in inconsistent state: ${status}.`)
     |                   ^
  85 |           }
  86 |
  87 |           await new Promise((resolve) => setTimeout(resolve, 30))

  at Object.patch (development/acceptance/helpers.ts:84:19)
  at Object.<anonymous> (development/acceptance/ReactRefresh.test.ts:20:5)

● ReactRefresh › cyclic dependencies

Application is in inconsistent state: timeout.

  82 |           }
  83 |           if (status !== 'pending') {
> 84 |             throw new Error(`Application is in inconsistent state: ${status}.`)
     |                   ^
  85 |           }
  86 |
  87 |           await new Promise((resolve) => setTimeout(resolve, 30))

  at Object.patch (development/acceptance/helpers.ts:84:19)
  at Object.<anonymous> (development/acceptance/ReactRefresh.test.ts:157:5)

test/e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts

  • i18n-ignore-rewrite-source-locale with basepath > get public file by skipping locale in rewrite, locale:
  • i18n-ignore-rewrite-source-locale with basepath > get public file by skipping locale in rewrite, locale: /en
  • i18n-ignore-rewrite-source-locale with basepath > get public file by skipping locale in rewrite, locale: /sv
  • i18n-ignore-rewrite-source-locale with basepath > get public file by skipping locale in rewrite, locale: /nl
  • i18n-ignore-rewrite-source-locale with basepath > call api by skipping locale in rewrite, locale:
  • i18n-ignore-rewrite-source-locale with basepath > call api by skipping locale in rewrite, locale: /en
  • i18n-ignore-rewrite-source-locale with basepath > call api by skipping locale in rewrite, locale: /sv
  • i18n-ignore-rewrite-source-locale with basepath > call api by skipping locale in rewrite, locale: /nl
  • i18n-ignore-rewrite-source-locale with basepath > get _next/static/ files by skipping locale in rewrite, locale:
  • i18n-ignore-rewrite-source-locale with basepath > get _next/static/ files by skipping locale in rewrite, locale: /en
  • i18n-ignore-rewrite-source-locale with basepath > get _next/static/ files by skipping locale in rewrite, locale: /sv
  • i18n-ignore-rewrite-source-locale with basepath > get _next/static/ files by skipping locale in rewrite, locale: /nl
Expand output

● i18n-ignore-rewrite-source-locale with basepath › get public file by skipping locale in rewrite, locale:

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

Expected substring: "hello from file.txt"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  56 |         `/basepath${locale}/rewrite-files/file.txt`
  57 |       )
> 58 |       expect(res).toContain('hello from file.txt')
     |                   ^
  59 |     }
  60 |   )
  61 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:58:19

● i18n-ignore-rewrite-source-locale with basepath › get public file by skipping locale in rewrite, locale: /en

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

Expected substring: "hello from file.txt"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  56 |         `/basepath${locale}/rewrite-files/file.txt`
  57 |       )
> 58 |       expect(res).toContain('hello from file.txt')
     |                   ^
  59 |     }
  60 |   )
  61 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:58:19

● i18n-ignore-rewrite-source-locale with basepath › get public file by skipping locale in rewrite, locale: /sv

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

Expected substring: "hello from file.txt"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  56 |         `/basepath${locale}/rewrite-files/file.txt`
  57 |       )
> 58 |       expect(res).toContain('hello from file.txt')
     |                   ^
  59 |     }
  60 |   )
  61 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:58:19

● i18n-ignore-rewrite-source-locale with basepath › get public file by skipping locale in rewrite, locale: /nl

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

Expected substring: "hello from file.txt"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  56 |         `/basepath${locale}/rewrite-files/file.txt`
  57 |       )
> 58 |       expect(res).toContain('hello from file.txt')
     |                   ^
  59 |     }
  60 |   )
  61 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:58:19

● i18n-ignore-rewrite-source-locale with basepath › call api by skipping locale in rewrite, locale:

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

Expected substring: "hello from api"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  67 |         `/basepath${locale}/rewrite-api/hello`
  68 |       )
> 69 |       expect(res).toContain('hello from api')
     |                   ^
  70 |     }
  71 |   )
  72 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:69:19

● i18n-ignore-rewrite-source-locale with basepath › call api by skipping locale in rewrite, locale: /en

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

Expected substring: "hello from api"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  67 |         `/basepath${locale}/rewrite-api/hello`
  68 |       )
> 69 |       expect(res).toContain('hello from api')
     |                   ^
  70 |     }
  71 |   )
  72 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:69:19

● i18n-ignore-rewrite-source-locale with basepath › call api by skipping locale in rewrite, locale: /sv

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

Expected substring: "hello from api"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  67 |         `/basepath${locale}/rewrite-api/hello`
  68 |       )
> 69 |       expect(res).toContain('hello from api')
     |                   ^
  70 |     }
  71 |   )
  72 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:69:19

● i18n-ignore-rewrite-source-locale with basepath › call api by skipping locale in rewrite, locale: /nl

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

Expected substring: "hello from api"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  67 |         `/basepath${locale}/rewrite-api/hello`
  68 |       )
> 69 |       expect(res).toContain('hello from api')
     |                   ^
  70 |     }
  71 |   )
  72 |

  at e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts:69:19

● i18n-ignore-rewrite-source-locale with basepath › get _next/static/ files by skipping locale in rewrite, locale:

ENOENT: no such file or directory, scandir '/tmp/next-install-fe13fbcb41741c2313a0cc2c19208a5061b40f00cd1e5fac92bcc1439f93fa36/.next/static/chunks'

● i18n-ignore-rewrite-source-locale with basepath › get _next/static/ files by skipping locale in rewrite, locale: /en

ENOENT: no such file or directory, scandir '/tmp/next-install-fe13fbcb41741c2313a0cc2c19208a5061b40f00cd1e5fac92bcc1439f93fa36/.next/static/chunks'

● i18n-ignore-rewrite-source-locale with basepath › get _next/static/ files by skipping locale in rewrite, locale: /sv

ENOENT: no such file or directory, scandir '/tmp/next-install-fe13fbcb41741c2313a0cc2c19208a5061b40f00cd1e5fac92bcc1439f93fa36/.next/static/chunks'

● i18n-ignore-rewrite-source-locale with basepath › get _next/static/ files by skipping locale in rewrite, locale: /nl

ENOENT: no such file or directory, scandir '/tmp/next-install-fe13fbcb41741c2313a0cc2c19208a5061b40f00cd1e5fac92bcc1439f93fa36/.next/static/chunks'

test/integration/catches-missing-getStaticProps/test/index.test.js

  • Catches Missing getStaticProps > should catch it in dev mode
Expand output

● Catches Missing getStaticProps › should catch it in dev mode

expect(received).toMatch(expected)

Expected pattern: /getStaticPaths was added without a getStaticProps in/
Received string:  "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  20 |     await killApp(app)
  21 |
> 22 |     expect(html).toMatch(errorRegex)
     |                  ^
  23 |   })
  24 |
  25 |   it('should catch it in server build mode', async () => {

  at Object.<anonymous> (integration/catches-missing-getStaticProps/test/index.test.js:22:18)

test/development/acceptance-app/editor-links.test.ts

  • ReactRefreshLogBox turbo > empty _app shows logbox
  • ReactRefreshLogBox turbo > empty _document shows logbox
  • ReactRefreshLogBox turbo > _app syntax error shows logbox
  • ReactRefreshLogBox turbo > _document syntax error shows logbox
Expand output

● ReactRefreshLogBox turbo › empty _app shows logbox

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

Expected: true
Received: false

  28 |         ])
  29 |       )
> 30 |       expect(await session.hasRedbox(true)).toBe(true)
     |                                             ^
  31 |       expect(await session.getRedboxDescription()).toMatchInlineSnapshot(
  32 |         `"Error: The default export is not a React Component in page: \\"/_app\\""`
  33 |       )

  at Object.<anonymous> (development/acceptance/ReactRefreshLogBox-app-doc.test.ts:30:45)

● ReactRefreshLogBox turbo › empty _document shows logbox

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

Expected: true
Received: false

  58 |         ])
  59 |       )
> 60 |       expect(await session.hasRedbox(true)).toBe(true)
     |                                             ^
  61 |       expect(await session.getRedboxDescription()).toMatchInlineSnapshot(
  62 |         `"Error: The default export is not a React Component in page: \\"/_document\\""`
  63 |       )

  at Object.<anonymous> (development/acceptance/ReactRefreshLogBox-app-doc.test.ts:60:45)

● ReactRefreshLogBox turbo › _app syntax error shows logbox

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

Expected: true
Received: false

  109 |         ])
  110 |       )
> 111 |       expect(await session.hasRedbox(true)).toBe(true)
      |                                             ^
  112 |       expect(await session.getRedboxSource()).toMatchSnapshot()
  113 |
  114 |       await session.patch(

  at Object.<anonymous> (development/acceptance/ReactRefreshLogBox-app-doc.test.ts:111:45)

● ReactRefreshLogBox turbo › _document syntax error shows logbox

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

Expected: true
Received: false

  158 |         ])
  159 |       )
> 160 |       expect(await session.hasRedbox(true)).toBe(true)
      |                                             ^
  161 |       expect(await session.getRedboxSource()).toMatchSnapshot()
  162 |
  163 |       await session.patch(

  at Object.<anonymous> (development/acceptance/ReactRefreshLogBox-app-doc.test.ts:160:45)

test/e2e/app-dir/app-alias/app-alias.test.ts

  • app-dir alias handling > should handle typescript paths alias correctly
  • app-dir alias handling > should resolve css imports from outside with src folder presented
Expand output

● app-dir alias handling › should handle typescript paths alias correctly

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

Expected substring: "click</button>"
Received string:    "Execution of get_from_source failed·
Caused by:
    0: Execution of resolve_source_request failed
    1: Execution of CombinedContentSource::get failed
    2: Execution of create_app_source failed
    3: Execution of load_next_config failed
    4: Execution of evaluate failed
    5: Execution of get_evaluate_pool failed
    6: Execution of turbo_tasks::completion::CompletionsVc::all failed
    7: Execution of turbopack_core::asset::AssetContentVc::write failed
    8: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::content failed
    9: Execution of turbopack_ecmascript::chunk::EcmascriptChunkContentVc::code failed
   10: Execution of content_from_relative_path failed
   11: failed to canonicalize embedded file path
   12: No such file or directory (os error 2)"

  14 |     it('should handle typescript paths alias correctly', async () => {
  15 |       const html = await next.render('/button')
> 16 |       expect(html).toContain('click</button>')
     |                    ^
  17 |     })
  18 |
  19 |     it('should resolve css imports from outside with src folder presented', async () => {

  at Object.<anonymous> (e2e/app-dir/app-alias/app-alias.test.ts:16:20)

● app-dir alias handling › should resolve css imports from outside with src folder presented

page.waitForSelector: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for locator('button')
============================================================

  329 |     return this.chain(() => {
  330 |       return page
> 331 |         .waitForSelector(selector, { timeout, state: 'attached' })
      |          ^
  332 |         .then(async (el) => {
  333 |           // it seems selenium waits longer and tests rely on this behavior
  334 |           // so we wait for the load event fire before returning

  at lib/browsers/playwright.ts:331:10

test/integration/bigint/test/index.test.js

  • bigint API route support > dev mode > should return 200
  • bigint API route support > dev mode > should return the BigInt result text
Expand output

● bigint API route support › dev mode › should return 200

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

Expected: 200
Received: 500

  22 |       method: 'GET',
  23 |     })
> 24 |     expect(res.status).toEqual(200)
     |                        ^
  25 |   })
  26 |
  27 |   it('should return the BigInt result text', async () => {

  at Object.<anonymous> (integration/bigint/test/index.test.js:24:24)

● bigint API route support › dev mode › should return the BigInt result text

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

Expected: "3"
Received: false

  29 |       method: 'GET',
  30 |     }).then((res) => res.ok && res.text())
> 31 |     expect(resText).toEqual('3')
     |                     ^
  32 |   })
  33 | }
  34 |

  at Object.<anonymous> (integration/bigint/test/index.test.js:31:21)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2023

Benchmark for c751091

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9365.10µs ± 90.92µs 9266.65µs ± 98.59µs -1.05%
bench_hmr_to_commit/Turbopack RCC/1000 modules 9484.46µs ± 78.88µs 9642.76µs ± 92.35µs +1.67%
bench_hmr_to_commit/Turbopack RSC/1000 modules 509.05ms ± 1.67ms 512.28ms ± 1.64ms +0.63%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9539.72µs ± 98.45µs 9545.86µs ± 70.54µs +0.06%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8338.54µs ± 117.35µs 8374.67µs ± 90.01µs +0.43%
bench_hmr_to_eval/Turbopack RCC/1000 modules 8599.18µs ± 89.43µs 8588.10µs ± 79.75µs -0.13%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8585.78µs ± 74.45µs 8572.90µs ± 69.90µs -0.15%
bench_hydration/Turbopack RCC/1000 modules 4258.36ms ± 14.97ms 4226.86ms ± 15.13ms -0.74%
bench_hydration/Turbopack RSC/1000 modules 3820.10ms ± 24.07ms 3851.72ms ± 18.07ms +0.83%
bench_hydration/Turbopack SSR/1000 modules 3748.48ms ± 5.31ms 3729.00ms ± 14.34ms -0.52%
bench_startup/Turbopack CSR/1000 modules 2798.48ms ± 5.44ms 2778.01ms ± 15.31ms -0.73%
bench_startup/Turbopack RCC/1000 modules 2588.90ms ± 7.35ms 2571.20ms ± 5.17ms -0.68%
bench_startup/Turbopack RSC/1000 modules 2461.31ms ± 6.23ms 2446.83ms ± 4.50ms -0.59%
bench_startup/Turbopack SSR/1000 modules 2125.74ms ± 2.73ms 2121.45ms ± 3.25ms -0.20%

@alexkirsz alexkirsz added the pr: automerge Kodiak will merge these automatically after checks pass label Feb 7, 2023
@kodiakhq kodiakhq bot merged commit 741a127 into main Feb 7, 2023
@kodiakhq kodiakhq bot deleted the alexkirsz/web-539-navigating-to-a-404-doesnt-call branch February 7, 2023 09:39
@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2023

Benchmark for d09ee7d

Test Base PR % Significant %
bench_startup/Turbopack SSR/1000 modules 2145.67ms ± 7.84ms 2097.02ms ± 3.78ms -2.27% -1.19%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9312.02µs ± 64.53µs 9364.61µs ± 48.15µs +0.56%
bench_hmr_to_commit/Turbopack RCC/1000 modules 9490.24µs ± 43.73µs 9640.64µs ± 83.34µs +1.58%
bench_hmr_to_commit/Turbopack RSC/1000 modules 492.12ms ± 1.30ms 491.38ms ± 2.56ms -0.15%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9484.58µs ± 65.68µs 9557.11µs ± 105.80µs +0.76%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8184.04µs ± 71.04µs 8276.11µs ± 50.14µs +1.13%
bench_hmr_to_eval/Turbopack RCC/1000 modules 8572.36µs ± 74.82µs 8450.58µs ± 66.90µs -1.42%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8269.83µs ± 85.59µs 8366.22µs ± 72.01µs +1.17%
bench_hydration/Turbopack RCC/1000 modules 4183.41ms ± 9.89ms 4173.40ms ± 11.77ms -0.24%
bench_hydration/Turbopack RSC/1000 modules 3816.33ms ± 26.89ms 3830.06ms ± 21.23ms +0.36%
bench_hydration/Turbopack SSR/1000 modules 3680.29ms ± 17.16ms 3629.88ms ± 21.26ms -1.37%
bench_startup/Turbopack CSR/1000 modules 2762.90ms ± 10.93ms 2767.99ms ± 10.49ms +0.18%
bench_startup/Turbopack RCC/1000 modules 2543.10ms ± 6.36ms 2553.62ms ± 6.41ms +0.41%
bench_startup/Turbopack RSC/1000 modules 2420.37ms ± 7.25ms 2443.09ms ± 8.27ms +0.94%
bench_startup/Turbopack SSR/1000 modules 2145.67ms ± 7.84ms 2097.02ms ± 3.78ms -2.27% -1.19%

jridgewell pushed a commit to vercel/next.js that referenced this pull request Mar 10, 2023
sokra pushed a commit to vercel/next.js that referenced this pull request Mar 13, 2023
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 25, 2024
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 29, 2024
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ci pr: automerge Kodiak will merge these automatically after checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants