note: You are running `vp test` as a Vite+ built-in command. If you meant to run the test npm script, use `vpr test` instead.

 RUN  v5.0.5 /home/ubuntu/wt/issue-20348

stdout | src/orchestration-v2/ProviderSessionManager.test.ts > ProviderSessionManagerV2 keeps an attached native child loaded when its parent detaches
[07:52:13.742] ERROR (#1): Error [AssertionError]: expected [ 'native-child-thread' ] to deeply equal []
    at /home/ubuntu/wt/issue-20348/apps/server/src/orchestration-v2/ProviderSessionManager.test.ts:3337:16 {
  actual: [ 'native-child-thread' ],
  expected: [],
  showDiff: true,
  operator: 'deepStrictEqual',
  [cause]: undefined
}

 ❯ |t3| src/orchestration-v2/ProviderSessionManager.test.ts (43 tests | 1 failed | 42 skipped) 220ms
   × ProviderSessionManagerV2 keeps an attached native child loaded when its parent detaches 216ms

⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯

 FAIL  |t3| src/orchestration-v2/ProviderSessionManager.test.ts > ProviderSessionManagerV2 keeps an attached native child loaded when its parent detaches
AssertionError: expected [ 'native-child-thread' ] to deeply equal []

- Expected
+ Received

- []
+ [
+   "native-child-thread",
+ ]

 ❯ src/orchestration-v2/ProviderSessionManager.test.ts:3337:16
    3335|         yield* manager.detach(parent);
    3336|
    3337|         assert.deepEqual((yield* Ref.get(state)).unloadedNativeThreadI…
       |                ^
    3338|         // The child's next turn trusts the manager's loaded cache, so…
    3339|         // native thread must still be loaded for that turn to be hear…
 ❯ ~effect/Effect/successCont ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28
 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:971:30
 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41
 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23
 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27
 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17
 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Effect.ts:26057:13

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯


 Test Files  1 failed (1)
      Tests  1 failed | 42 skipped (43)
   Start at  07:51:54
   Duration  19.58s (transform 77%, import 13%, setup 9%, tests 1%)

