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.
This commit is contained in:
Brennan Benson
2026-11-13 13:17:25 -08:00
parent d3aaa6fee4
commit 4a214c60cc
@@ -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)