Skip to content

[ci] Fix rspack-update-tests-manifest workflow, delete dead turbopack workflow - #94835

Draft
bgw wants to merge 2 commits into
canaryfrom
bgw/fix-rspack-manifest-prs
Draft

bgw wants to merge 2 commits into
canaryfrom
bgw/fix-rspack-manifest-prs

Conversation

@bgw

@bgw bgw commented Jun 15, 2026 •

Copy link
Copy Markdown
Member

This workflow is used to update the data for https://www.arewerspackyet.com/

This has been failing with

gh: To use GitHub CLI in a GitHub Actions workflow, set the GH_TOKEN environment variable.

This is because test/update-bundler-manifest.js runs gh api in a few places.

Test run here: https://github.com/vercel/next.js/actions/runs/27584246352

bgw commented Jun 15, 2026

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions

github-actions Bot commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

Failing test suites

Commit: ed39874 | About building and testing Next.js

pnpm test-dev test/e2e/app-dir/pnpm-workspace-root/pnpm-workspace-root.test.ts (job)

  • pnpm-workspace-root > should detect root directory from pnpm-workspace.yaml and allow imports from outside app dir (DD)
  • pnpm-workspace-root > should not have multiple lockfiles warning when pnpm-workspace.yaml is present (DD)
Expand output

● pnpm-workspace-root › should detect root directory from pnpm-workspace.yaml and allow imports from outside app dir

Command failed with exit code 1 (EPERM): pnpm install --strict-peer-dependencies=false --no-frozen-lockfile --config.cacheDir=/tmp --prefer-offline

  24 |   }
  25 |
> 26 |   await execa('pnpm', args, {
     |   ^
  27 |     cwd,
  28 |     stdio: ['ignore', 'inherit', 'inherit'],
  29 |     env: {

  at makeError (../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:112:26)
  at installDependencies (lib/create-next-install.js:26:3)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at lib/create-next-install.js:251:9
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:66:10)
  at lib/next-modes/base.ts:348:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextDevInstance.createTestDir (lib/next-modes/base.ts:236:5)
  at NextDevInstance.setup (lib/next-modes/next-dev.ts:17:5)
  at lib/e2e-utils/index.ts:289:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:254:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:344:14)

● pnpm-workspace-root › should not have multiple lockfiles warning when pnpm-workspace.yaml is present

Command failed with exit code 1 (EPERM): pnpm install --strict-peer-dependencies=false --no-frozen-lockfile --config.cacheDir=/tmp --prefer-offline

  24 |   }
  25 |
> 26 |   await execa('pnpm', args, {
     |   ^
  27 |     cwd,
  28 |     stdio: ['ignore', 'inherit', 'inherit'],
  29 |     env: {

  at makeError (../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:112:26)
  at installDependencies (lib/create-next-install.js:26:3)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at lib/create-next-install.js:251:9
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:66:10)
  at lib/next-modes/base.ts:348:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextDevInstance.createTestDir (lib/next-modes/base.ts:236:5)
  at NextDevInstance.setup (lib/next-modes/next-dev.ts:17:5)
  at lib/e2e-utils/index.ts:289:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:254:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:344:14)

pnpm test-dev test/development/app-dir/create-next-app-default/create-next-app-default.test.ts (job)

  • create-next-app default template > should create and run without browser warnings or errors (DD)
Expand output

● create-next-app default template › should create and run without browser warnings or errors

next dev exited before becoming ready (code=1)

  87 |               clearTimeout(onTimeout)
  88 |               reject(
> 89 |                 new Error(
     |                 ^
  90 |                   `next dev exited before becoming ready (code=${code})`
  91 |                 )
  92 |               )

  at ChildProcess.<anonymous> (development/app-dir/create-next-app-default/create-next-app-default.test.ts:89:17)

pnpm test-start test/e2e/app-dir/pnpm-workspace-root/pnpm-workspace-root.test.ts (job)

  • pnpm-workspace-root > should detect root directory from pnpm-workspace.yaml and allow imports from outside app dir (DD)
  • pnpm-workspace-root > should not have multiple lockfiles warning when pnpm-workspace.yaml is present (DD)
Expand output

● pnpm-workspace-root › should detect root directory from pnpm-workspace.yaml and allow imports from outside app dir

Command failed with exit code 1 (EPERM): pnpm install --strict-peer-dependencies=false --no-frozen-lockfile --config.cacheDir=/tmp --prefer-offline

  24 |   }
  25 |
> 26 |   await execa('pnpm', args, {
     |   ^
  27 |     cwd,
  28 |     stdio: ['ignore', 'inherit', 'inherit'],
  29 |     env: {

  at makeError (../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:112:26)
  at installDependencies (lib/create-next-install.js:26:3)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at lib/create-next-install.js:251:9
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:66:10)
  at lib/next-modes/base.ts:348:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextStartInstance.createTestDir (lib/next-modes/base.ts:236:5)
  at NextStartInstance.setup (lib/next-modes/next-start.ts:45:5)
  at lib/e2e-utils/index.ts:289:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:254:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:344:14)

● pnpm-workspace-root › should not have multiple lockfiles warning when pnpm-workspace.yaml is present

Command failed with exit code 1 (EPERM): pnpm install --strict-peer-dependencies=false --no-frozen-lockfile --config.cacheDir=/tmp --prefer-offline

  24 |   }
  25 |
> 26 |   await execa('pnpm', args, {
     |   ^
  27 |     cwd,
  28 |     stdio: ['ignore', 'inherit', 'inherit'],
  29 |     env: {

  at makeError (../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:112:26)
  at installDependencies (lib/create-next-install.js:26:3)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at lib/create-next-install.js:251:9
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:66:10)
  at lib/next-modes/base.ts:348:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextStartInstance.createTestDir (lib/next-modes/base.ts:236:5)
  at NextStartInstance.setup (lib/next-modes/next-start.ts:45:5)
  at lib/e2e-utils/index.ts:289:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:254:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:344:14)

pnpm test-dev test/e2e/app-dir/pnpm-workspace-root/pnpm-workspace-root.test.ts (job)

  • pnpm-workspace-root > should detect root directory from pnpm-workspace.yaml and allow imports from outside app dir (DD)
  • pnpm-workspace-root > should not have multiple lockfiles warning when pnpm-workspace.yaml is present (DD)
Expand output

● pnpm-workspace-root › should detect root directory from pnpm-workspace.yaml and allow imports from outside app dir

Command failed with exit code 1 (EPERM): pnpm install --strict-peer-dependencies=false --no-frozen-lockfile --config.cacheDir=/tmp --prefer-offline

  24 |   }
  25 |
> 26 |   await execa('pnpm', args, {
     |   ^
  27 |     cwd,
  28 |     stdio: ['ignore', 'inherit', 'inherit'],
  29 |     env: {

  at makeError (../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:112:26)
  at installDependencies (lib/create-next-install.js:26:3)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at lib/create-next-install.js:251:9
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:66:10)
  at lib/next-modes/base.ts:348:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextDevInstance.createTestDir (lib/next-modes/base.ts:236:5)
  at NextDevInstance.setup (lib/next-modes/next-dev.ts:17:5)
  at lib/e2e-utils/index.ts:289:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:254:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:344:14)

● pnpm-workspace-root › should not have multiple lockfiles warning when pnpm-workspace.yaml is present

Command failed with exit code 1 (EPERM): pnpm install --strict-peer-dependencies=false --no-frozen-lockfile --config.cacheDir=/tmp --prefer-offline

  24 |   }
  25 |
> 26 |   await execa('pnpm', args, {
     |   ^
  27 |     cwd,
  28 |     stdio: ['ignore', 'inherit', 'inherit'],
  29 |     env: {

  at makeError (../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:112:26)
  at installDependencies (lib/create-next-install.js:26:3)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at lib/create-next-install.js:251:9
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:66:10)
  at lib/next-modes/base.ts:348:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextDevInstance.createTestDir (lib/next-modes/base.ts:236:5)
  at NextDevInstance.setup (lib/next-modes/next-dev.ts:17:5)
  at lib/e2e-utils/index.ts:289:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:254:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:344:14)

pnpm test-dev test/development/app-dir/create-next-app-default/create-next-app-default.test.ts (job)

  • create-next-app default template > should create and run without browser warnings or errors (DD)
Expand output

● create-next-app default template › should create and run without browser warnings or errors

next dev exited before becoming ready (code=1)

  87 |               clearTimeout(onTimeout)
  88 |               reject(
> 89 |                 new Error(
     |                 ^
  90 |                   `next dev exited before becoming ready (code=${code})`
  91 |                 )
  92 |               )

  at ChildProcess.<anonymous> (development/app-dir/create-next-app-default/create-next-app-default.test.ts:89:17)

pnpm test-dev test/e2e/yarn-pnp/test/with-eslint.test.ts (job)

  • yarn PnP > should compile and serve the index page correctly with-eslint (DD)
Expand output

● yarn PnP › should compile and serve the index page correctly with-eslint

Command failed: yarn set version 4.15.0 && yarn config set enableGlobalCache true && yarn config set compressionLevel 0 && yarn config set npmPreapprovedPackages --json "[\"@next/*\",\"@turbo/*\",\"@vercel/*\",\"@workflow/*\",\"babel-plugin-react-compiler\",\"next\",\"react\",\"react-dom\",\"react-is\",\"react-server-dom-*\",\"scheduler\",\"turbo\"]" && yarn add next@/home/runner/work/next.js/next.js/packages/next/packed.tgz [email protected] [email protected] @types/react@^18.3.5 @types/react-dom@^18.3.0 typescript@latest @types/node@^22.5.4 eslint@^9 eslint-config-next@/home/runner/work/next.js/next.js/packages/eslint-config-next/packed.tgz

  243 |         console.log('running install command', installString)
  244 |         rootSpan.traceChild('run custom install').traceFn(() => {
> 245 |           childProcess.execSync(installString, {
      |                        ^
  246 |             cwd: installDir,
  247 |             stdio: ['ignore', 'inherit', 'inherit'],
  248 |           })

  at execSync (lib/create-next-install.js:245:24)
  at Span.fn [as traceFn] (../packages/next/src/trace/trace.ts:135:14)
  at traceFn (lib/create-next-install.js:244:51)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:66:10)
  at lib/next-modes/base.ts:348:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextDevInstance.createTestDir (lib/next-modes/base.ts:236:5)
  at NextDevInstance.setup (lib/next-modes/next-dev.ts:17:5)
  at lib/e2e-utils/index.ts:289:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:254:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:344:14)

pnpm test-start test/production/create-next-app/package-manager/pnpm.test.ts (job)

  • create-next-app with package manager pnpm > should use pnpm for --use-pnpm flag (DD)
  • create-next-app with package manager pnpm > should use pnpm when user-agent is pnpm (DD)
Expand output

● create-next-app with package manager pnpm › should use pnpm for --use-pnpm flag

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at production/create-next-app/package-manager/pnpm.test.ts:53:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/package-manager/pnpm.test.ts:31:5)

● create-next-app with package manager pnpm › should use pnpm when user-agent is pnpm

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at production/create-next-app/package-manager/pnpm.test.ts:84:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/package-manager/pnpm.test.ts:62:5)

pnpm test-start test/production/create-next-app/templates/app-api.test.ts (job)

  • create-next-app --api (Headless App) > should create JavaScript project with --js flag (DD)
  • create-next-app --api (Headless App) > should create TypeScript project with --ts flag (DD)
  • create-next-app --api (Headless App) > should create project inside "src" directory with --src-dir flag (DD)
Expand output

● create-next-app --api (Headless App) › should create JavaScript project with --js flag

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

Expected: 0
Received: 1

  111 |     reject: false,
  112 |   })
> 113 |   expect(buildResult.exitCode).toBe(0)
      |                                ^
  114 |
  115 |   const port = await findPort()
  116 |   const server = spawn(

  at toBe (production/create-next-app/utils.ts:113:32)
  at production/create-next-app/templates/app-api.test.ts:78:7
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/templates/app-api.test.ts:54:5)

● create-next-app --api (Headless App) › should create TypeScript project with --ts flag

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

Expected: 0
Received: 1

  111 |     reject: false,
  112 |   })
> 113 |   expect(buildResult.exitCode).toBe(0)
      |                                ^
  114 |
  115 |   const port = await findPort()
  116 |   const server = spawn(

  at toBe (production/create-next-app/utils.ts:113:32)
  at production/create-next-app/templates/app-api.test.ts:111:7
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/templates/app-api.test.ts:87:5)

● create-next-app --api (Headless App) › should create project inside "src" directory with --src-dir flag

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

Expected: 0
Received: 1

  111 |     reject: false,
  112 |   })
> 113 |   expect(buildResult.exitCode).toBe(0)
      |                                ^
  114 |
  115 |   const port = await findPort()
  116 |   const server = spawn(

  at toBe (production/create-next-app/utils.ts:113:32)
  at production/create-next-app/templates/app-api.test.ts:143:7
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/templates/app-api.test.ts:117:5)

pnpm test-start test/production/create-next-app/templates/matrix.test.ts (job)

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

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

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

Expected: 0
Received: 1

  111 |     reject: false,
  112 |   })
> 113 |   expect(buildResult.exitCode).toBe(0)
      |                                ^
  114 |
  115 |   const port = await findPort()
  116 |   const server = spawn(

  at toBe (production/create-next-app/utils.ts:113:32)
  at production/create-next-app/templates/matrix.test.ts:96:13
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at production/create-next-app/templates/matrix.test.ts:71:9

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

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

Expected: 0
Received: 1

  111 |     reject: false,
  112 |   })
> 113 |   expect(buildResult.exitCode).toBe(0)
      |                                ^
  114 |
  115 |   const port = await findPort()
  116 |   const server = spawn(

  at toBe (production/create-next-app/utils.ts:113:32)
  at production/create-next-app/templates/matrix.test.ts:96:13
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at production/create-next-app/templates/matrix.test.ts:71:9

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

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

Expected: 0
Received: 1

  111 |     reject: false,
  112 |   })
> 113 |   expect(buildResult.exitCode).toBe(0)
      |                                ^
  114 |
  115 |   const port = await findPort()
  116 |   const server = spawn(

  at toBe (production/create-next-app/utils.ts:113:32)
  at production/create-next-app/templates/matrix.test.ts:96:13
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at production/create-next-app/templates/matrix.test.ts:71:9

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

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

Expected: 0
Received: 1

  111 |     reject: false,
  112 |   })
> 113 |   expect(buildResult.exitCode).toBe(0)
      |                                ^
  114 |
  115 |   const port = await findPort()
  116 |   const server = spawn(

  at toBe (production/create-next-app/utils.ts:113:32)
  at production/create-next-app/templates/matrix.test.ts:96:13
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at production/create-next-app/templates/matrix.test.ts:71:9

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

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

Expected: 0
Received: 1

  111 |     reject: false,
  112 |   })
> 113 |   expect(buildResult.exitCode).toBe(0)
      |                                ^
  114 |
  115 |   const port = await findPort()
  116 |   const server = spawn(

  at toBe (production/create-next-app/utils.ts:113:32)
  at production/create-next-app/templates/matrix.test.ts:96:13
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at production/create-next-app/templates/matrix.test.ts:71:9

pnpm test-start test/e2e/yarn-pnp/test/with-eslint.test.ts (job)

  • yarn PnP > should compile and serve the index page correctly with-eslint (DD)
Expand output

● yarn PnP › should compile and serve the index page correctly with-eslint

Command failed: yarn set version 4.15.0 && yarn config set enableGlobalCache true && yarn config set compressionLevel 0 && yarn config set npmPreapprovedPackages --json "[\"@next/*\",\"@turbo/*\",\"@vercel/*\",\"@workflow/*\",\"babel-plugin-react-compiler\",\"next\",\"react\",\"react-dom\",\"react-is\",\"react-server-dom-*\",\"scheduler\",\"turbo\"]" && yarn add next@/home/runner/work/next.js/next.js/packages/next/packed.tgz [email protected] [email protected] @types/react@^18.3.5 @types/react-dom@^18.3.0 typescript@latest @types/node@^22.5.4 eslint@^9 eslint-config-next@/home/runner/work/next.js/next.js/packages/eslint-config-next/packed.tgz

  243 |         console.log('running install command', installString)
  244 |         rootSpan.traceChild('run custom install').traceFn(() => {
> 245 |           childProcess.execSync(installString, {
      |                        ^
  246 |             cwd: installDir,
  247 |             stdio: ['ignore', 'inherit', 'inherit'],
  248 |           })

  at execSync (lib/create-next-install.js:245:24)
  at Span.fn [as traceFn] (../packages/next/src/trace/trace.ts:135:14)
  at traceFn (lib/create-next-install.js:244:51)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:66:10)
  at lib/next-modes/base.ts:348:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextStartInstance.createTestDir (lib/next-modes/base.ts:236:5)
  at NextStartInstance.setup (lib/next-modes/next-start.ts:45:5)
  at lib/e2e-utils/index.ts:289:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:254:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:344:14)

pnpm test-start test/production/app-dir/metadata-static-route-cache/metadata-static-route-cache.test.ts (job)

  • app dir - metadata static routes cache > should generate different content after replace the static metadata file (DD)
Expand output

● app dir - metadata static routes cache › should generate different content after replace the static metadata file

next already started

  65 |   ) {
  66 |     if (this.childProcess) {
> 67 |       throw new Error('next already started')
     |             ^
  68 |     }
  69 |
  70 |     this._cliOutput = ''

  at NextStartInstance.start (lib/next-modes/next-start.ts:67:13)
  at Object.start (production/app-dir/metadata-static-route-cache/metadata-static-route-cache.test.ts:17:16)

pnpm test-start test/production/create-next-app/biome-config.test.ts (job)

  • create-next-app Biome configuration > should run biome check successfully on generated TypeScript project (DD)
  • create-next-app Biome configuration > should run biome check successfully on generated JavaScript project (DD)
  • create-next-app Biome configuration > should format code with biome successfully (DD)
  • create-next-app Biome configuration > should show errors when biome detects issues (DD)
Expand output

● create-next-app Biome configuration › should run biome check successfully on generated TypeScript project

Command failed with exit code 127 (Unknown system error -127): npm run lint

  64 |
  65 |       // Run biome check on the generated project
> 66 |       const { exitCode: biomeExitCode, stdout } = await execa(
     |                                                   ^
  67 |         'npm',
  68 |         ['run', 'lint'],
  69 |         {

  at makeError (../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:112:26)
  at production/create-next-app/biome-config.test.ts:66:51
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/biome-config.test.ts:43:5)

● create-next-app Biome configuration › should run biome check successfully on generated JavaScript project

Command failed with exit code 127 (Unknown system error -127): npm run lint

  101 |
  102 |       // Run biome check on the generated project
> 103 |       const { exitCode: biomeExitCode, stdout } = await execa(
      |                                                   ^
  104 |         'npm',
  105 |         ['run', 'lint'],
  106 |         {

  at makeError (../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:112:26)
  at production/create-next-app/biome-config.test.ts:103:51
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/biome-config.test.ts:80:5)

● create-next-app Biome configuration › should format code with biome successfully

Command failed with exit code 127 (Unknown system error -127): npm run format

  138 |
  139 |       // Run biome format on the generated project
> 140 |       const { exitCode: biomeFormatCode, stdout } = await execa(
      |                                                     ^
  141 |         'npm',
  142 |         ['run', 'format'],
  143 |         {

  at makeError (../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:112:26)
  at production/create-next-app/biome-config.test.ts:140:53
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/biome-config.test.ts:117:5)

● create-next-app Biome configuration › should show errors when biome detects issues

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

Expected: 1
Received: 127

  204 |       } catch (error) {
  205 |         // The command should fail with exit code 1
> 206 |         expect(error.exitCode).toBe(1)
      |                                ^
  207 |         expect(error.stdout + error.stderr).toContain('problematic.tsx')
  208 |         // Check for specific error messages
  209 |         const output = error.stdout + error.stderr

  at toBe (production/create-next-app/biome-config.test.ts:206:32)
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/biome-config.test.ts:154:5)

pnpm test-start test/production/create-next-app/package-manager/npm.test.ts (job)

  • create-next-app with package manager npm > should use npm for --use-npm flag (DD)
  • create-next-app with package manager npm > should use npm when user-agent is npm (DD)
Expand output

● create-next-app with package manager npm › should use npm for --use-npm flag

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at production/create-next-app/package-manager/npm.test.ts:43:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/package-manager/npm.test.ts:21:5)

● create-next-app with package manager npm › should use npm when user-agent is npm

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at production/create-next-app/package-manager/npm.test.ts:74:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/package-manager/npm.test.ts:52:5)

pnpm test-start test/e2e/app-dir/pnpm-workspace-root/pnpm-workspace-root.test.ts (job)

  • pnpm-workspace-root > should detect root directory from pnpm-workspace.yaml and allow imports from outside app dir (DD)
  • pnpm-workspace-root > should not have multiple lockfiles warning when pnpm-workspace.yaml is present (DD)
Expand output

● pnpm-workspace-root › should detect root directory from pnpm-workspace.yaml and allow imports from outside app dir

Command failed with exit code 1 (EPERM): pnpm install --strict-peer-dependencies=false --no-frozen-lockfile --config.cacheDir=/tmp --prefer-offline

  24 |   }
  25 |
> 26 |   await execa('pnpm', args, {
     |   ^
  27 |     cwd,
  28 |     stdio: ['ignore', 'inherit', 'inherit'],
  29 |     env: {

  at makeError (../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:112:26)
  at installDependencies (lib/create-next-install.js:26:3)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at lib/create-next-install.js:251:9
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:66:10)
  at lib/next-modes/base.ts:348:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextStartInstance.createTestDir (lib/next-modes/base.ts:236:5)
  at NextStartInstance.setup (lib/next-modes/next-start.ts:45:5)
  at lib/e2e-utils/index.ts:289:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:254:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:344:14)

● pnpm-workspace-root › should not have multiple lockfiles warning when pnpm-workspace.yaml is present

Command failed with exit code 1 (EPERM): pnpm install --strict-peer-dependencies=false --no-frozen-lockfile --config.cacheDir=/tmp --prefer-offline

  24 |   }
  25 |
> 26 |   await execa('pnpm', args, {
     |   ^
  27 |     cwd,
  28 |     stdio: ['ignore', 'inherit', 'inherit'],
  29 |     env: {

  at makeError (../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:112:26)
  at installDependencies (lib/create-next-install.js:26:3)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at lib/create-next-install.js:251:9
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:66:10)
  at lib/next-modes/base.ts:348:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextStartInstance.createTestDir (lib/next-modes/base.ts:236:5)
  at NextStartInstance.setup (lib/next-modes/next-start.ts:45:5)
  at lib/e2e-utils/index.ts:289:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:254:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:344:14)

pnpm test-start test/production/create-next-app/examples.test.ts (job)

  • create-next-app --example > should fall back to default template if failed to download (DD)
  • create-next-app --example > should create if --example value is default (DD)
Expand output

● create-next-app --example › should fall back to default template if failed to download

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at projectFilesShouldExist (production/create-next-app/lib/utils.ts:146:3)
  at production/create-next-app/examples.test.ts:212:32
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/examples.test.ts:189:7)

● create-next-app --example › should create if --example value is default

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at projectFilesShouldExist (production/create-next-app/lib/utils.ts:146:3)
  at production/create-next-app/examples.test.ts:247:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/examples.test.ts:223:5)

pnpm test-start test/production/create-next-app/templates/app.test.ts (job)

  • create-next-app --app (App Router) > should create JavaScript project with --js flag (DD)
  • create-next-app --app (App Router) > should create TypeScript project with --ts flag (DD)
  • create-next-app --app (App Router) > should create project inside "src" directory with --src-dir flag (DD)
  • create-next-app --app (App Router) > should create TailwindCSS project with --tailwind flag (DD)
  • create-next-app --app (App Router) > should create an empty project with --empty flag (DD)
  • create-next-app --app (App Router) > should create an empty TailwindCSS project with --empty flag (DD)
Expand output

● create-next-app --app (App Router) › should create JavaScript project with --js flag

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at projectFilesShouldExist (production/create-next-app/lib/utils.ts:146:3)
  at production/create-next-app/templates/app.test.ts:40:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/templates/app.test.ts:18:5)

● create-next-app --app (App Router) › should create TypeScript project with --ts flag

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at projectFilesShouldExist (production/create-next-app/lib/utils.ts:146:3)
  at production/create-next-app/templates/app.test.ts:71:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/templates/app.test.ts:49:5)

● create-next-app --app (App Router) › should create project inside "src" directory with --src-dir flag

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at projectFilesShouldExist (production/create-next-app/lib/utils.ts:146:3)
  at production/create-next-app/templates/app.test.ts:101:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/templates/app.test.ts:78:5)

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

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at projectFilesShouldExist (production/create-next-app/lib/utils.ts:146:3)
  at production/create-next-app/templates/app.test.ts:138:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/templates/app.test.ts:116:5)

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

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at projectFilesShouldExist (production/create-next-app/lib/utils.ts:146:3)
  at production/create-next-app/templates/app.test.ts:177:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/templates/app.test.ts:153:5)

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

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at projectFilesShouldExist (production/create-next-app/lib/utils.ts:146:3)
  at production/create-next-app/templates/app.test.ts:217:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/templates/app.test.ts:193:5)

pnpm test-start test/production/create-next-app/package-manager/bun.test.ts (job)

  • create-next-app with package manager bun > should use bun for --use-bun flag (DD)
  • create-next-app with package manager bun > should use bun when user-agent is bun (DD)
Expand output

● create-next-app with package manager bun › should use bun for --use-bun flag

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at production/create-next-app/package-manager/bun.test.ts:54:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/package-manager/bun.test.ts:32:5)

● create-next-app with package manager bun › should use bun when user-agent is bun

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 |     } catch (err) {
  98 |       require('console').error(
  99 |         `missing expected file ${file}`,

  at toBe (production/create-next-app/lib/utils.ts:96:54)
  at production/create-next-app/package-manager/bun.test.ts:85:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (production/create-next-app/package-manager/bun.test.ts:63:5)

pnpm test-start test/production/create-next-app/package-manager/yarn.test.ts (job)

  • create-next-app with package manager yarn > should use yarn for --use-yarn flag (DD)
  • create-next-app with package manager yarn > should use yarn when user-agent is yarn (DD)
Expand output

● create-next-app with package manager yarn › should use yarn for --use-yarn flag

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

Expected: true
Received: false

  94 |   for (const file of files) {
  95 |     try {
> 96 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  97 

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

@github-actions

github-actions Bot commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

Stats skipped

Commit: ed39874
View workflow run

@bgw
bgw force-pushed the bgw/fix-rspack-manifest-prs branch from 6623aba to d9f5668 Compare June 15, 2026 23:53

@vercel vercel Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Additional Suggestion:

Changing WORKING_PATH to process.env.GITHUB_WORKSPACE (no trailing slash) leaves a leading slash in stripWorkingPath, corrupting manifest keys.

Fix on Vercel

sokra added a commit that referenced this pull request Oct 14, 2026
### What?

Fixes the scheduled `Update Rspack test manifest` workflow. Both of its
jobs, development and production, have failed every day, for example
[run
38217690831](https://github.com/vercel/next.js/actions/runs/38217690831).

### Why?

The workflow is supposed to keep
`test/rspack-{dev,build}-tests-manifest.json` up to date. Because it
keeps failing, those manifests are stale, and the release Rspack shards
run tests that are already known to fail (#100001 works around this by
hand).

There are two independent blockers:

1. **The GitHub CLI has no token.** #93455 moved these workflows to the
release GitHub App token, which is passed as `RELEASE_GITHUB_TOKEN`.
That removed the env var the GitHub CLI used to pick up.
`test/update-bundler-manifest.js` lists and downloads test-result
artifacts with `gh api`, so those calls now fail with "set the GH_TOKEN
environment variable".
2. **The runner path is out of date.** The updater strips a hardcoded
self-hosted runner prefix (`/root/actions-runner/...`) from test file
paths. Current artifacts come from GitHub-hosted runners
(`/home/runner/work/next.js/next.js/`). So even with auth fixed, the
script stops while processing the results.

### How?

- **Separate tokens for reads and writes.** The updater step now gets
the job's built-in token for the GitHub CLI, used only to read
artifacts. The release App token is unchanged and still does the work
that has to trigger CI: checkout, signed commits and PR creation. Its
permissions are not widened.
- **Least privilege.** Following `.github/AGENTS.md`, the workflow
defaults to no permissions, and each job grants only `actions: read`.
- **Path from the runner.** The updater derives its path prefix from
`GITHUB_WORKSPACE`, with a trailing separator so manifest keys stay
repo-relative (`test/...`). It assumes the jobs that produce and consume
the artifacts run on the same kind of GitHub-hosted runner, which is
true today. If the variable is missing it fails with a clear message, so
a manual run can't produce bad keys.

This follows the approach of @bgw's earlier draft #94835, applied fresh
on current canary. The obsolete Turbopack workflow that #94835 deleted
is already gone.

### Verification

- On unmodified canary, the updater downloads the artifact and then
fails on the old runner prefix.
- With this change, the dev and build updaters both succeed against the
latest real canary artifacts. All 1,535 dev keys and 1,606 build keys
are repo-relative. I discarded the generated manifests.
- Workflow permissions and token wiring were checked by parsing the
YAML. The updater's path handling was checked with zero, one and several
trailing slashes, and with the variable missing.
- Prettier and ESLint pass.
- **Not yet verified end to end in Actions.** Local runs used my own
GitHub CLI login, not the job-scoped token. Please dispatch the workflow
on this branch, or wait for the next scheduled run, to confirm `actions:
read` is enough. The first successful run will open a large manifest
refresh PR. Because the workflow uses `--override`, previously-passing
tests can move to failing in that refresh.

<!-- NEXT_JS_LLM -->


<!-- fleet 96f9352a-face-45ea-8233-1f0245d272b9 -->

Co-authored-by: vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>
Co-authored-by: Tobias Koppers <[email protected]>

This branch has not been deployed

No deployments
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.

1 participant