• turbo 2.8.3 • Packages in scope: @bb/agent-runtime • Running test in 1 packages • Remote caching disabled, using shared worktree cache //:ensure-native-modules: cache bypass, force executing 609992373871a62a //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules /home/sawyer/projects/bb/.claude/worktrees/wf_242c3e11-a10-11 //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: @bb/agent-runtime:test: cache bypass, force executing ccafcc89a1a41ad6 @bb/agent-runtime:test: @bb/agent-runtime:test: > @bb/agent-runtime@0.0.1 test /home/sawyer/projects/bb/.claude/worktrees/wf_242c3e11-a10-11/packages/agent-runtime @bb/agent-runtime:test: > vitest run --config vitest.config.ts @bb/agent-runtime:test: @bb/agent-runtime:test: @bb/agent-runtime:test: RUN v4.1.1 /home/sawyer/projects/bb/.claude/worktrees/wf_242c3e11-a10-11/packages/agent-runtime @bb/agent-runtime:test: @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime-skill-roots.test.ts (4 tests) 13ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime-thread-identity.test.ts (4 tests) 5ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime-turn-state.test.ts (9 tests) 11ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime-background-work-state.test.ts (5 tests) 2ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/execution-options.test.ts (5 tests) 1ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/bridge-protocol-adapter.test.ts (13 tests) 24ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/pi/session-params.test.ts (3 tests) 1ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/pi/model-list.test.ts (4 tests) 7ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/pi/issue-1681-process-notification.repro.test.ts (1 test) 11ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/provider-visibility.test.ts (1 test) 1ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/provider-registry.test.ts (16 tests) 21ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/pi/bridge/__tests__/tool-proxy.test.ts (2 tests) 3ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/acp-launch-spec-fingerprint.test.ts (2 tests) 12ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/pi/event-translation.test.ts (53 tests) 204ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/pi/bridge/__tests__/configured-services.test.ts (6 tests) 295ms @bb/agent-runtime:test: ✓ @bb/agent-runtime:isolated src/pi/bridge/__tests__/model-runtime.test.ts (5 tests) 8ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime.interactive-requests.test.ts (9 tests) 452ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime.input-accepted.test.ts (4 tests) 525ms @bb/agent-runtime:test: ✓ suppresses provider-emitted user message echoes for turns and steers 388ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime-thread-rewind.test.ts (3 tests) 773ms @bb/agent-runtime:test: ✓ stages one independently discardable fork per lease and suppresses staging events 400ms @bb/agent-runtime:test: ✓ @bb/agent-runtime:isolated src/pi/bridge/__tests__/model-list.test.ts (10 tests) 15ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime.turn-start-watchdog.test.ts (2 tests) 1041ms @bb/agent-runtime:test: ✓ surfaces a visible error when an accepted turn never starts 601ms @bb/agent-runtime:test: ✓ stays silent when the turn starts within the threshold 440ms @bb/agent-runtime:test: ✓ @bb/agent-runtime:isolated src/pi/bridge/__tests__/sdk-session-lifecycle.test.ts (1 test) 224ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime.tool-calls.test.ts (6 tests) 1243ms @bb/agent-runtime:test: ✓ routes provider-scoped tool calls through onToolCall and sends response back 364ms @bb/agent-runtime:test: ✓ sends JSON-RPC error back when onToolCall throws 376ms @bb/agent-runtime:test: ✓ @bb/agent-runtime:isolated src/pi/bridge/__tests__/bridge.test.ts (23 tests) 133ms @bb/agent-runtime:test: ✓ @bb/agent-runtime:isolated src/pi/bridge/bridge.conformance.test.ts (1 test) 276ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime.multi-thread.test.ts (8 tests) 2338ms @bb/agent-runtime:test: ✓ handles multiple threads on the same provider 376ms @bb/agent-runtime:test: ✓ keeps sibling threads running for keep-provider adapters after stopping one thread 727ms @bb/agent-runtime:test: ✓ handles multiple providers in a single runtime 349ms @bb/agent-runtime:test: ✓ resumes across runtime instances 318ms @bb/agent-runtime:test: ✓ @bb/agent-runtime:isolated src/pi/bridge/__tests__/sdk-session.test.ts (33 tests) 4040ms @bb/agent-runtime:test: ✓ allows eight transient Pi auth storage misses before succeeding 2010ms @bb/agent-runtime:test: ✓ fails after nine transient Pi auth storage misses 2004ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime.command-contract.test.ts (26 tests) 4085ms @bb/agent-runtime:test: ✓ passes acp launch specs to adapter construction for model list, start, and resume 651ms @bb/agent-runtime:test: ✓ uses a new provider process cache entry when the acp launch spec changes 486ms @bb/agent-runtime:test: ✓ @bb/agent-runtime src/runtime.lifecycle.test.ts (29 tests) 4332ms @bb/agent-runtime:test: ✓ starts a thread and receives a providerThreadId 416ms @bb/agent-runtime:test: ✓ @bb/agent-runtime:isolated src/runtime.process-lifecycle.test.ts (36 tests) 4768ms @bb/agent-runtime:test: ✓ handles JSON-RPC error responses from provider 347ms @bb/agent-runtime:test: ✓ waits for an exited provider to finalize before replacing it 461ms @bb/agent-runtime:test: ✓ starts a single replacement for concurrent callers after an exit 635ms @bb/agent-runtime:test: ✓ cuts off inherited provider output before starting a replacement 1363ms @bb/agent-runtime:test: ✓ gives a changed declaration its own bridge process at the same artifact hash 405ms @bb/agent-runtime:test: @bb/agent-runtime:test: Test Files 30 passed (30) @bb/agent-runtime:test: Tests 324 passed (324) @bb/agent-runtime:test: Start at 07:25:06 @bb/agent-runtime:test: Duration 7.80s (transform 11.67s, setup 0ms, import 25.37s, tests 24.87s, environment 3ms) @bb/agent-runtime:test: Tasks: 2 successful, 2 total Cached: 0 cached, 2 total Time: 8.525s