Skip to content

fix(fetch) allow Response to be GC'd before all the request body is received #1231

fix(fetch) allow Response to be GC'd before all the request body is received

fix(fetch) allow Response to be GC'd before all the request body is received #1231

Triggered via pull request May 15, 2024 22:29
Status Failure
Total duration 51m 16s
Artifacts 25

ci.yml

on: pull_request
Build linux-aarch64  /  ...  /  Build & Link
33m 23s
Build linux-aarch64 / Build Linux / Build & Link
Build linux-x64-baseline  /  ...  /  Build & Link
15m 7s
Build linux-x64-baseline / Build Linux / Build & Link
Build linux-x64  /  ...  /  Build & Link
15m 41s
Build linux-x64 / Build Linux / Build & Link
Build darwin-aarch64  /  Link
4m 48s
Build darwin-aarch64 / Link
Build darwin-x64-baseline  /  Link
10m 43s
Build darwin-x64-baseline / Link
Build linux-aarch64  /  On Failure
0s
Build linux-aarch64 / On Failure
Build linux-x64-baseline  /  On Failure
0s
Build linux-x64-baseline / On Failure
Build linux-x64  /  On Failure
0s
Build linux-x64 / On Failure
Build windows-x64-baseline  /  Link
8m 39s
Build windows-x64-baseline / Link
Build windows-x64  /  Link
7m 46s
Build windows-x64 / Link
Test linux-aarch64  /  Tests
16m 16s
Test linux-aarch64 / Tests
Test linux-aarch64  /  Node.js Tests
0s
Test linux-aarch64 / Node.js Tests
Test linux-x64-baseline  /  Tests
10m 8s
Test linux-x64-baseline / Tests
Test linux-x64-baseline  /  Node.js Tests
0s
Test linux-x64-baseline / Node.js Tests
Test linux-x64  /  Tests
9m 59s
Test linux-x64 / Tests
Test linux-x64  /  Node.js Tests
0s
Test linux-x64 / Node.js Tests
Test darwin-aarch64  /  Tests
15m 47s
Test darwin-aarch64 / Tests
Test darwin-aarch64  /  Node.js Tests
0s
Test darwin-aarch64 / Node.js Tests
Test darwin-x64-baseline  /  Tests
15m 4s
Test darwin-x64-baseline / Tests
Test darwin-x64-baseline  /  Node.js Tests
0s
Test darwin-x64-baseline / Node.js Tests
Test darwin-x64  /  Tests
14m 49s
Test darwin-x64 / Tests
Test darwin-x64  /  Node.js Tests
0s
Test darwin-x64 / Node.js Tests
Test windows-x64-baseline  /  Tests
9m 47s
Test windows-x64-baseline / Tests
Test windows-x64-baseline  /  Node.js Tests
0s
Test windows-x64-baseline / Node.js Tests
Cleanup
4s
Cleanup
Test windows-x64  /  Tests
12m 6s
Test windows-x64 / Tests
Test windows-x64  /  Node.js Tests
0s
Test windows-x64 / Node.js Tests
Fit to window
Zoom out
Zoom in

Annotations

56 errors and 4 warnings
error: expect(received).toBe(expected): test/js/bun/http/bun-server.test.ts#L211
Expected: true Received: false at /home/runner/work/bun/bun/test/js/bun/http/bun-server.test.ts:211:7
error: expect(received).toBe(expected): test/js/web/fetch/fetch.test.ts#L2019
Expected: 0 Received: 1 at /home/runner/work/bun/bun/test/js/web/fetch/fetch.test.ts:2019:7
Test linux-x64-baseline / Tests
2 files with failing tests
Test linux-x64-baseline / Tests
Process completed with exit code 1.
Test linux-x64-baseline / Tests
Process completed with exit code 1.
error: expect(received).toBe(expected): test/js/bun/http/bun-server.test.ts#L211
Expected: true Received: false at /home/runner/work/bun/bun/test/js/bun/http/bun-server.test.ts:211:7
error: expect(received).toBe(expected): test/js/web/fetch/fetch.test.ts#L2019
Expected: 0 Received: 1 at /home/runner/work/bun/bun/test/js/web/fetch/fetch.test.ts:2019:7
Test linux-x64 / Tests
2 files with failing tests
Test linux-x64 / Tests
Process completed with exit code 1.
Test linux-x64 / Tests
Process completed with exit code 1.
error: expect(received).toEqual(expected): test\cli\install\bunx.test.ts#L88
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1, + 1, 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1 - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 ] - Expected - 11 + Received + 11 at C:\a\bun\bun\test\cli\install\bunx.test.ts:88:3
error: Test "install and use estrella" timed out after 5000ms
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: expect(received).toBeLessThanOrEqual(expected): test\js\bun\http\serve-body-leak.test.ts#L130
Expected: <= 2 Received: 4 at C:\a\bun\bun\test\js\bun\http\serve-body-leak.test.ts:130:7
error: Test "hot reloading works on the client (+ tailwind hmr)" timed out after 30000ms
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: expect(received).toInclude(expected): test\js\bun\shell\test_builder.ts#L223
Expected to include: "[eval]:6" Received: "bun: command not found: somecommandthatdoesnotexist\n1 | import { $ } from 'bun'\n2 | \n3 | $.throws(true)\n4 | \n5 | async function someFunction() {\n ^\nShellError: Failed with exit code 1\n info: {\n \"exitCode\": 1,\n \"stderr\": \"bun: command not found: somecommandthatdoesnotexist\\n\",\n \"stdout\": \"\"\n}\n\n at new ShellError (:12:16)\n at new ShellPromise (:64:16)\n at BunShell (:184:35)\n at C:\\a\\bun\\bun\\[eval]:5:12\n at someFunction (C:\\a\\bun\\bun\\[eval]:3:18)\n at module code (C:\\a\\bun\\bun\\[eval]:9:11)\n\nBun v1.1.9-canary.1+5a6b63f03 (Windows x64 baseline)\n" at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:223:11 at doChecks (C:\a\bun\bun\test\js\bun\shell\test_builder.ts:217:20) at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:266:15
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: This test passed. Ignore the error message
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
Test windows-x64-baseline / Tests
Process completed with exit code 1.
Test windows-x64 / Tests
Process completed with exit code 1.
error: expect(received).toEqual(expected): test\cli\install\bunx.test.ts#L88
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1, 0, 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1 - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 ] - Expected - 10 + Received + 10 at C:\a\bun\bun\test\cli\install\bunx.test.ts:88:3
error: expect(received).toBeLessThan(expected): test\cli\install\registry\bun-install-registry.test.ts#L4902
Expected: < 750000 Received: 781250n at C:\a\bun\bun\test\cli\install\registry\bun-install-registry.test.ts:4902:9
error: Test "install and use estrella" timed out after 5000ms
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: Failed to install dependencies: test\integration\next-pages\test\next-build.test.ts#L38
at C:\a\bun\bun\test\integration\next-pages\test\next-build.test.ts:38:11
error: Failed to install dependencies: test\integration\next-pages\test\dev-server-ssr-100.test.ts#L99
at C:\a\bun\bun\test\integration\next-pages\test\dev-server-ssr-100.test.ts:99:11 at C:\a\bun\bun\test\integration\next-pages\test\dev-server-ssr-100.test.ts:88:11
error: Test "hot reloading works on the client (+ tailwind hmr)" timed out after 30000ms
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: expect(received).toInclude(expected): test\js\bun\shell\test_builder.ts#L223
Expected to include: "[eval]:6" Received: "bun: command not found: somecommandthatdoesnotexist\n1 | import { $ } from 'bun'\n2 | \n3 | $.throws(true)\n4 | \n5 | async function someFunction() {\n ^\nShellError: Failed with exit code 1\n info: {\n \"exitCode\": 1,\n \"stderr\": \"bun: command not found: somecommandthatdoesnotexist\\n\",\n \"stdout\": \"\"\n}\n\n at new ShellError (:12:16)\n at new ShellPromise (:64:16)\n at BunShell (:184:35)\n at C:\\a\\bun\\bun\\[eval]:5:12\n at someFunction (C:\\a\\bun\\bun\\[eval]:3:18)\n at module code (C:\\a\\bun\\bun\\[eval]:9:11)\n\nBun v1.1.9-canary.1+5a6b63f03 (Windows x64)\n" at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:223:11 at doChecks (C:\a\bun\bun\test\js\bun\shell\test_builder.ts:217:20) at C:\a\bun\bun\test\js\bun\shell\test_builder.ts:266:15
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: error
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: expect(received).toBe(expected): test/js/bun/http/bun-server.test.ts#L211
Expected: true Received: false at /Users/runner/work/bun/bun/test/js/bun/http/bun-server.test.ts:211:7
TypeError: The "file" argument must be of type string. Received undefined: node:child_process#L20511
at node:child_process:531:69 at node:child_process:490:57 at node:child_process:315:75 at node:child_process:2:41 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:39:12 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:44 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:1
TypeError: The "file" argument must be of type string. Received undefined: node:child_process#L20511
at node:child_process:531:69 at node:child_process:490:57 at node:child_process:315:75 at node:child_process:2:41 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:39:12 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:44 at /Users/runner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20:1
Test darwin-x64 / Tests
1 files with failing tests
Test darwin-x64 / Tests
Process completed with exit code 1.
Test darwin-x64 / Tests
Process completed with exit code 1.
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L5656
Expected to contain: "No version matching \"<5.0.0-alpha.150\" found for specifier \"prereleases-3\"" Received: "bun install v1.1.9-canary.1 (5a6b63f0)\n Resolving dependencies\n Resolved, downloaded and extracted [2]\nerror: No version matching \"<=5.0.0-alpha.149\" found for specifier \"prereleases-3\" (but package exists)\n" at /Users/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:5656:9
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L5656
Expected to contain: "No version matching \"<=5.0.0-alpha.149\" found for specifier \"prereleases-3\"" Received: "error: Bun could not find a package.json file to install from\nnote: Run \"bun init\" to initialize a project\n" at /Users/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:5656:9
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L5656
Expected to contain: "No version matching \">5.0.0-alpha.153\" found for specifier \"prereleases-3\"" Received: "bun install v1.1.9-canary.1 (5a6b63f0)\n Resolving dependencies\n Resolved, downloaded and extracted [2]\nerror: No version matching \">=5.0.0-alpha.154\" found for specifier \"prereleases-3\" (but package exists)\n" at /Users/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:5656:9
error: expect(received).toBe(expected): test/js/bun/http/bun-server.test.ts#L211
Expected: true Received: false at /Users/runner/work/bun/bun/test/js/bun/http/bun-server.test.ts:211:7
Test darwin-x64-baseline / Tests
Process completed with exit code 1.
Test darwin-aarch64 / Tests
Process completed with exit code 1.
error: expect(received).toEqual(expected): test/cli/install/bunx.test.ts#L218
+ [] - [ - "test.js" - ] - Expected - 3 + Received + 1 at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/bunx.test.ts:218:3
error: expect(received).not.toContain(expected): test/cli/install/bunx.test.ts#L240
Expected to not contain: "error:" Received: " Resolving dependencies\nerror: InstallFailed extracting tarball for cowsay\n Resolved, downloaded and extracted [2]\nerror: FileNotFound when create temporary directory named \".f7dfcbadbfb39ffa-00000001.cowsay\" (while extracting \"cowsay\")\n" at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/bunx.test.ts:240:3
error: expect(received).not.toContain(expected): test/cli/install/bunx.test.ts#L283
Expected to not contain: "error:" Received: " Resolving dependencies\nerror: InstallFailed extracting tarball for cowsay\n Resolved, downloaded and extracted [2]\nerror: FileNotFound when create temporary directory named \".b7cfcbfc51c8e1f8-00000001.cowsay\" (while extracting \"cowsay\")\n" at /opt/namespace/githubrunner/work/bun/bun/test/cli/install/bunx.test.ts:283:3
error: expect(received).toBe(expected): test/js/bun/http/bun-server.test.ts#L211
Expected: true Received: false at /opt/namespace/githubrunner/work/bun/bun/test/js/bun/http/bun-server.test.ts:211:7
error: expect(received).toEqual(expected): test/cli/install/registry/bun-install-registry.test.ts#L4159
[ "", " installed [email protected]", "", + "[59.00ms] done", + "" - " 2 packages installed" ] - Expected - 1 + Received + 2 at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4159:11
error: expect(received).toBeTrue(): test/cli/install/registry/bun-install-registry.test.ts#L4354
Received: false at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4354:9
error: expect(received).toBeTrue(): test/cli/install/registry/bun-install-registry.test.ts#L4422
Received: false at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4422:9
error: expect(received).toBeTrue(): test/cli/install/registry/bun-install-registry.test.ts#L4508
Received: false at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4508:9
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4808
Expected to contain: "Saved lockfile" Received: "bun install v1.1.9-canary.1 (5a6b63f0)\n" at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4808:11
error: expect(received).toContain(expected): test/cli/install/registry/bun-install-registry.test.ts#L4808
Expected to contain: "Saved lockfile" Received: "bun install v1.1.9-canary.1 (5a6b63f0)\nNo packages! Deleted empty lockfile\n\n$ /home/runner/work/bun/bun/bun-linux-aarch64/bun -e 'Bun.sleepSync(1000)'\n" at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:4808:11
error: expect(received).toBe(expected): test/js/bun/http/bun-server.test.ts#L211
Expected: true Received: false at /home/runner/work/bun/bun/test/js/bun/http/bun-server.test.ts:211:7
Test linux-aarch64 / Tests
Process completed with exit code 1.
Format / Format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: goto-bus-stop/setup-zig@c7b6cdd3adba8f8b96984640ff172c37c93f73ee. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build darwin-aarch64 / Build C++
[email protected] has been deprecated because it is not supported upstream!
Build darwin-aarch64 / Link
[email protected] has been deprecated because it is not supported upstream!
Test darwin-aarch64 / Tests
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.316.0. Please update to the latest version 2.316.1

Artifacts

Produced during runtime
Name Size Digest
bun-darwin-aarch64 Expired
17.2 MB
sha256:f7a7b22844a6c6045eeb03a47cee07e596a50bca8d02481ca2ae8c301bdb3bdf
bun-darwin-aarch64-profile Expired
18.6 MB
sha256:21e27c0ff8e82c6ef962b77d31af0e760c34281ae77c7ab1e4ee6fc64e83c8b1
bun-darwin-aarch64-tests Expired
32.4 KB
sha256:ddf7f50f08aa4c7f05a9606b2710d8ff4e601acc2b613f19b86a72fab0326631
bun-darwin-x64 Expired
18.7 MB
sha256:640ec45ffc03813ae6dfeaa15d6195bb5145d09aa847e2df640824b6e12df98f
bun-darwin-x64-baseline Expired
18.7 MB
sha256:f7afadacae650e6527818816803117bb4d3910c7704e787aad11baae4ab5baf2
bun-darwin-x64-baseline-profile Expired
20.7 MB
sha256:efaf32f98926bc2c8c8cdbdfb585bb0fcd8b4cc16ea5f6c0e5137db9d1adf3f6
bun-darwin-x64-baseline-tests Expired
24.7 KB
sha256:0179d1d1be40b59ea9d5e89a7c47ba2ae36f78d629e8fd3471f540f790f8b3ff
bun-darwin-x64-profile Expired
20.8 MB
sha256:832d9d83144b8504b4ee6e7cec9179c91082463758bc6d6f882e8e779f6e40a5
bun-darwin-x64-tests Expired
7.01 KB
sha256:e9367ccff8f118d0bff666cb7d0098cfa8935be8d9ca86f0501b13de40119fe7
bun-feature-data Expired
474 Bytes
sha256:42afab78f95929eb46cf83281280355c844db446a3e91e74c4aa756e4857bd41
bun-linux-aarch64 Expired
32 MB
sha256:0fa0f436e89794a0448346474924723a720f003a44f7438fc4fad7c2f1d5334d
bun-linux-aarch64-profile Expired
62.2 MB
sha256:0d85651582a40a83e4d61e5b83933c7f44f58e8e3df21cfc917c64cc7305ea47
bun-linux-aarch64-tests Expired
25 KB
sha256:0b5170a16eb3e0b88d7cfa097190e837e8b12c403fbc2d22500f67d073904d2b
bun-linux-x64 Expired
33.3 MB
sha256:0d7194c312087192ef0643c788981c8d1bfeffad4e64b073049f20ac9b8c3b14
bun-linux-x64-baseline Expired
33.3 MB
sha256:b0621c2a9a1090cdcb506fcd27ee4d3a6b645a3a4981a8a82d4e5697b32bbc8b
bun-linux-x64-baseline-profile Expired
62.4 MB
sha256:246e7967cef441db04e31e88095353afe09de1c5fe81d0954991b1deebfe9e5c
bun-linux-x64-baseline-tests Expired
15 KB
sha256:a1bc1192e80b59e33bfb5ae788d980fd865947437828d1ea84e6afd2fad3a8f6
bun-linux-x64-profile Expired
62.5 MB
sha256:e29836411c306c7c1d64494e157f5672021bdf6fcb2daaaa7908826b43e3f887
bun-linux-x64-tests Expired
15 KB
sha256:47205180ac63f50ed36f7cd494cbe01c760fb9e8d9713db8344e766deaca8b6a
bun-windows-x64 Expired
33.6 MB
sha256:91cdf9cb22caa990fd86f9070c70bb23550b18279c12be2dcbe51957f1a47e6c
bun-windows-x64-baseline Expired
33.5 MB
sha256:6b83bffb75e1ce4f69cb7041408e82884b49aa21b363354b775dd5a081d99754
bun-windows-x64-baseline-profile Expired
96.4 MB
sha256:09ec00728da63b66a526a9b48b933d5fc625b247a28d0c7111c3a1524e21744b
bun-windows-x64-baseline-tests Expired
49.6 KB
sha256:2538664ba08d2008a36e9f6ab6732ac859caf341a8a22320d784255553db40c1
bun-windows-x64-profile Expired
96.5 MB
sha256:d5ed0aa175f9a33622251bf539f5d70feb564fd0e616cf5e6bc394a6a3f91221
bun-windows-x64-tests Expired
59.4 KB
sha256:b8bc3ee4bcee745033534f1c6e673294e0d4d31b35978924154c7da872bf5b5d