Skip to content

feat(runtime): align import.meta.resolve with node.js's implementation #3095

feat(runtime): align import.meta.resolve with node.js's implementation

feat(runtime): align import.meta.resolve with node.js's implementation #3095

Triggered via pull request April 1, 2024 08:40
Status Failure
Total duration 32m 41s
Artifacts 11

bun-windows.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
error: expect(received).toContain(expected): test\cli\install\bun-install.test.ts#L1777
Expected to contain: "Saved lockfile" Received: "bun add v1.1.0-canary.77 (68364b92)\n Resolving dependencies\nerror: InstallFailed extracting tarball for dylan-conway/install-test2#HEAD\n Resolved, downloaded and extracted [2]\nerror: moving \"dylan-conway/install-test2#HEAD\" to cache dir failed: EEXIST: File or folder exists (NtSetInformationFile())\n From: .17c21ca02ff86d66-00000001.dylan-conway/install-test2#HEAD\n To: @gh@dylan-conway-install-test2-5ed489c\n" at C:\a\bun\bun\test\cli\install\bun-install.test.ts:1777:3
error: Test "migrate from npm during `bun add`" timed out after 5000ms: test\cli\install\migration\migrate.test.ts#L37
at testMigration (C:\a\bun\bun\test\cli\install\migration\migrate.test.ts:37:3) at C:\a\bun\bun\test\cli\install\migration\migrate.test.ts:52:3
error: expect(received).not.toContain(expected): test\cli\install\registry\bun-install-registry.test.ts#L2640
Expected to not contain: "error:" Received: "bun install v1.1.0-canary.77 (68364b92)\n Resolving dependencies\n Resolved, downloaded and extracted [8]\n Saved lockfile\n\n$ [[ -f \"./node_modules/uses-what-bin-slow/what-bin.txt\" ]]\n'[[' is not recognized as an internal or external command,\r\noperable program or batch file.\r\nerror: preinstall script from \"foo\" exited with 1\n" at C:\a\bun\bun\test\cli\install\registry\bun-install-registry.test.ts:2640:7
error: expect(received).toContain(expected): test\cli\install\registry\bun-install-registry.test.ts#L3074
Expected to contain: "error: Oops!" Received: "bun install v1.1.0-canary.77 (68364b92)\nNo packages! Deleted empty lockfile\n\n$ C:/a/_temp/release/bun-windows-x64-profile/bun.exe -e \"throw new Error('Oops!')\"\n1 | \"throw\n ^\nerror: Unterminated string literal\n at C:\\Users\\runneradmin\\AppData\\Local\\Temp\\bun-test-tmp-6mz_-1729611648_dv9r\\bun-install-registry-75-RKSt0b\\[eval]:1:1\nerror: preinstall script from \"fooooooooo\" exited with 1\n" at C:\a\bun\bun\test\cli\install\registry\bun-install-registry.test.ts:3074:7
error: expect(received).not.toContain(expected): test\cli\install\registry\bun-install-registry.test.ts#L3502
Expected to not contain: "error:" Received: "bun install v1.1.0-canary.77 (68364b92)\n Resolving dependencies\n Resolved, downloaded and extracted [8]\n Saved lockfile\n\n$ [[ -f \"./node_modules/uses-what-bin-slow/what-bin.txt\" ]]\n'[[' is not recognized as an internal or external command,\r\noperable program or batch file.\r\nerror: install script from \"foo\" exited with 1\n" at C:\a\bun\bun\test\cli\install\registry\bun-install-registry.test.ts:3502:7
ENOENT: No such file or directory
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: expect(received).toEndWith(expected): test\cli\install\registry\bun-install-registry.test.ts#L3795
Expected to end with: "\\node-gyp.cmd\n" Received: "$npm_config_node_gyp \r\n" at C:\a\bun\bun\test\cli\install\registry\bun-install-registry.test.ts:3795:7
error: expect(received).not.toContain(expected): test\cli\install\registry\bun-install-registry.test.ts#L3821
Expected to not contain: "error:" Received: "bun install v1.1.0-canary.77 (68364b92)\nNo packages! Deleted empty lockfile\n\n$ node $npm_config_node_gyp --version\nnode:internal/modules/cjs/loader:1147\r\n throw err;\r\n ^\r\n\r\nError: Cannot find module 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\bun-test-tmp-6mz_-1729611648_dv9r\\bun-install-registry-91-iXJ19o\\$npm_config_node_gyp'\r\n at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)\r\n at Module._load (node:internal/modules/cjs/loader:985:27)\r\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)\r\n at node:internal/main/run_main_module:28:49 {\r\n code: 'MODULE_NOT_FOUND',\r\n requireStack: []\r\n}\r\n\r\nNode.js v20.11.1\r\nerror: install script from \"foo\" exited with 1\n" at C:\a\bun\bun\test\cli\install\registry\bun-install-registry.test.ts:3821:7
error: expect(received).not.toContain(expected): test\cli\install\registry\bun-install-registry.test.ts#L4587
Expected to not contain: "error:" Received: "bun install v1.1.0-canary.77 (68364b92)\nNo packages! Deleted empty lockfile\n\n$ node -p \"require('fs').writeFileSync('postinstall.txt', 'postinstall')\"\n1 | \"require('fs').writeFileSync('postinstall.txt',\n ^\nerror: Unterminated string literal\n at C:\\Users\\runneradmin\\AppData\\Local\\Temp\\bun-test-tmp-6mz_-1729611648_dv9r\\bun-install-registry-96-Hyb7Wa\\[eval]:1:1\nerror: postinstall script from \"foo\" exited with 1\n" at C:\a\bun\bun\test\cli\install\registry\bun-install-registry.test.ts:4587:7
error: expect(received).not.toContain(expected): test\cli\install\registry\bun-install-registry.test.ts#L4969
Expected to not contain: "error:" Received: \\n\")'\n1 | 'process.stderr.write(\"preinstall\n ^\nerror: Unterminated string literal\n at C:\\Users\\runneradmin\\AppData\\Local\\Temp\\bun-test-tmp-6mz_-1729611648_dv9r\\bun-install-registry-99-OBCS5Y\\[eval]:1:1\nerror: preinstall script from \"foo\" exited with 1\n" at C:\a\bun\bun\test\cli\install\registry\bun-install-registry.test.ts:4969:7
Test (haswell, x86_64)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
bun-windows-x64 Expired
31.5 MB
bun-windows-x64-baseline Expired
31.5 MB
bun-windows-x64-baseline-profile Expired
98.6 MB
bun-windows-x64-codegen Expired
1 MB
bun-windows-x64-cpp Expired
181 MB
bun-windows-x64-cpp-baseline Expired
181 MB
bun-windows-x64-deps Expired
9.74 MB
bun-windows-x64-deps-baseline Expired
9.74 MB
bun-windows-x64-profile Expired
98.6 MB
bun-windows-x64-zig Expired
19.8 MB
bun-windows-x64-zig-baseline Expired
19.8 MB