Skip to content

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

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

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

Triggered via pull request April 1, 2024 08:40
Status Failure
Total duration 46m 21s
Artifacts 5

bun-mac-x64.yml

on: pull_request
Matrix: macOS C++
Matrix: macOS Dependencies
Matrix: macOS Zig Object
Matrix: macOS Link
Matrix: macOS-test
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Tests bun-darwin-x64
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 /Users/runner/work/_temp/bun-test-tmp-j5f0_-1729513439_1v7v/.17c21cc8ca297479-00000001.node-gyp/node-gyp:4:1\nerror: preinstall script from \"foo\" exited with 1\n" at /Users/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 /Users/runner/work/_temp/bun-test-tmp-j5f0_-1729513439_1v7v/.17c21ccb76993ef9-00000001.node-gyp/node-gyp:4:1\nerror: preinstall script from \"foo\" exited with 1\n" at /Users/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4623:7
error: expect(received).toEqual(expected): test/cli/install/registry/bun-install-registry.test.ts#L5506
[ "", + "Checked 1 install across 2 packages (no changes)" - " + [email protected]", - "", - " 1 package installed" ] - Expected - 3 + Received + 1 at /Users/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:5506:9
error: Oops: test/js/bun/http/async-iterator-stream.test.ts#L38
at /Users/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 /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/Users/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 /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/Users/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 /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/Users/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 /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:351:25 at pull (/Users/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)

Artifacts

Produced during runtime
Name Size
bun-darwin-x64 Expired
17.9 MB
bun-darwin-x64-cpp Expired
54.4 MB
bun-darwin-x64-deps Expired
14.9 MB
bun-darwin-x64-profile Expired
19.9 MB
bun-obj-darwin-x64 Expired
28.5 MB