Skip to content

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

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

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

Triggered via pull request April 1, 2024 08:40
Status Failure
Total duration 37m 25s
Artifacts 4

bun-linux-build.yml

on: pull_request
Matrix: linux
Matrix: linux-test
Fit to window
Zoom out
Zoom in

Annotations

21 errors
error: expect(received).not.toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4623
Expected to not contain: "not found" Received: "bun install v1.1.0 (68364b92)\nNo packages! Deleted empty lockfile\n\n$ node-gyp --version\n1 | #!/usr/bin/env node\n2 | \n3 | const child_process = require(\"child_process\");\n4 | child_process.spawnSync(\"bun\", [\"x\", \"--silent\", \"node-gyp\", ...process.argv.slice(2)], { stdio: \"inherit\" });\n ^\nTypeError: Executable not found in $PATH: \"bun\"\n code: \"ERR_INVALID_ARG_TYPE\"\n\n at node:child_process:164:47\n at /home/runner/work/_temp/bun-test-tmp-fk9w_-1729962744_g4oj/.17c21c5e7270b13d-00000001.node-gyp/node-gyp:4:1\nerror: preinstall script from \"foo\" exited with 1\n" at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4623:7
error: expect(received).not.toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4623
Expected to not contain: "not found" Received: "bun install v1.1.0 (68364b92)\nNo packages! Deleted empty lockfile\n\n$ node-gyp --version\n1 | #!/usr/bin/env node\n2 | \n3 | const child_process = require(\"child_process\");\n4 | child_process.spawnSync(\"bun\", [\"x\", \"--silent\", \"node-gyp\", ...process.argv.slice(2)], { stdio: \"inherit\" });\n ^\nTypeError: Executable not found in $PATH: \"bun\"\n code: \"ERR_INVALID_ARG_TYPE\"\n\n at node:child_process:164:47\n at /home/runner/work/_temp/bun-test-tmp-fk9w_-1729962744_g4oj/.17c21c60888c79fd-00000001.node-gyp/node-gyp:4:1\nerror: preinstall script from \"foo\" exited with 1\n" at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4623:7
error: Oops: test/js/bun/http/async-iterator-stream.test.ts#L38
at /home/runner/work/bun/bun/test/js/bun/http/async-iterator-stream.test.ts:38:19 at pull (:14:29) at readDirectStream (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: TestPassed: test/js/bun/http/serve.test.ts#L314
at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:314:25) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: test/js/bun/http/serve.test.ts#L1433
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1433:15 at error (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1427:20)
Tests linux-x64
Process completed with exit code 1.
Tests linux-x64-baseline
Process completed with exit code 1.
error: expect(received).not.toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4623
Expected to not contain: "not found" Received: "bun install v1.1.0 (68364b92)\nNo packages! Deleted empty lockfile\n\n$ node-gyp --version\n1 | #!/usr/bin/env node\n2 | \n3 | const child_process = require(\"child_process\");\n4 | child_process.spawnSync(\"bun\", [\"x\", \"--silent\", \"node-gyp\", ...process.argv.slice(2)], { stdio: \"inherit\" });\n ^\nTypeError: Executable not found in $PATH: \"bun\"\n code: \"ERR_INVALID_ARG_TYPE\"\n\n at node:child_process:164:47\n at /home/runner/work/_temp/bun-test-tmp-3c3r_-1729924084_2lzw/.17c21c69f21875fd-00000001.node-gyp/node-gyp:4:1\nerror: preinstall script from \"foo\" exited with 1\n" at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4623:7
error: expect(received).not.toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4623
Expected to not contain: "not found" Received: "bun install v1.1.0 (68364b92)\nNo packages! Deleted empty lockfile\n\n$ node-gyp --version\n1 | #!/usr/bin/env node\n2 | \n3 | const child_process = require(\"child_process\");\n4 | child_process.spawnSync(\"bun\", [\"x\", \"--silent\", \"node-gyp\", ...process.argv.slice(2)], { stdio: \"inherit\" });\n ^\nTypeError: Executable not found in $PATH: \"bun\"\n code: \"ERR_INVALID_ARG_TYPE\"\n\n at node:child_process:164:47\n at /home/runner/work/_temp/bun-test-tmp-3c3r_-1729924084_2lzw/.17c21c6d54ed34ff-00000001.node-gyp/node-gyp:4:1\nerror: preinstall script from \"foo\" exited with 1\n" at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4623:7
error: Oops: test/js/bun/http/async-iterator-stream.test.ts#L38
at /home/runner/work/bun/bun/test/js/bun/http/async-iterator-stream.test.ts:38:19 at pull (:14:29) at readDirectStream (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L351
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:348:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: TestPassed: test/js/bun/http/serve.test.ts#L314
at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:314:25) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: test/js/bun/http/serve.test.ts#L1433
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1433:15 at error (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1427:20)
error: test/js/bun/http/serve.test.ts#L1438
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1438:15

Artifacts

Produced during runtime
Name Size
bun-linux-x64 Expired
33.4 MB
bun-linux-x64-baseline Expired
33.4 MB
bun-linux-x64-baseline-profile Expired
61.2 MB
bun-linux-x64-profile Expired
61.2 MB