Skip to content

fix(turbopack): respect arrow function targets - #97484

Open
fireairforce wants to merge 2 commits into
vercel:canaryfrom
utooland:zoomdong/fix-turbopack-ios9-arrows
Open

fix(turbopack): respect arrow function targets#97484
fireairforce wants to merge 2 commits into
vercel:canaryfrom
utooland:zoomdong/fix-turbopack-ios9-arrows

Conversation

@fireairforce

@fireairforce fireairforce commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

What?

  • Emit classic functions from async chunk and manifest loaders when the configured browser target does not support arrow functions.
  • Prevent SWC compression from reintroducing arrow functions for those targets across browser, worker, evaluate, runtime, and Node.js chunks.
  • Add production regression coverage for generated dynamic-import wrappers and object methods rewritten by the minifier.

Why?

Turbopack already uses the target's arrow-function support for outer chunk factories, but some generated loaders still hardcoded arrow functions. SWC compression could also turn compatible functions and object methods back into arrow functions even when the output target did not support them.

As a result, production output could contain ArrowFunctionExpression nodes that were incompatible with the configured Browserslist target.

How?

  • Query supports_arrow_functions from the chunking environment when generating loaders and selecting minifier options.
  • Generate equivalent classic-function callbacks for unsupported targets.
  • Set SWC's CompressOptions.arrows from the same runtime capability.
  • Parse emitted static JavaScript in the escheck production test and assert that old-browser output contains no arrow-function AST nodes.

Tests

  • pnpm build-all
  • cargo test -p turbopack-ecmascript respects_arrow_function_support
  • cargo clippy --all-targets -- -D warnings --no-deps
  • test/production/escheck-output (4/4 passing)

Related to #83799

@fireairforce
fireairforce marked this pull request as ready for review August 18, 2026 06:39
@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Failing test suites

Commit: d803640 | About building and testing Next.js

pnpm test-start test/production/next-image-legacy/basic/basic.test.ts (job)

  • Image Component Tests > Client-side Image Component Tests > should render an image tag (DD)
  • Image Component Tests > Client-side Image Component Tests > should support passing through arbitrary attributes (DD)
  • Image Component Tests > Client-side Image Component Tests > should modify src with the loader (DD)
  • Image Component Tests > Client-side Image Component Tests > should correctly generate src even if preceding slash is included in prop (DD)
  • Image Component Tests > Client-side Image Component Tests > should add a srcset based on the loader (DD)
  • Image Component Tests > Client-side Image Component Tests > should add a srcset even with preceding slash in prop (DD)
  • Image Component Tests > Client-side Image Component Tests > should use imageSizes when width matches, not deviceSizes from next.config.js (DD)
  • Image Component Tests > Client-side Image Component Tests > should support the unoptimized attribute (DD)
  • Image Component Tests > Client-side Image Component Tests > should not add a srcset if unoptimized attribute present (DD)
  • Image Component Tests > Client-side Image Component Tests > should keep auto parameter if already set (DD)
  • Image Component Tests > Client-side Image Component Tests > should keep width parameter if already set (DD)
  • Image Component Tests > Client-side Image Component Tests > should keep fit parameter if already set (DD)
  • Image Component Tests > Client-side Image Component Tests > should only be loaded once if sizes is set (DD)
  • Image Component Tests > Client-side Image Component Tests > Client-side Errors > Should not log an error when an unregistered host is used in production (DD)
  • Image Component Tests > SSR Image Component Tests > should render an image tag (DD)
  • Image Component Tests > SSR Image Component Tests > should support passing through arbitrary attributes (DD)
  • Image Component Tests > SSR Image Component Tests > should modify src with the loader (DD)
  • Image Component Tests > SSR Image Component Tests > should correctly generate src even if preceding slash is included in prop (DD)
  • Image Component Tests > SSR Image Component Tests > should add a srcset based on the loader (DD)
  • Image Component Tests > SSR Image Component Tests > should add a srcset even with preceding slash in prop (DD)
  • Image Component Tests > SSR Image Component Tests > should use imageSizes when width matches, not deviceSizes from next.config.js (DD)
  • Image Component Tests > SSR Image Component Tests > should support the unoptimized attribute (DD)
  • Image Component Tests > SSR Image Component Tests > should not add a srcset if unoptimized attribute present (DD)
  • Image Component Tests > SSR Image Component Tests > should keep auto parameter if already set (DD)
  • Image Component Tests > SSR Image Component Tests > should keep width parameter if already set (DD)
  • Image Component Tests > SSR Image Component Tests > should keep fit parameter if already set (DD)
  • Image Component Tests > SSR Image Component Tests > should add a preload tag for a priority image (DD)
  • Image Component Tests > SSR Image Component Tests > should add a preload tag for a priority image with preceding slash (DD)
  • Image Component Tests > SSR Image Component Tests > should add a preload tag for a priority image, with arbitrary host (DD)
  • Image Component Tests > SSR Image Component Tests > should add a preload tag for a priority image, with quality (DD)
  • Image Component Tests > SSR Image Component Tests > should not create any preload tags higher up the page than CSS preload tags (DD)
  • Image Component Tests > SSR Image Component Tests > should add data-nimg data attribute based on layout (DD)
  • Image Component Tests > SSR Image Component Tests > should not pass config to custom loader prop (DD)
Expand output

● Image Component Tests › SSR Image Component Tests › should render an image tag

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should support passing through arbitrary attributes

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should modify src with the loader

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should correctly generate src even if preceding slash is included in prop

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a srcset based on the loader

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a srcset even with preceding slash in prop

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should use imageSizes when width matches, not deviceSizes from next.config.js

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should support the unoptimized attribute

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should not add a srcset if unoptimized attribute present

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should keep auto parameter if already set

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should keep width parameter if already set

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should keep fit parameter if already set

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a preload tag for a priority image

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a preload tag for a priority image with preceding slash

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a preload tag for a priority image, with arbitrary host

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a preload tag for a priority image, with quality

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should not create any preload tags higher up the page than CSS preload tags

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:38089/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add data-nimg data attribute based on layout

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "

... truncated ...

pnpm test-start test/production/next-image-legacy/custom-resolver/custom-resolver.test.ts (job)

  • Custom Resolver Tests > Client-side Custom Loader Tests > Should use a custom resolver for image URL (DD)
  • Custom Resolver Tests > Client-side Custom Loader Tests > should add a srcset based on the custom resolver (DD)
  • Custom Resolver Tests > Client-side Custom Loader Tests > should support the unoptimized attribute (DD)
  • Custom Resolver Tests > SSR Custom Loader Tests > Should use a custom resolver for image URL (DD)
  • Custom Resolver Tests > SSR Custom Loader Tests > should add a srcset based on the custom resolver (DD)
  • Custom Resolver Tests > SSR Custom Loader Tests > should support the unoptimized attribute (DD)
Expand output

● Custom Resolver Tests › SSR Custom Loader Tests › Should use a custom resolver for image URL

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:46273/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/custom-resolver/custom-resolver.test.ts:32:17)

● Custom Resolver Tests › SSR Custom Loader Tests › should add a srcset based on the custom resolver

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:46273/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/custom-resolver/custom-resolver.test.ts:32:17)

● Custom Resolver Tests › SSR Custom Loader Tests › should support the unoptimized attribute

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:46273/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/custom-resolver/custom-resolver.test.ts:32:17)

● Custom Resolver Tests › Client-side Custom Loader Tests › Should use a custom resolver for image URL

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:46273/client-side", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/custom-resolver/custom-resolver.test.ts:40:17)

● Custom Resolver Tests › Client-side Custom Loader Tests › should add a srcset based on the custom resolver

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:46273/client-side", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/custom-resolver/custom-resolver.test.ts:40:17)

● Custom Resolver Tests › Client-side Custom Loader Tests › should support the unoptimized attribute

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:46273/client-side", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/custom-resolver/custom-resolver.test.ts:40:17)

pnpm test-start-turbo test/production/next-image-legacy/basic/basic.test.ts (turbopack) (job)

  • Image Component Tests > Client-side Image Component Tests > should render an image tag (DD)
  • Image Component Tests > Client-side Image Component Tests > should support passing through arbitrary attributes (DD)
  • Image Component Tests > Client-side Image Component Tests > should modify src with the loader (DD)
  • Image Component Tests > Client-side Image Component Tests > should correctly generate src even if preceding slash is included in prop (DD)
  • Image Component Tests > Client-side Image Component Tests > should add a srcset based on the loader (DD)
  • Image Component Tests > Client-side Image Component Tests > should add a srcset even with preceding slash in prop (DD)
  • Image Component Tests > Client-side Image Component Tests > should use imageSizes when width matches, not deviceSizes from next.config.js (DD)
  • Image Component Tests > Client-side Image Component Tests > should support the unoptimized attribute (DD)
  • Image Component Tests > Client-side Image Component Tests > should not add a srcset if unoptimized attribute present (DD)
  • Image Component Tests > Client-side Image Component Tests > should keep auto parameter if already set (DD)
  • Image Component Tests > Client-side Image Component Tests > should keep width parameter if already set (DD)
  • Image Component Tests > Client-side Image Component Tests > should keep fit parameter if already set (DD)
  • Image Component Tests > Client-side Image Component Tests > should only be loaded once if sizes is set (DD)
  • Image Component Tests > Client-side Image Component Tests > Client-side Errors > Should not log an error when an unregistered host is used in production (DD)
  • Image Component Tests > SSR Image Component Tests > should render an image tag (DD)
  • Image Component Tests > SSR Image Component Tests > should support passing through arbitrary attributes (DD)
  • Image Component Tests > SSR Image Component Tests > should modify src with the loader (DD)
  • Image Component Tests > SSR Image Component Tests > should correctly generate src even if preceding slash is included in prop (DD)
  • Image Component Tests > SSR Image Component Tests > should add a srcset based on the loader (DD)
  • Image Component Tests > SSR Image Component Tests > should add a srcset even with preceding slash in prop (DD)
  • Image Component Tests > SSR Image Component Tests > should use imageSizes when width matches, not deviceSizes from next.config.js (DD)
  • Image Component Tests > SSR Image Component Tests > should support the unoptimized attribute (DD)
  • Image Component Tests > SSR Image Component Tests > should not add a srcset if unoptimized attribute present (DD)
  • Image Component Tests > SSR Image Component Tests > should keep auto parameter if already set (DD)
  • Image Component Tests > SSR Image Component Tests > should keep width parameter if already set (DD)
  • Image Component Tests > SSR Image Component Tests > should keep fit parameter if already set (DD)
  • Image Component Tests > SSR Image Component Tests > should add a preload tag for a priority image (DD)
  • Image Component Tests > SSR Image Component Tests > should add a preload tag for a priority image with preceding slash (DD)
  • Image Component Tests > SSR Image Component Tests > should add a preload tag for a priority image, with arbitrary host (DD)
  • Image Component Tests > SSR Image Component Tests > should add a preload tag for a priority image, with quality (DD)
  • Image Component Tests > SSR Image Component Tests > should not create any preload tags higher up the page than CSS preload tags (DD)
  • Image Component Tests > SSR Image Component Tests > should add data-nimg data attribute based on layout (DD)
  • Image Component Tests > SSR Image Component Tests > should not pass config to custom loader prop (DD)
Expand output

● Image Component Tests › SSR Image Component Tests › should render an image tag

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should support passing through arbitrary attributes

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should modify src with the loader

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should correctly generate src even if preceding slash is included in prop

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a srcset based on the loader

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a srcset even with preceding slash in prop

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should use imageSizes when width matches, not deviceSizes from next.config.js

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should support the unoptimized attribute

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should not add a srcset if unoptimized attribute present

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should keep auto parameter if already set

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should keep width parameter if already set

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should keep fit parameter if already set

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a preload tag for a priority image

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a preload tag for a priority image with preceding slash

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a preload tag for a priority image, with arbitrary host

page.goto: Timeout 60000ms exceeded.
Call log:
  - navigating to "http://localhost:39471/", waiting until "load"

  392 |     await opts?.beforePageLoad?.(page)
  393 |
> 394 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  395 |   }
  396 |
  397 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:394:16)
  at webdriver (lib/next-webdriver.ts:151:3)
  at Object.<anonymous> (production/next-image-legacy/basic/basic.test.ts:292:17)

● Image Component Tests › SSR Image Component Tests › should add a preload tag for a priority image,

... truncated to fit in one GitHub comment ...

@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Stats from current PR

🟢 2 improvements

Metric Canary PR Change
Turbo Build Time 6.354s 5.794s 🟢 560ms (-9%)
Webpack Warm (First Request) 3.560s 3.370s 🟢 190ms (-5%)
📊 All Metrics
📖 Metrics Glossary

Dev Server Metrics:

  • Listen = TCP port starts accepting connections
  • First Request = HTTP server returns successful response
  • Cold = Fresh build (no cache)
  • Warm = With cached build artifacts

Build Metrics:

  • Fresh = Clean build (no .next directory)
  • Cached = With existing .next directory

Change Thresholds:

  • Time: Changes < 50ms AND < 10%, OR < 2% are insignificant
  • Size: Changes < 1KB AND < 1% are insignificant
  • All other changes are flagged to catch regressions

⚡ Dev Server

Metric Canary PR Change
Cold (Listen) 814ms 813ms
Cold (Ready in log) 811ms 805ms
Cold (First Request) 1.309s 1.297s
Warm (Listen) 813ms 813ms
Warm (Ready in log) 804ms 806ms
Warm (First Request) 1.291s 1.293s
📦 Dev Server (Webpack) (Legacy)

📦 Dev Server (Webpack)

Metric Canary PR Change
Cold (Listen) 823ms 813ms
Cold (Ready in log) 807ms 806ms
Cold (First Request) 3.423s 3.374s
Warm (Listen) 864ms 813ms
Warm (Ready in log) 836ms 804ms
Warm (First Request) 3.560s 3.370s 🟢 190ms (-5%)

⚡ Production Builds

Metric Canary PR Change
Fresh Build 6.354s 5.794s 🟢 560ms (-9%)
Cached Build 3.044s 2.971s
📦 Production Builds (Webpack) (Legacy)

📦 Production Builds (Webpack)

Metric Canary PR Change
Fresh Build 24.908s 24.600s
Cached Build 24.730s 24.726s
node_modules Size 554 MB 554 MB
📦 Bundle Sizes

Bundle Sizes

⚡ Turbopack

Client

Main Bundles
Canary PR Change
03w7r9j3lejb_.js gzip 154 B N/A -
050icza-xjz0i.js gzip 5.73 kB N/A -
07jdby0ue616s.js gzip 450 B N/A -
0bjdc8muo74n5.js gzip 8.71 kB N/A -
0cz1d0mv5g_q7.js gzip 39.4 kB 39.4 kB
0rci1f3or1a19.js gzip 13.3 kB N/A -
1_2x714--ii1i.js gzip 8.76 kB N/A -
1-3y752pkth5-.js gzip 10 kB N/A -
19gb-1_5udxfb.js gzip 13.2 kB N/A -
1cz3ginsmcle0.js gzip 154 B N/A -
1elt1qium-r2m.css gzip 115 B 115 B
1tf1phijqlx9j.js gzip 220 B 220 B
1uzabyd1120a1.js gzip 8.71 kB N/A -
1x38nkal_v7pc.js gzip 155 B N/A -
2_ln1vao-rk0y.js gzip 157 B N/A -
2-ufv8lc-g7gg.js gzip 10.6 kB N/A -
21kmjy_10x14f.js gzip 8.81 kB N/A -
22ayitm_chlxg.js gzip 156 B N/A -
28dhc6t85q1_p.js gzip 8.78 kB N/A -
2f-ilvczue-tp.js gzip 9.46 kB N/A -
2f1u17u5c8iny.js gzip 8.79 kB N/A -
2ikltg_8iegxw.js gzip 10.3 kB N/A -
2ixp3xn2_vz0r.js gzip 3.57 kB N/A -
2jsj5c-k8e_ic.js gzip 167 B N/A -
2pflec0m3q9fw.js gzip 154 B N/A -
2u-ye52h91kww.js gzip 157 B N/A -
2vmba87tvhgta.js gzip 151 B N/A -
2vxi673cz1-t4.js gzip 8.79 kB N/A -
2we2d4xaeyh0g.js gzip 159 B N/A -
2xejdu2qay51r.js gzip 71.6 kB N/A -
38-q43pzktqhs.js gzip 1.46 kB N/A -
3f977fytahn5a.js gzip 7.53 kB N/A -
3lh70vgwg4fu0.js gzip 157 B N/A -
3lrfocd661skw.js gzip 65.6 kB N/A -
3nbojhxiy1qv_.js gzip 13.7 kB N/A -
3r9mg09sag_yr.js gzip 47 kB N/A -
3wvoy-0kg4nyj.js gzip 155 B N/A -
41u5s3oe2-erp.js gzip 2.29 kB N/A -
443fsfu98ohj2.js gzip 154 B N/A -
445s_9hf8o7ao.js gzip 8.76 kB N/A -
turbopack-0d..9ejy.js gzip 3.74 kB 3.74 kB
0-6bcj16ji2wf.js gzip N/A 10.6 kB -
07fykf3emkal5.js gzip N/A 160 B -
07ryk0jced-sc.js gzip N/A 8.78 kB -
08syz7eip76c-.js gzip N/A 155 B -
08uxqx7bg5dlq.js gzip N/A 160 B -
0jwho9fkrb_t3.js gzip N/A 2.29 kB -
0ozxu90dde3wo.js gzip N/A 71.7 kB -
0roh390ijzxa5.js gzip N/A 8.75 kB -
0vex9w55ursqj.js gzip N/A 8.79 kB -
11zw3t1q0obkt.js gzip N/A 46.9 kB -
13fdp6hysi38e.js gzip N/A 7.53 kB -
146nmyqtnakfu.js gzip N/A 153 B -
17oe55cu76cd7.js gzip N/A 450 B -
1drww5xikb-c-.js gzip N/A 9.46 kB -
1g60xde_dv17t.js gzip N/A 8.79 kB -
1hovhst2vl2gj.js gzip N/A 167 B -
1ivmwbt-dele6.js gzip N/A 153 B -
1uzv47btzam64.js gzip N/A 5.73 kB -
1vy7n7wxv_rh5.js gzip N/A 8.81 kB -
1wgtd9no2bhq0.js gzip N/A 154 B -
1ysr6_a4kex3x.js gzip N/A 65.6 kB -
2-0i7pl900-ou.js gzip N/A 8.71 kB -
2-kcbngm7ik7y.js gzip N/A 8.75 kB -
29p5-xa4jmdhg.js gzip N/A 13.7 kB -
29r6vmn75glzv.js gzip N/A 155 B -
2dbvaz7jxpuq_.js gzip N/A 152 B -
2nsrcvgnlgkby.js gzip N/A 3.56 kB -
2ugc69z0t0ypz.js gzip N/A 1.46 kB -
2y1z3p-ikluge.js gzip N/A 153 B -
36dn8i-_3dnq5.js gzip N/A 10 kB -
3fljpmwcjxqhx.js gzip N/A 10.3 kB -
3gz44skqdlsrb.js gzip N/A 8.71 kB -
3skgwg3_u6i_e.js gzip N/A 13.2 kB -
3vbh50a3jnqad.js gzip N/A 155 B -
3xduv-_pdendj.js gzip N/A 156 B -
3y9tus7kb5su0.js gzip N/A 13.3 kB -
3zy7v9x3a1vjk.js gzip N/A 153 B -
Total 401 kB 401 kB ✅ -9 B

Server

Middleware
Canary PR Change
middleware-b..fest.js gzip 1.05 kB 1.06 kB
Total 1.05 kB 1.06 kB ⚠️ +1 B
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 879 B 875 B
Total 879 B 875 B ✅ -4 B
Build Cache
Canary PR Change
00000001.sst gzip 16.8 MB 14.2 MB 🟢 2.54 MB (-15%)
00000002.sst gzip 13.5 MB 14.1 MB 🔴 +602 kB (+4%)
00000003.sst gzip 11.5 MB 14.4 MB 🔴 +2.86 MB (+25%)
00000004.sst gzip 13.8 MB 12.9 MB 🟢 928 kB (-7%)
00000005.sst gzip 2.8 MB 10.2 MB 🔴 +7.41 MB (+264%)
00000006.sst gzip 10.2 MB 2.8 MB 🟢 7.44 MB (-73%)
00000007.sst gzip 59 B 59 B
00000008.meta gzip 89 B 89 B
00000009.meta gzip 298 kB 298 kB
00000010.meta gzip 298 kB 298 kB
00000011.meta gzip 298 kB 298 kB
00000012.sst gzip 52.1 kB 51.3 kB 🟢 746 B (-1%)
00000013.sst gzip 1.86 MB 1.81 MB 🟢 49.6 kB (-3%)
00000014.sst gzip 59 B 59 B
00000015.meta gzip 116 B 116 B
00000016.meta gzip 328 kB 327 kB
00000017.meta gzip 407 kB 407 kB
00000018.sst gzip 52.8 kB 52.2 kB 🟢 545 B (-1%)
00000019.sst gzip 1.41 MB 1.39 MB 🟢 14.4 kB (-1%)
00000020.sst gzip 59 B 59 B
00000021.meta gzip 116 B 116 B
00000022.meta gzip 328 kB 327 kB
00000023.meta gzip 373 kB 373 kB
00000024.sst gzip 52.8 kB 52.1 kB 🟢 666 B (-1%)
00000025.sst gzip 1.41 MB 1.39 MB 🟢 14.4 kB (-1%)
00000026.sst gzip 59 B 59 B
00000027.meta gzip 116 B 116 B
00000028.meta gzip 328 kB 327 kB
00000029.meta gzip 373 kB 373 kB
00000030.sst gzip 52.2 kB 51.4 kB 🟢 808 B (-2%)
00000031.sst gzip 1.41 MB 1.39 MB 🟢 14.3 kB (-1%)
00000032.sst gzip 59 B 59 B
00000033.meta gzip 116 B 116 B
00000034.meta gzip 328 kB 327 kB
00000035.meta gzip 373 kB 373 kB
00000036.sst gzip 52.7 kB 52.1 kB 🟢 594 B (-1%)
00000037.sst gzip 1.41 MB 1.39 MB 🟢 14.4 kB (-1%)
00000038.sst gzip 59 B 59 B
00000039.meta gzip 116 B 116 B
00000040.meta gzip 328 kB 327 kB
00000041.meta gzip 373 kB 373 kB
CURRENT gzip 93 B 94 B 🔴 +1 B (+1%)
LOG gzip 666 B 677 B 🔴 +11 B (+2%)
Total 80.8 MB 80.6 MB ✅ -147 kB

📦 Webpack

Client

Main Bundles
Canary PR Change
3322-HASH.js gzip 66.1 kB N/A -
4191.HASH.js gzip 169 B N/A -
7920-HASH.js gzip 4.67 kB N/A -
9784-HASH.js gzip 5.63 kB N/A -
b1ad9f4c-HASH.js gzip 63.5 kB N/A -
framework-HASH.js gzip 59.7 kB 59.7 kB
main-app-HASH.js gzip 254 B 253 B
main-HASH.js gzip 40.2 kB 40.2 kB
webpack-HASH.js gzip 1.68 kB 1.68 kB
3577.HASH.js gzip N/A 168 B -
578-HASH.js gzip N/A 66.3 kB -
8590-HASH.js gzip N/A 5.61 kB -
9750-HASH.js gzip N/A 4.68 kB -
a8984546-HASH.js gzip N/A 63.5 kB -
Total 242 kB 242 kB ⚠️ +67 B
Polyfills
Canary PR Change
polyfills-HASH.js gzip 39.4 kB 39.4 kB
Total 39.4 kB 39.4 kB
Pages
Canary PR Change
_app-HASH.js gzip 194 B 193 B
_error-HASH.js gzip 181 B 182 B
css-HASH.js gzip 334 B 331 B
dynamic-HASH.js gzip 1.81 kB 1.81 kB
edge-ssr-HASH.js gzip 255 B 253 B
head-HASH.js gzip 349 B 351 B
hooks-HASH.js gzip 382 B 384 B
image-HASH.js gzip 581 B 582 B
index-HASH.js gzip 260 B 259 B
link-HASH.js gzip 2.48 kB 2.48 kB
routerDirect..HASH.js gzip 317 B 318 B
script-HASH.js gzip 384 B 386 B
withRouter-HASH.js gzip 316 B 315 B
1afbb74e6ecf..834.css gzip 106 B 106 B
Total 7.95 kB 7.96 kB ⚠️ +4 B

Server

Edge SSR
Canary PR Change
edge-ssr.js gzip 129 kB 129 kB
page.js gzip 294 kB 294 kB
Total 424 kB 423 kB ✅ -890 B
Middleware
Canary PR Change
middleware-b..fest.js gzip 618 B 616 B
middleware-r..fest.js gzip 156 B 156 B
middleware.js gzip 46.1 kB 45.9 kB
edge-runtime..pack.js gzip 842 B 842 B
Total 47.7 kB 47.5 kB ✅ -213 B
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 717 B 718 B
Total 717 B 718 B ⚠️ +1 B
Build Cache
Canary PR Change
0.pack gzip 4.83 MB 4.82 MB 🟢 7.12 kB (0%)
index.pack gzip 124 kB 123 kB 🟢 1.39 kB (-1%)
index.pack.old gzip 123 kB 124 kB
Total 5.08 MB 5.07 MB ✅ -7.69 kB

🔄 Shared (bundler-independent)

Runtimes
Canary PR Change
app-page-exp...dev.js gzip 376 kB 376 kB
app-page-exp..prod.js gzip 207 kB 207 kB
app-page-tur...dev.js gzip 375 kB 375 kB
app-page-tur..prod.js gzip 206 kB 206 kB
app-page-tur...dev.js gzip 372 kB 372 kB
app-page-tur..prod.js gzip 204 kB 204 kB
app-page.run...dev.js gzip 372 kB 372 kB
app-page.run..prod.js gzip 204 kB 204 kB
app-route-ex...dev.js gzip 83.2 kB 83.2 kB
app-route-ex..prod.js gzip 56.2 kB 56.2 kB
app-route-tu...dev.js gzip 83.2 kB 83.2 kB
app-route-tu..prod.js gzip 56.2 kB 56.2 kB
app-route-tu...dev.js gzip 82.8 kB 82.8 kB
app-route-tu..prod.js gzip 56 kB 56 kB
app-route.ru...dev.js gzip 82.8 kB 82.8 kB
app-route.ru..prod.js gzip 55.9 kB 55.9 kB
dev-validati...dev.js gzip 134 kB 134 kB
dev-validati...dev.js gzip 134 kB 134 kB
dev-validati...dev.js gzip 132 kB 132 kB
dev-validati...dev.js gzip 132 kB 132 kB
dist_client_...dev.js gzip 324 B 324 B
dist_client_...dev.js gzip 326 B 326 B
dist_client_...dev.js gzip 318 B 318 B
dist_client_...dev.js gzip 317 B 317 B
pages-api-tu...dev.js gzip 46.5 kB 46.5 kB
pages-api-tu..prod.js gzip 34.7 kB 34.7 kB
pages-api.ru...dev.js gzip 46.5 kB 46.5 kB
pages-api.ru..prod.js gzip 34.7 kB 34.7 kB
pages-turbo....dev.js gzip 55.3 kB 55.3 kB
pages-turbo...prod.js gzip 40.2 kB 40.2 kB
pages.runtim...dev.js gzip 55.3 kB 55.3 kB
pages.runtim..prod.js gzip 40.2 kB 40.2 kB
server.runti..prod.js gzip 66.6 kB 66.6 kB
use-cache-pr...dev.js gzip 72.7 kB 72.7 kB
use-cache-pr...dev.js gzip 72.7 kB 72.7 kB
use-cache-pr...dev.js gzip 70.9 kB 70.9 kB
use-cache-pr...dev.js gzip 70.9 kB 70.9 kB
Total 4.11 MB 4.11 MB
📎 Tarball URL
https://vercel-packages.vercel.app/next/commits/d80364030e2c2b7b614b7d7fdafd8da55771b23a/next

Commit: d803640

import { execSync } from 'child_process'
import { readFileSync, readdirSync } from 'fs'
import { join } from 'path'
import { parse } from 'acorn'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This fails with

next:typescript: 
//:typescript: test/production/escheck-output/index.test.ts(5,23): error TS2307: Cannot find module 'acorn' or its corresponding type declarations.
//:typescript:  ELIFECYCLE  Command failed with exit code 2.
next:typescript:  ELIFECYCLE  Command failed.

And doesn't escheck already cover this?

@fireairforce fireairforce Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sorry i miss this, updated and fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants