Skip to content

Make bun install 60% faster on Windows, improve reliability, reduce memory usage #13794

Make bun install 60% faster on Windows, improve reliability, reduce memory usage

Make bun install 60% faster on Windows, improve reliability, reduce memory usage #13794

Triggered via pull request April 8, 2024 12:33
Status Failure
Total duration 32m 35s
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).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
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/bunx.test.ts#L171
Expected to not contain: "error:" Received: " Resolving dependencies\nerror: InstallFailed extracting tarball for @babel/generator\n Resolved, downloaded and extracted [344]\nerror: FileNotFound when create temporary directory named \".17fe6f1efeefcfef-00000056.generator\" (while extracting \"@babel/generator\")\n" at /home/runner/work/bun/bun/test/cli/install/bunx.test.ts:171:3
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)

Artifacts

Produced during runtime
Name Size
bun-linux-x64 Expired
33.7 MB
bun-linux-x64-baseline Expired
33.7 MB
bun-linux-x64-baseline-profile Expired
62.2 MB
bun-linux-x64-profile Expired
62.2 MB