From e528daea6c4fa596b543a9d2216a69bd6bdb33ac Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Mon, 28 Sep 2026 21:06:35 -0700 Subject: [PATCH] test(native-chat): the admission test's compaction resolves with a real outcome Main's compaction result is a tagged outcome; the host-level admission test resolved its mock compaction with an empty object. --- .../structured-conversation-command-child-work.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/native-chat/agent-session-wire/structured-conversation-command-child-work.test.ts b/src/main/native-chat/agent-session-wire/structured-conversation-command-child-work.test.ts index e0044717d19..0d4b630a4f5 100644 --- a/src/main/native-chat/agent-session-wire/structured-conversation-command-child-work.test.ts +++ b/src/main/native-chat/agent-session-wire/structured-conversation-command-child-work.test.ts @@ -64,7 +64,7 @@ function devServer(overrides: Partial = {}): AgentChildWorkV beforeEach(async () => { records = [] resetHostTestOperationIds() - compact.mockReset().mockResolvedValue({}) + compact.mockReset().mockResolvedValue({ outcome: 'compacted' }) directory = await mkdtemp(join(tmpdir(), 'orca-command-child-work-')) store = await AgentSessionRecordStore.open({ directory: join(directory, 'store'),