Skip to content

Prettier-ignore changes in next-env.d.ts files in all top-level apps#89176

Merged
unstubbable merged 1 commit intocanaryfrom
hl/prettier-ignore-bundle-analyzer-next-env-d-ts
Jan 28, 2026
Merged

Prettier-ignore changes in next-env.d.ts files in all top-level apps#89176
unstubbable merged 1 commit intocanaryfrom
hl/prettier-ignore-bundle-analyzer-next-env-d-ts

Conversation

@unstubbable
Copy link
Contributor

@unstubbable unstubbable commented Jan 28, 2026

Specifically, the lint job is currently failing in CI for apps/bundle-analyzer/next-env.d.ts, e.g.:
https://github.com/vercel/next.js/actions/runs/21444929031/job/61758061793?pr=89175

Copy link
Contributor Author

unstubbable commented Jan 28, 2026

@unstubbable unstubbable marked this pull request as ready for review January 28, 2026 15:56
Specifically, the `lint` job is currently failing in CI for
`apps/bundle-analyzer/next-env.d.ts`, e.g.:
https://github.com/vercel/next.js/actions/runs/21444929031/job/61758061793?pr=89175
@unstubbable unstubbable changed the base branch from hl/silence-baseline-browser-mapping-warning to graphite-base/89176 January 28, 2026 16:05
@unstubbable unstubbable force-pushed the hl/prettier-ignore-bundle-analyzer-next-env-d-ts branch from 28d5658 to 33f12aa Compare January 28, 2026 16:05
@unstubbable unstubbable changed the base branch from graphite-base/89176 to canary January 28, 2026 16:05
@unstubbable unstubbable enabled auto-merge (squash) January 28, 2026 16:06
@unstubbable unstubbable disabled auto-merge January 28, 2026 16:11
@nextjs-bot
Copy link
Collaborator

nextjs-bot commented Jan 28, 2026

Failing test suites

Commit: 33f12aa | About building and testing Next.js

pnpm test test/integration/dist-dir/test/index.test.ts (turbopack) (job)

  • distDir > production mode > should handle undefined distDir (DD)
Expand output

● distDir › production mode › should handle undefined distDir

expect(received).toBeEmpty()

Expected value to be empty received:
  "[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
"

  107 |         await fs.writeFile(nextConfig, origNextConfig)
  108 |
> 109 |         expect(stderr).toBeEmpty()
      |                        ^
  110 |       })
  111 |     }
  112 |   )

  at Object.toBeEmpty (integration/dist-dir/test/index.test.ts:109:24)

pnpm test test/integration/config-output-export/test/index.test.ts (turbopack) (job)

  • config-output-export > should work with static homepage (DD)
  • config-output-export > should work with getStaticPaths and fallback false (DD)
Expand output

● config-output-export › should work with static homepage

expect(received).toBeEmpty()

Expected value to be empty received:
  "[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
"

  54 |       '<div id="__next">Hello World</div>'
  55 |     )
> 56 |     expect(result.stderr).toBeEmpty()
     |                           ^
  57 |   })
  58 |
  59 |   it('should error with "i18n" config', async () => {

  at Object.toBeEmpty (integration/config-output-export/test/index.test.ts:56:27)

● config-output-export › should work with getStaticPaths and fallback false

expect(received).toBeEmpty()

Expected value to be empty received:
  "[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
"

  455 |       expect(await h1.text()).toContain('Hello from one')
  456 |       await waitForNoRedbox(browser)
> 457 |       expect(result.stderr).toBeEmpty()
      |                             ^
  458 |     } finally {
  459 |       await killApp(app).catch(() => {})
  460 |       fs.rmSync(posts, { recursive: true, force: true })

  at Object.toBeEmpty (integration/config-output-export/test/index.test.ts:457:29)

pnpm test test/integration/webpack-require-hook/test/index.test.ts (job)

  • Handles Webpack Require Hook > build > Does not error during build (DD)
Expand output

● Handles Webpack Require Hook › build › Does not error during build

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

- Expected  - 1
+ Received  + 7

- Array []
+ Array [
+   "[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`",
+   "[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`",
+   "[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`",
+   "[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`",
+   "[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`",
+ ]

  26 |           .split('\n')
  27 |           .filter((line) => line && !line.trim().startsWith('⚠'))
> 28 |         expect(errors).toEqual([])
     |                        ^
  29 |         expect(stdout).toMatch(/Initialized config/)
  30 |       })
  31 |     })

  at Object.toEqual (integration/webpack-require-hook/test/index.test.ts:28:24)

pnpm test-start test/e2e/postcss-config-ts/index.test.ts (job)

Expand output

● Test suite failed to run

Jest encountered an unexpected token

Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

By default "node_modules" folder is ignored by transformers.

Here's what you can do:
 • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
 • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
 • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
 • If you need a custom transformation specify a "transform" option in your config.
 • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

You'll find more details and examples of these config options in the docs:
https://jestjs.io/docs/configuration
For information about custom transformations, see:
https://jestjs.io/docs/code-transformation

Details:

/root/actions-runner/_work/next.js/next.js/test/e2e/postcss-config-ts/index.test.ts:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import { FileRef, nextTestSetup } from 'e2e-utils';
                                                                                  ^^^^^^

SyntaxError: Cannot use import statement outside a module

  at Runtime.createScriptFromCode (../node_modules/.pnpm/jest-runtime@29.7.0/node_modules/jest-runtime/build/index.js:1505:14)

@nextjs-bot
Copy link
Collaborator

Stats from current PR

✅ No significant changes detected

📊 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 Trend
Cold (Listen) 456ms 455ms ▁▁▁▁▁
Cold (Ready in log) 440ms 439ms █▂▇▇▇
Cold (First Request) 1.151s 1.158s █▂███
Warm (Listen) 456ms 456ms ▁▁▁▁▁
Warm (Ready in log) 444ms 449ms ▁▅▂▂▂
Warm (First Request) 346ms 349ms ▅▅███
📦 Dev Server (Webpack) (Legacy)

📦 Dev Server (Webpack)

Metric Canary PR Change Trend
Cold (Listen) 455ms 455ms ▅▅▅▁▁
Cold (Ready in log) 437ms 436ms ▅▇▆▆▁
Cold (First Request) 1.843s 1.836s ▃▇▆▄▁
Warm (Listen) 456ms 455ms ▅▅▅▅▅
Warm (Ready in log) 436ms 436ms ▅█▇▇▁
Warm (First Request) 1.826s 1.841s ▄██▆▁

⚡ Production Builds

Metric Canary PR Change Trend
Fresh Build 4.257s 4.304s ▁▅▁▁▁
Cached Build 4.314s 4.357s ▁▅▁▁▁
📦 Production Builds (Webpack) (Legacy)

📦 Production Builds (Webpack)

Metric Canary PR Change Trend
Fresh Build 13.973s 13.990s ▁▇█▂▂
Cached Build 14.075s 14.028s ▁▇█▂▃
node_modules Size 462 MB 462 MB ▅▅▅██
📦 Bundle Sizes

Bundle Sizes

⚡ Turbopack

Client

Main Bundles: **432 kB** → **432 kB** ✅ -42 B

81 files with content-based hashes (individual files not comparable between builds)

Server

Middleware
Canary PR Change
middleware-b..fest.js gzip 770 B 763 B
Total 770 B 763 B ✅ -7 B
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 451 B 450 B
Total 451 B 450 B ✅ -1 B

📦 Webpack

Client

Main Bundles
Canary PR Change
5528-HASH.js gzip 5.47 kB N/A -
6280-HASH.js gzip 52.7 kB N/A -
6335.HASH.js gzip 169 B N/A -
912-HASH.js gzip 4.53 kB N/A -
e8aec2e4-HASH.js gzip 62.3 kB N/A -
framework-HASH.js gzip 59.7 kB 59.7 kB
main-app-HASH.js gzip 256 B 254 B
main-HASH.js gzip 39 kB 39 kB
webpack-HASH.js gzip 1.68 kB 1.68 kB
262-HASH.js gzip N/A 4.52 kB -
2889.HASH.js gzip N/A 169 B -
5602-HASH.js gzip N/A 5.48 kB -
6948ada0-HASH.js gzip N/A 62.3 kB -
9544-HASH.js gzip N/A 53.2 kB -
Total 226 kB 226 kB ⚠️ +477 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 194 B
_error-HASH.js gzip 183 B 180 B 🟢 3 B (-2%)
css-HASH.js gzip 331 B 330 B
dynamic-HASH.js gzip 1.81 kB 1.81 kB
edge-ssr-HASH.js gzip 256 B 256 B
head-HASH.js gzip 351 B 352 B
hooks-HASH.js gzip 384 B 383 B
image-HASH.js gzip 580 B 581 B
index-HASH.js gzip 260 B 260 B
link-HASH.js gzip 2.49 kB 2.49 kB
routerDirect..HASH.js gzip 320 B 319 B
script-HASH.js gzip 386 B 386 B
withRouter-HASH.js gzip 315 B 315 B
1afbb74e6ecf..834.css gzip 106 B 106 B
Total 7.97 kB 7.97 kB ✅ -1 B

Server

Edge SSR
Canary PR Change
edge-ssr.js gzip 126 kB 126 kB
page.js gzip 246 kB 247 kB
Total 373 kB 373 kB ⚠️ +238 B
Middleware
Canary PR Change
middleware-b..fest.js gzip 614 B 615 B
middleware-r..fest.js gzip 156 B 155 B
middleware.js gzip 33 kB 33.1 kB
edge-runtime..pack.js gzip 842 B 842 B
Total 34.6 kB 34.8 kB ⚠️ +181 B
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 732 B 736 B
Total 732 B 736 B ⚠️ +4 B
Build Cache
Canary PR Change
0.pack gzip 3.71 MB 3.73 MB 🔴 +13.9 kB (+0%)
index.pack gzip 101 kB 102 kB 🔴 +1.79 kB (+2%)
index.pack.old gzip 101 kB 102 kB 🔴 +1.23 kB (+1%)
Total 3.91 MB 3.93 MB ⚠️ +16.9 kB

🔄 Shared (bundler-independent)

Runtimes
Canary PR Change
app-page-exp...dev.js gzip 308 kB 308 kB
app-page-exp..prod.js gzip 164 kB 164 kB
app-page-tur...dev.js gzip 308 kB 308 kB
app-page-tur..prod.js gzip 164 kB 164 kB
app-page-tur...dev.js gzip 305 kB 305 kB
app-page-tur..prod.js gzip 162 kB 162 kB
app-page.run...dev.js gzip 305 kB 305 kB
app-page.run..prod.js gzip 162 kB 162 kB
app-route-ex...dev.js gzip 70.2 kB 70.2 kB
app-route-ex..prod.js gzip 48.8 kB 48.8 kB
app-route-tu...dev.js gzip 70.2 kB 70.2 kB
app-route-tu..prod.js gzip 48.8 kB 48.8 kB
app-route-tu...dev.js gzip 69.8 kB 69.8 kB
app-route-tu..prod.js gzip 48.6 kB 48.6 kB
app-route.ru...dev.js gzip 69.8 kB 69.8 kB
app-route.ru..prod.js gzip 48.6 kB 48.6 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 43.1 kB 43.1 kB
pages-api-tu..prod.js gzip 32.8 kB 32.8 kB
pages-api.ru...dev.js gzip 43.1 kB 43.1 kB
pages-api.ru..prod.js gzip 32.8 kB 32.8 kB
pages-turbo....dev.js gzip 52.4 kB 52.4 kB
pages-turbo...prod.js gzip 39.3 kB 39.3 kB
pages.runtim...dev.js gzip 52.3 kB 52.3 kB
pages.runtim..prod.js gzip 39.3 kB 39.3 kB
server.runti..prod.js gzip 62.5 kB 62.5 kB
Total 2.75 MB 2.75 MB

@unstubbable unstubbable merged commit 0aa4185 into canary Jan 28, 2026
148 of 170 checks passed
@unstubbable unstubbable deleted the hl/prettier-ignore-bundle-analyzer-next-env-d-ts branch January 28, 2026 16:31
unstubbable added a commit that referenced this pull request Jan 29, 2026
#89176)

Specifically, the `lint` job is currently failing in CI for
`apps/bundle-analyzer/next-env.d.ts`, e.g.:

https://github.com/vercel/next.js/actions/runs/21444929031/job/61758061793?pr=89175
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

created-by: Next.js team PRs by the Next.js team. locked

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants