• turbo 2.8.3 • Packages in scope: @bb/process-utils, @bb/provider-bridge-protocol • Running test in 2 packages • Remote caching disabled, using shared worktree cache //:ensure-native-modules: cache bypass, force executing 9c2ad065193889f3 //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: @bb/process-utils:test: cache bypass, force executing 11dfa08a404e6859 @bb/provider-bridge-protocol:test: cache bypass, force executing 2c12a2b9eae1aac0 @bb/provider-bridge-protocol:test: @bb/provider-bridge-protocol:test: > @bb/provider-bridge-protocol@0.0.1 test /packages/provider-bridge-protocol @bb/provider-bridge-protocol:test: > vitest run --config vitest.config.ts @bb/provider-bridge-protocol:test: @bb/process-utils:test: @bb/process-utils:test: > @bb/process-utils@0.0.1 test /packages/process-utils @bb/process-utils:test: > vitest run --config vitest.config.ts @bb/process-utils:test: @bb/provider-bridge-protocol:test: @bb/provider-bridge-protocol:test: RUN v4.1.1 /packages/provider-bridge-protocol @bb/provider-bridge-protocol:test: @bb/process-utils:test: @bb/process-utils:test: RUN v4.1.1 /packages/process-utils @bb/process-utils:test: @bb/process-utils:test: ✓ |@bb/process-utils| test/index.test.ts (12 tests) 1388ms @bb/process-utils:test: ✓ spawns a process with piped stdio 691ms @bb/process-utils:test: ✓ spawns a process with stdin closed and output piped 485ms @bb/provider-bridge-protocol:test: ✓ |@bb/provider-bridge-protocol| src/bridge-kit/bridge-tool-calls.test.ts (15 tests) 297ms @bb/provider-bridge-protocol:test: ✓ |@bb/provider-bridge-protocol| src/bridge-kit/pending-tool-call-tracker.test.ts (7 tests) 5ms @bb/provider-bridge-protocol:test: ✓ |@bb/provider-bridge-protocol| src/bridge-worker-entry.test.ts (6 tests) 10462ms @bb/provider-bridge-protocol:test: ✓ starts an exported bridge with its plugin-scoped directories 2664ms @bb/provider-bridge-protocol:test: ✓ refuses an artifact with no bridge export, naming the plugin 2063ms @bb/provider-bridge-protocol:test: ✓ refuses a bridge export from an unsupported api version 894ms @bb/provider-bridge-protocol:test: ✓ reports a bridge module that fails to load 1389ms @bb/provider-bridge-protocol:test: ✓ hands a bridge only what it declares: no start hook, no context 2013ms @bb/provider-bridge-protocol:test: ✓ tees both sides of the runtime wire when record mode is on 1438ms @bb/provider-bridge-protocol:test: ✓ |@bb/provider-bridge-protocol| src/thread-delta.test.ts (5 tests) 89ms @bb/process-utils:test: ❯ |@bb/process-utils| test/process-tree.test.ts (8 tests | 2 failed) 15427ms @bb/process-utils:test: ✓ kills the grandchild when the leader is signalled by process group 81ms @bb/process-utils:test: × finds and kills processes whose cwd is inside a directory 5023ms @bb/process-utils:test: ✓ reports a live group after the leader exits and an empty one after the members die 1184ms @bb/process-utils:test: × rescans and kills processes that appear while the first targets shut down 5004ms @bb/process-utils:test: ✓ does not follow a symlinked workspace root 1592ms @bb/process-utils:test: ✓ stops the leader first so it can shut its own child down 535ms @bb/process-utils:test: ✓ escalates to the group when a member outlives the leader 219ms @bb/process-utils:test: ✓ returns an empty list for a directory that no process uses 1787ms @bb/provider-bridge-protocol:test: ✓ |@bb/provider-bridge-protocol| src/bridge-kit/adapter-utils.test.ts (14 tests) 8ms @bb/process-utils:test: @bb/process-utils:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ @bb/process-utils:test: @bb/process-utils:test: FAIL |@bb/process-utils| test/process-tree.test.ts > process tree helpers > finds and kills processes whose cwd is inside a directory @bb/process-utils:test: Error: Test timed out in 5000ms. @bb/process-utils:test: If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". @bb/process-utils:test: ❯ test/process-tree.test.ts:83:3 @bb/process-utils:test: 81| }); @bb/process-utils:test: 82| @bb/process-utils:test: 83| it("finds and kills processes whose cwd is inside a directory", asyn… @bb/process-utils:test: | ^ @bb/process-utils:test: 84| const dir = realpathSync(mkdtempSync(join(tmpdir(), "bb-cwd-sweep-… @bb/process-utils:test: 85| cleanupDirs.push(dir); @bb/process-utils:test: @bb/process-utils:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ @bb/process-utils:test: @bb/process-utils:test: FAIL |@bb/process-utils| test/process-tree.test.ts > process tree helpers > rescans and kills processes that appear while the first targets shut down @bb/process-utils:test: Error: Test timed out in 5000ms. @bb/process-utils:test: If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". @bb/process-utils:test: ❯ test/process-tree.test.ts:130:3 @bb/process-utils:test: @bb/process-utils:test: 128| }); @bb/process-utils:test: 129| @bb/process-utils:test: Test Files 1 failed | 1 passed (2) @bb/process-utils:test: 130| it("rescans and kills processes that appear while the first targets … @bb/process-utils:test: | ^ @bb/process-utils:test: 131| const dir = realpathSync(mkdtempSync(join(tmpdir(), "bb-cwd-respaw… @bb/process-utils:test: 132| cleanupDirs.push(dir); @bb/process-utils:test: @bb/process-utils:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ @bb/process-utils:test: @bb/process-utils:test: Tests 2 failed | 18 passed (20) @bb/process-utils:test: Start at 07:43:52 @bb/process-utils:test: Duration 19.53s (transform 1.70s, setup 0ms, import 2.14s, tests 16.81s, environment 0ms) @bb/process-utils:test: @bb/provider-bridge-protocol:test: ✓ |@bb/provider-bridge-protocol| src/assembler/delta-assembler.test.ts (98 tests) 894ms @bb/process-utils:test:  ELIFECYCLE  Test failed. See above for more details. @bb/process-utils:test: ERROR: command finished with error: command (/packages/process-utils) run test exited (1) @bb/provider-bridge-protocol:test:  ELIFECYCLE  Test failed. See above for more details. @bb/process-utils#test: command (/packages/process-utils) run test exited (1) Tasks: 1 successful, 3 total Cached: 0 cached, 3 total Time: 32.015s Failed: @bb/process-utils#test ERROR run failed: command exited (1)