Skip to content

fix: which should use cwd if given a relative filepath #13518

fix: which should use cwd if given a relative filepath

fix: which should use cwd if given a relative filepath #13518

Triggered via pull request March 31, 2024 23:06
Status Failure
Total duration 42m 55s
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

11 errors
Tests bun-darwin-x64
Process completed with exit code 1.
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4611
Expected to contain: "No packages! Deleted empty lockfile" Received: "bun install v1.0.36 (55cb2acf)\n1 | #!/usr/bin/env node\n2 | \n3 | const child_process = require(\"child_process\");\n4 | child_process.spawnSync(\"bun\", [\"x\", \"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-bwdo_-1763932108_cy7n/.17c1fd7b0f10b579-00000001.node-gyp/node-gyp:4:1\n\nerror: preinstall script from \"foo\" exited with 1\n" at /Users/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4611:7
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4611
Expected to contain: "No packages! Deleted empty lockfile" Received: "bun install v1.0.36 (55cb2acf)\n1 | #!/usr/bin/env node\n2 | \n3 | const child_process = require(\"child_process\");\n4 | child_process.spawnSync(\"bun\", [\"x\", \"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-bwdo_-1763932108_cy7n/.17c1fd7d947932f9-00000001.node-gyp/node-gyp:4:1\n\nerror: preinstall script from \"foo\" exited with 1\n" at /Users/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4611:7
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)
error: TestPassed: test/js/bun/http/serve.test.ts#L314
at pull (/Users/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 /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1433:15 at error (/Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1427:20)
error: test/js/bun/http/serve.test.ts#L1438
at /Users/runner/work/bun/bun/test/js/bun/http/serve.test.ts:1438:15

Artifacts

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