RUN v4.1.1 /home/sawyer/projects/bb/.claude/worktrees/wf_debcf606-e4a-8/apps/server ❯ @bb/server test/threads/issue-1650-blocked-thread-message-loss.test.ts (2 tests | 2 failed) 218ms × bb thread tell to a blocked active thread is retained (queued), not dropped with 409 134ms × a child-completed notice to a blocked parent is not silently discarded 83ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ FAIL @bb/server test/threads/issue-1650-blocked-thread-message-loss.test.ts > issue #1650: messages to a thread blocked on AskUserQuestion > bb thread tell to a blocked active thread is retained (queued), not dropped with 409 AssertionError: the message must land somewhere the orchestrator can see it: expected { status: 409, body: { …(2) }, …(2) } to match object { status: 200 } (5 matching properties omitted from actual) - Expected + Received { - "status": 200, + "status": 409, } ❯ test/threads/issue-1650-blocked-thread-message-loss.test.ts:114:9 112| }, 113| "the message must land somewhere the orchestrator can see it", 114| ).toMatchObject({ status: 200 }); | ^ 115| expect(queued.length + turnRequests.length).toBeGreaterThan(0); 116| }); ❯ withTestHarness test/helpers/test-app.ts:286:12 ❯ test/threads/issue-1650-blocked-thread-message-loss.test.ts:31:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ FAIL @bb/server test/threads/issue-1650-blocked-thread-message-loss.test.ts > issue #1650: messages to a thread blocked on AskUserQuestion > a child-completed notice to a blocked parent is not silently discarded AssertionError: expected { delivered: false, …(1) } to not deeply equal { delivered: false, …(1) } Compared values have no visual difference. ❯ test/threads/issue-1650-blocked-thread-message-loss.test.ts:186:14 184| // gone for good, and nothing is logged. 185| expect({ delivered, persistedSystemTurnRequests: systemTurnReque… 186| .not.toEqual({ delivered: false, persistedSystemTurnRequests: … | ^ 187| }); 188| }); ❯ withTestHarness test/helpers/test-app.ts:286:12 ❯ test/threads/issue-1650-blocked-thread-message-loss.test.ts:120:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ Test Files 1 failed (1) Tests 2 failed (2) Start at 04:56:01 Duration 3.07s (transform 1.58s, setup 0ms, import 2.76s, tests 218ms, environment 0ms)