mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user