From 4a214c60cc3abbca702b3054bc5b604789740682 Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:17:25 -0800 Subject: [PATCH] test(native-chat): expect the current conversation fence on resume The roster publisher reads the conversation fence after restart and send, which can advance beyond the earlier runtime lease fence. Derive the expected fence from that current record and preserve every other resume assertion. --- .../cross-version-agent-session-wire.unit.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/cross-version-wire/cross-version-agent-session-wire.unit.test.ts b/tests/e2e/cross-version-wire/cross-version-agent-session-wire.unit.test.ts index 04049dde2e9..49c65f13e56 100644 --- a/tests/e2e/cross-version-wire/cross-version-agent-session-wire.unit.test.ts +++ b/tests/e2e/cross-version-wire/cross-version-agent-session-wire.unit.test.ts @@ -257,7 +257,7 @@ describe('cross-version structured agent sessions', () => { type: 'batch', sessionId: SESSION, batch: { cursor: held, items: [], removedItemIds: [], submissions: [] }, - fence: resumedFence, + fence: store.getConversation(SESSION)?.currentFence, backgroundTasks: null, commands: null, hostNow: expect.any(Number)