COMMAND ["vp", "test", "run", "--config", "/tmp/ev-14419/capture/red/vite.config.ts", "--root", "/tmp/ev-14419/capture/red", "--reporter", "verbose", "-t", "aborts the pending fetch"]
CWD /home/ubuntu/wt/pr-14419
START 2026-10-23T06:27:06.094286+00:00
SPAWN_PID 1030636
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 /tmp/ev-14419/capture/red

stdout | AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > aborts the pending fetch when a tool call is interrupted
[06:27:06.964] ERROR (#1): Error [AssertionError]: expected undefined to be true // Object.is equality
    at /tmp/ev-14419/capture/red/AcpMcpStdioBridge.test.ts:310:31 {
  actual: undefined,
  expected: true,
  showDiff: true,
  operator: 'strictEqual',
  [cause]: undefined
}

stdout | AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > aborts the pending fetch when the stdio bridge is interrupted
[06:27:06.973] ERROR (#7): Error [AssertionError]: expected undefined to be true // Object.is equality
    at /tmp/ev-14419/capture/red/AcpMcpStdioBridge.test.ts:329:31 {
  actual: undefined,
  expected: true,
  showDiff: true,
  operator: 'strictEqual',
  [cause]: undefined
}

 ↓ AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > forwards requests and replays the session id and protocol version
 ↓ AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > acknowledges notifications silently and synthesizes errors for failed requests
 ↓ AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > emits parse errors for malformed JSON-RPC input
 ↓ AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > forwards SSE messages before the HTTP response closes
 ↓ AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > forwards client responses while an SSE request is still open
 ↓ AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > forwards cancellation while a tool SSE response is still open
 × AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > aborts the pending fetch when a tool call is interrupted 16ms
   → expected undefined to be true // Object.is equality
 × AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > aborts the pending fetch when the stdio bridge is interrupted 6ms
   → expected undefined to be true // Object.is equality

⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯

 FAIL  AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > aborts the pending fetch when a tool call is interrupted
AssertionError: expected undefined to be true // Object.is equality

- Expected:
true

+ Received:
undefined

 ❯ AcpMcpStdioBridge.test.ts:310:31
    308|       const signal = yield* Deferred.await(started);
    309|       yield* Fiber.interrupt(fiber);
    310|       expect(signal?.aborted).toBe(true);
       |                               ^
    311|     }),
    312|   );
 ❯ ~effect/Effect/successCont ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28
 ❯ ~effect/Effect/evaluate ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30
 ❯ FiberImpl.runLoop ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41
 ❯ FiberImpl.evaluate ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23
 ❯ FiberImpl.evaluate ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27
 ❯ ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17
 ❯ Array.<anonymous> ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:804:44

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

 FAIL  AcpMcpStdioBridge.test.ts > AcpMcpStdioBridge > aborts the pending fetch when the stdio bridge is interrupted
AssertionError: expected undefined to be true // Object.is equality

- Expected:
true

+ Received:
undefined

 ❯ AcpMcpStdioBridge.test.ts:329:31
    327|       const signal = yield* Deferred.await(started);
    328|       yield* Fiber.interrupt(fiber);
    329|       expect(signal?.aborted).toBe(true);
       |                               ^
    330|     }),
    331|   );
 ❯ ~effect/Effect/successCont ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28
 ❯ ~effect/Effect/evaluate ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30
 ❯ FiberImpl.runLoop ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41
 ❯ FiberImpl.evaluate ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23
 ❯ FiberImpl.evaluate ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27
 ❯ ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17
 ❯ Array.<anonymous> ../../../../home/ubuntu/wt/pr-14419/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:804:44

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯


 Test Files  1 failed (1)
      Tests  2 failed | 6 skipped (8)
   Start at  06:27:06
   Duration  457ms (import 83%, tests 9%, transform 6%, worker 2%)


EXIT 1
END 2026-10-23T06:27:07.112829+00:00
