Skip to content

Use new.target instead of instanceof to detect if its a constructor call #9454

Use new.target instead of instanceof to detect if its a constructor call

Use new.target instead of instanceof to detect if its a constructor call #9454

Triggered via pull request December 5, 2023 21:44
Status Failure
Total duration 28m 46s
Artifacts 4
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

bun-linux-build.yml

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

Annotations

17 errors and 4 warnings
Tests linux-x64-baseline-assertions
Unable to find an artifact with the name: bun-linux-x64-baseline-assertions
Tests linux-x64-assertions
Unable to find an artifact with the name: bun-linux-x64-assertions
Tests linux-x64-baseline
Process completed with exit code 1.
error: expect(received).toEqual(expected): test/cli/install/bun-install.test.ts#L5203
[ "http://localhost:53645/bar", "http://localhost:53645/bar-0.0.2.tgz", "http://localhost:53645/baz", + "http://localhost:53645/baz", "http://localhost:53645/baz-0.0.3.tgz", "http://localhost:53645/moo-0.1.0.tgz" ] - Expected - 0 + Received + 1 at /home/runner/work/bun/bun/test/cli/install/bun-install.test.ts:5203:3
error: expect(received).toBe(expected): test/cli/run/env.test.ts#L442
Expected: "\"a\n\n" Received: "\"a\\n\n" at /home/runner/work/bun/bun/test/cli/run/env.test.ts:442:5
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: TestPassed: test/js/bun/http/serve.test.ts#L229
at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:229:25) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: expect(received).toBe(expected): test/cli/run/env.test.ts#L442
Expected: "\"a\n\n" Received: "\"a\\n\n" at /home/runner/work/bun/bun/test/cli/run/env.test.ts:442:5
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: TestPassed: test/js/bun/http/serve.test.ts#L229
at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:229:25) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
Tests linux-x64
Process completed with exit code 1.
linux-x64-baseline
No files were found with the provided path: /home/runner/work/_temp/release/bun-obj. No artifacts will be uploaded.
linux-x64-baseline
No files were found with the provided path: /home/runner/work/_temp/release/bun-dependencies. No artifacts will be uploaded.
linux-x64
No files were found with the provided path: /home/runner/work/_temp/release/bun-dependencies. No artifacts will be uploaded.
linux-x64
No files were found with the provided path: /home/runner/work/_temp/release/bun-obj. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
bun-linux-x64 Expired
33.2 MB
bun-linux-x64-baseline Expired
33 MB
bun-linux-x64-baseline-profile Expired
60.2 MB
bun-linux-x64-profile Expired
60.3 MB