Skip to content

feat: support pnpm v12, which is distributed as a native executable #1638

feat: support pnpm v12, which is distributed as a native executable

feat: support pnpm v12, which is distributed as a native executable #1638

Re-run triggered August 12, 2026 14:15
Status Failure
Total duration 12m 30s
Artifacts –

ci.yml

on: pull_request
Testing chores
28s
Testing chores
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
tests/main.test.ts > custom registry with auth PROXY > should download custom package manager: tests/main.test.ts#L1546
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "customPkgManager: Hello from custom registry + "exitCode": 1, + "stderr": "/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:7418 + self2.emit(\"error\", Object.assign(new Error(`${code2}: ${message}`), data)); + ^ + + Error: TAR_BAD_ARCHIVE: Unrecognized archive format + at warnMethod (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:7418:43) + at Unpack.warn (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:7528:9) + at Unpack.warn (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:8689:22) + at Unpack.<anonymous> (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:7500:18) + at Unpack.emit (node:events:526:24) + at [emit] (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:7679:16) + at [maybeEnd] (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:7826:21) + at [consumeChunk] (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:7852:25) + at Unpack.write (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:7799:29) + at Unpack.end (/home/runner/work/corepack/corepack/dist/lib/corepack.cjs:7906:20) { + recoverable: false, + cwd: '/tmp/xfs-411d2aa2/v1/corepack-5416-d8498271.dec978', + code: 'TAR_BAD_ARCHIVE', + tarCode: 'TAR_BAD_ARCHIVE' + } + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1546:147 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1545:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1536
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1536:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1535:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1536
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1536:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1535:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1536
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1536:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1535:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1526
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1526:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1521:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1526
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1526:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1521:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1526
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1526:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1521:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1512
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1512:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1511:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1512
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1512:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1511:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1512
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1512:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1511:7
tests/main.test.ts > custom registry with auth PROXY > should download custom package manager: tests/main.test.ts#L1546
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "customPkgManager: Hello from custom registry + "exitCode": 1, + "stderr": "/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:7418 + self2.emit(\"error\", Object.assign(new Error(`${code2}: ${message}`), data)); + ^ + + Error: TAR_BAD_ARCHIVE: Unrecognized archive format + at warnMethod (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:7418:43) + at Unpack.warn (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:7528:9) + at Unpack.warn (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:8689:22) + at Unpack.<anonymous> (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:7500:18) + at Unpack.emit (node:events:526:24) + at [emit] (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:7679:16) + at [maybeEnd] (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:7826:21) + at [consumeChunk] (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:7852:25) + at Unpack.write (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:7799:29) + at Unpack.end (/Users/runner/work/corepack/corepack/dist/lib/corepack.cjs:7906:20) { + recoverable: false, + cwd: '/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/xfs-71e7e72b/v1/corepack-2470-e1bb12c.ecddc8', + code: 'TAR_BAD_ARCHIVE', + tarCode: 'TAR_BAD_ARCHIVE' + } + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1546:147 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1545:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1536
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1536:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1535:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1536
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1536:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1535:7
tests/main.test.ts > custom registry with auth PROXY > should download pnpm: tests/main.test.ts#L1536
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "pnpm: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1536:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1535:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1526
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1526:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1521:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1526
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1526:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1521:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn berry: tests/main.test.ts#L1526
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1526:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:24 ❯ tests/main.test.ts:1521:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1512
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1512:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1511:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1512
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1512:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1511:7
tests/main.test.ts > custom registry with auth PROXY > should download yarn classic: tests/main.test.ts#L1512
AssertionError: expected { exitCode: 1, stdout: '', …(1) } to match object { exitCode: +0, …(2) } - Expected + Received { - "exitCode": 0, - "stderr": "", - "stdout": "yarn: Hello from custom registry + "exitCode": 1, + "stderr": "<anonymous_script>:1 + okay + ^ + + SyntaxError: Unexpected token 'o', \"okay\" is not valid JSON + at JSON.parse (<anonymous>) + at parseJSONFromBytes (node:internal/deps/undici/undici:4359:19) + at successSteps (node:internal/deps/undici/undici:6998:27) + at readAllBytes (node:internal/deps/undici/undici:5821:13) + at process.processTicksAndRejections (node:internal/process/task_queues:104:5) + + Node.js v26.7.0 ", + "stdout": "", } ❯ tests/main.test.ts:1512:66 ❯ NodeFS.mktempPromise node_modules/@yarnpkg/fslib/lib/xfs.js:86:30 ❯ tests/main.test.ts:1511:7