fix(windows spawn): use Job Object to manage subprocesses of subprocesses #1624
ci.yml
on: pull_request
Build windows-x64-baseline
/
Codegen
15s
Build windows-x64
/
Codegen
14s
Build darwin-aarch64
/
Build Submodules
11s
Build darwin-aarch64
/
Build C++
2m 7s
Build darwin-aarch64
/
...
/
Build Zig
20m 35s
Build darwin-x64-baseline
/
Build Submodules
18s
Build darwin-x64-baseline
/
Build C++
5m 37s
Build darwin-x64-baseline
/
...
/
Build Zig
9m 1s
Build darwin-x64
/
Build Submodules
13s
Build darwin-x64
/
Build C++
5m 32s
Build darwin-x64
/
...
/
Build Zig
8m 40s
Build linux-aarch64
/
...
/
Build & Link
32m 24s
Build linux-x64-baseline
/
...
/
Build & Link
14m 57s
Build linux-x64
/
...
/
Build & Link
15m 13s
Build windows-x64-baseline
/
Build Submodules
15s
Build windows-x64-baseline
/
...
/
Build Zig
9m 14s
Build windows-x64
/
Build Submodules
19s
Build windows-x64
/
...
/
Build Zig
8m 55s
Format
/
Format
57s
Lint
/
Lint
12s
Test linux-aarch64
/
Tests
16m 3s
Test linux-aarch64
/
Node.js Tests
0s
Test linux-x64-baseline
/
Tests
9m 37s
Test linux-x64-baseline
/
Node.js Tests
0s
Test linux-x64
/
Tests
9m 30s
Test linux-x64
/
Node.js Tests
0s
Test darwin-aarch64
/
Tests
10m 5s
Test darwin-aarch64
/
Node.js Tests
0s
Test darwin-x64-baseline
/
Tests
15m 11s
Test darwin-x64-baseline
/
Node.js Tests
0s
Test darwin-x64
/
Tests
15m 53s
Test darwin-x64
/
Node.js Tests
0s
Test windows-x64-baseline
/
Tests
12m 32s
Test windows-x64-baseline
/
Node.js Tests
0s
Cleanup
8s
Test windows-x64
/
Tests
14m 29s
Test windows-x64
/
Node.js Tests
0s
Annotations
34 errors and 30 warnings
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,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
0,
0
]
- Expected - 8
+ Received + 8
at C:\a\bun\bun\test\cli\install\bunx.test.ts:88:3
|
error: Test "migrate from npm during `bun add`" timed out after 5000ms:
test\cli\install\migration\migrate.test.ts#L20
at testMigration (C:\a\bun\bun\test\cli\install\migration\migrate.test.ts:20:3)
at C:\a\bun\bun\test\cli\install\migration\migrate.test.ts:35:3
|
error: expect(received).toContain(expected):
test\cli\install\registry\bun-install-windowsshim.test.ts#L50
Expected to contain: "Saved lockfile"
Received: "bun install v1.1.10-canary.1 (cad0e3fd)\nResolving dependencies\n\nerror: ConnectionRefused downloading package manifest bunx-bins\nResolved, downloaded and extracted [6]\nerror: bunx-bins@* failed to resolve\n"
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:50:3
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:11:1
at :2:1
|
error: expect(received).toContain(expected):
test\cli\install\registry\bun-install-windowsshim.test.ts#L50
Expected to contain: "Saved lockfile"
Received: "bun install v1.1.10-canary.1 (cad0e3fd)\nResolving dependencies\n\nerror: ConnectionRefused downloading package manifest bunx-bins\nResolved, downloaded and extracted [6]\nerror: bunx-bins@* failed to resolve\n"
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:50:3
at C:\a\bun\bun\test\cli\install\registry\bun-install-windowsshim.test.ts:11:1
at :2:1
|
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).toBeLessThan(expected):
test\cli\install\registry\bun-install-registry.test.ts#L5044
Expected: < 750000
Received: 937500n
at C:\a\bun\bun\test\cli\install\registry\bun-install-registry.test.ts:5044:9
|
error: Test "node-gyp should always be available for lifecycle scripts" 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: Test "ensureTempNodeGypScript works" 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).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 (:70:16)\n at BunShell (:193: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.10-canary.1+cad0e3fd2 (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:268: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
|
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
|
error: expect(received).not.toContain(expected):
test/cli/install/bun-create.test.ts#L114
Expected to not contain: "error:"
Received: "[github] GET dylan-conway/create-test... \n\nerror: GitHub returned 403. This usually means GitHub is rate limiting your requests.\nTo fix this, either: A) pass a GITHUB_ACCESS_TOKEN environment variable to bun\n B)Wait a little and try again\n"
at /Users/runner/work/bun/bun/test/cli/install/bun-create.test.ts:114:5
|
error: expect(received).not.toContain(expected):
test/cli/install/bun-upgrade.test.ts#L171
Expected to not contain: "error:"
Received: "Downloading... error: Canary builds are not available for this platform yet\n\n Release: https://github.com/oven-sh/bun/releases/tag/canary\n Filename: bun-darwin-x64.zip\n"
at /Users/runner/work/bun/bun/test/cli/install/bun-upgrade.test.ts:171:3
at /Users/runner/work/bun/bun/test/cli/install/bun-upgrade.test.ts:94:38
|
Test darwin-x64 / Tests
Process completed with exit code 1.
|
Test darwin-aarch64 / Tests
Process completed with exit code 1.
|
error: Autobahn WebSocket not detected:
test/js/web/websocket/autobahn.test.ts#L82
at /opt/namespace/githubrunner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:82:11
at /opt/namespace/githubrunner/work/bun/bun/test/js/web/websocket/autobahn.test.ts:20: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,
0,
+ 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: Test "should print the version using --version and exit" 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: Test "should handle ^0.0 in dependencies" 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).toContain(expected):
test\cli\install\bun-install.test.ts#L1574
Expected to contain: "Saved lockfile"
Received: "bun install v1.1.10-canary.1 (cad0e3fd)\nResolving dependencies\nResolved, downloaded and extracted [2]\nerror: No version matching \"^0.1\" found for specifier \"bar\" (but package exists)\n"
at C:\a\bun\bun\test\cli\install\bun-install.test.ts:1574:3
|
error: expect(received).toEqual(expected):
test\cli\install\bun-install.test.ts#L1619
[
+ "http://localhost:51195/bar",
"http://localhost:51195/bar"
]
- Expected - 0
+ Received + 1
at C:\a\bun\bun\test\cli\install\bun-install.test.ts:1619:3
|
error: expect(received).toContain(expected):
test\cli\install\bun-install.test.ts#L1651
Expected to contain: "error: No version matching \"^0.0.0\" found for specifier \"bar\" (but package exists)"
Received: "bun install v1.1.10-canary.1 (cad0e3fd)\nResolving dependencies\nResolved, downloaded and extracted [4]\nerror: ENOENT installing bar (opening cache/package/version dir)\nSaved lockfile\n"
at C:\a\bun\bun\test\cli\install\bun-install.test.ts:1651:3
|
error: expect(received).toEqual(expected):
test\cli\install\bun-install.test.ts#L1696
[
"http://localhost:51195/bar",
+ "http://localhost:51195/bar",
+ "http://localhost:51195/bar-0.0.2.tgz",
"http://localhost:51195/bar-0.0.2.tgz"
]
- Expected - 0
+ Received + 2
at C:\a\bun\bun\test\cli\install\bun-install.test.ts:1696:3
|
error: expect(received).toContain(expected):
test\cli\install\bun-install.test.ts#L1753
Expected to contain: "Saved lockfile"
Received: "bun install v1.1.10-canary.1 (cad0e3fd)\nNo packages! Deleted empty lockfile\n"
at C:\a\bun\bun\test\cli\install\bun-install.test.ts:1753:3
|
error: expect(received).toEqual(expected):
test\cli\install\bun-install.test.ts#L1781
{
dependencies: {
+ bar: "^0.0.2-alpha.3+b4d",
- "install-test2": "dylan-conway/install-test2",
},
name: "foo",
version: "0.0.1",
}
- Expected - 1
+ Received + 1
at C:\a\bun\bun\test\cli\install\bun-install.test.ts:1781:3
|
error: expect(received).toContain(expected):
test\cli\install\bun-install.test.ts#L1916
Expected to contain: "Saved lockfile"
Received: "bun install v1.1.10-canary.1 (cad0e3fd)\nResolving dependencies\n\nGET http://localhost:51195/bar - 418\nResolved, downloaded and extracted [1]\nerror: bar@^0.0.2-alpha.3+b4d failed to resolve\n"
at C:\a\bun\bun\test\cli\install\bun-install.test.ts:1916:3
|
Test windows-x64-baseline / Tests
Process completed with exit code 1.
|
error: expect(received).toContain(expected):
test/cli/install/registry/bun-install-registry.test.ts#L3819
Expected to contain: "Saved lockfile"
Received: "bun install v1.1.10-canary.1 (cad0e3fd)\nerror: Bun could not find a package.json file to install from\nnote: Run \"bun init\" to initialize a project\n"
at /home/runner/work/bun/bun/test/cli/install/registry/bun-install-registry.test.ts:3819:7
|
error: Access denied for user 'root'@'172.17.0.1' (using password: YES):
test/node_modules/mysql2/promise.js#L253
at createConnection (/home/runner/work/bun/bun/test/node_modules/mysql2/promise.js:253:31)
at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:46:19
at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:45:37
|
error: expect(received).toBeArrayOfSize():
test/integration/mysql2/mysql2.test.ts#L53
Received: undefined
at /home/runner/work/bun/bun/test/integration/mysql2/mysql2.test.ts:53:7
|
error: expect(received).toBe(expected):
test/js/bun/http/serve.test.ts#L214
Expected: true
Received: false
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:214: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++
openssl@1.1 has been deprecated because it is not supported upstream!
|
Build darwin-x64 / Build C++
Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag.
|
Build darwin-x64 / Build C++
pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
brew reinstall pkg-config
|
Build darwin-x64 / Build C++
libtool 2.4.7 is already installed and up-to-date.
To reinstall 2.4.7, run:
brew reinstall libtool
|
Build darwin-x64 / Build C++
cmake 3.29.3 is already installed and up-to-date.
To reinstall 3.29.3, run:
brew reinstall cmake
|
Build darwin-x64 / Build C++
openssl@1.1 1.1.1w is already installed, it's just not linked.
To link this version, run:
brew link openssl@1.1
|
Build darwin-x64 / Build C++
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
|
Build darwin-x64-baseline / Build C++
Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag.
|
Build darwin-x64-baseline / Build C++
pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
brew reinstall pkg-config
|
Build darwin-x64-baseline / Build C++
libtool 2.4.7 is already installed and up-to-date.
To reinstall 2.4.7, run:
brew reinstall libtool
|
Build darwin-x64-baseline / Build C++
cmake 3.29.3 is already installed and up-to-date.
To reinstall 3.29.3, run:
brew reinstall cmake
|
Build darwin-x64-baseline / Build C++
openssl@1.1 1.1.1w is already installed, it's just not linked.
To link this version, run:
brew link openssl@1.1
|
Build darwin-x64-baseline / Build C++
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
|
Build darwin-x64 / Build Zig / Build Zig
Failed to save: Cache service responded with 429 during upload chunk.
|
Build windows-x64 / Build Zig / Build Zig
Failed to save: Cache service responded with 429 during upload chunk.
|
Build windows-x64-baseline / Build Zig / Build Zig
Failed to save: Cache service responded with 429 during upload chunk.
|
Build darwin-x64 / Link
Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag.
|
Build darwin-x64 / Link
pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
brew reinstall pkg-config
|
Build darwin-x64 / Link
libtool 2.4.7 is already installed and up-to-date.
To reinstall 2.4.7, run:
brew reinstall libtool
|
Build darwin-x64 / Link
cmake 3.29.3 is already installed and up-to-date.
To reinstall 3.29.3, run:
brew reinstall cmake
|
Build darwin-x64 / Link
openssl@1.1 1.1.1w is already installed, it's just not linked.
To link this version, run:
brew link openssl@1.1
|
Build darwin-x64 / Link
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
|
Build darwin-x64-baseline / Link
Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag.
|
Build darwin-x64-baseline / Link
pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
brew reinstall pkg-config
|
Build darwin-x64-baseline / Link
libtool 2.4.7 is already installed and up-to-date.
To reinstall 2.4.7, run:
brew reinstall libtool
|
Build darwin-x64-baseline / Link
cmake 3.29.3 is already installed and up-to-date.
To reinstall 3.29.3, run:
brew reinstall cmake
|
Build darwin-x64-baseline / Link
openssl@1.1 1.1.1w is already installed, it's just not linked.
To link this version, run:
brew link openssl@1.1
|
Build darwin-x64-baseline / Link
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated
dependents or dependents with broken linkage!
|
Build darwin-aarch64 / Link
openssl@1.1 has been deprecated because it is not supported upstream!
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
bun-darwin-aarch64
|
17.3 MB |
|
bun-darwin-aarch64-profile
|
18.7 MB |
|
bun-darwin-aarch64-tests
|
11.7 KB |
|
bun-darwin-x64
|
18.8 MB |
|
bun-darwin-x64-baseline
|
18.8 MB |
|
bun-darwin-x64-baseline-profile
|
20.8 MB |
|
bun-darwin-x64-baseline-tests
|
4.81 KB |
|
bun-darwin-x64-profile
|
20.8 MB |
|
bun-darwin-x64-tests
|
8.65 KB |
|
bun-feature-data
|
474 Bytes |
|
bun-linux-aarch64
|
32.1 MB |
|
bun-linux-aarch64-profile
|
62.5 MB |
|
bun-linux-aarch64-tests
|
25.4 KB |
|
bun-linux-x64
|
33.4 MB |
|
bun-linux-x64-baseline
|
33.3 MB |
|
bun-linux-x64-baseline-profile
|
62.7 MB |
|
bun-linux-x64-baseline-tests
|
4.8 KB |
|
bun-linux-x64-profile
|
62.8 MB |
|
bun-linux-x64-tests
|
4.79 KB |
|
bun-windows-x64
|
33.7 MB |
|
bun-windows-x64-baseline
|
33.6 MB |
|
bun-windows-x64-baseline-profile
|
96.7 MB |
|
bun-windows-x64-baseline-tests
|
63.3 KB |
|
bun-windows-x64-profile
|
96.8 MB |
|
bun-windows-x64-tests
|
56.3 KB |
|