Skip to content

lint: ban comparing against undefined #14111

lint: ban comparing against undefined

lint: ban comparing against undefined #14111

Triggered via pull request April 16, 2024 01:16
Status Failure
Total duration 25m 18s
Artifacts 4

bun-linux-build.yml

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

Annotations

21 errors
Tests linux-x64-baseline
Process completed with exit code 1.
error: expect(received).toBe(expected): test/integration/next-pages/test/dev-server.test.ts#L138
Expected: 0 Received: 1 at /home/runner/work/bun/bun/test/integration/next-pages/test/dev-server.test.ts:138:3
error: expect(received).toBe(expected): test/integration/next-pages/test/next-build.test.ts#L119
Expected: / 5.52 kB 83.5 /_app 0 B 78 /404 180 B 78.2 /api/hello 0 B 78 kB\n+ First Load JS shared by all 81.4 other shared chunks (total) 4.45 (Dynamic) server-rendered on demand using Node.js\n\n" Received: / 5.48 kB 83.4 /_app 0 B 77.9 /404 182 B 78.1 /api/hello 0 B 77.9 kB\n+ First Load JS shared by all 81.3 other shared chunks (total) 4.44 (Dynamic) server-rendered on demand using Node.js\n\n" at /home/runner/work/bun/bun/test/integration/next-pages/test/next-build.test.ts:119:3
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
error: expect(received).toBe(expected): test/integration/next-pages/test/dev-server.test.ts#L138
Expected: 0 Received: 1 at /home/runner/work/bun/bun/test/integration/next-pages/test/dev-server.test.ts:138:3
error: expect(received).toBe(expected): test/integration/next-pages/test/next-build.test.ts#L119
Expected: / 5.52 kB 83.5 /_app 0 B 78 /404 180 B 78.2 /api/hello 0 B 78 kB\n+ First Load JS shared by all 81.4 other shared chunks (total) 4.45 (Dynamic) server-rendered on demand using Node.js\n\n" Received: / 5.48 kB 83.4 /_app 0 B 77.9 /404 182 B 78.1 /api/hello 0 B 77.9 kB\n+ First Load JS shared by all 81.3 other shared chunks (total) 4.44 (Dynamic) server-rendered on demand using Node.js\n\n" at /home/runner/work/bun/bun/test/integration/next-pages/test/next-build.test.ts:119:3
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.

Artifacts

Produced during runtime
Name Size
bun-linux-x64 Expired
33.8 MB
bun-linux-x64-baseline Expired
33.7 MB
bun-linux-x64-baseline-profile Expired
62.4 MB
bun-linux-x64-profile Expired
62.5 MB