fix(agent): finalize stopped turns without checkpoints (NAN-211)
This commit is contained in:
1 parent
130f4edefe
commit
421bd6b593
3 files changed
+84
-9
No files matched your search
@@ -112,7 +112,7 @@ async def test_dispatch_cancellation_restores_checkpoint():
|
||||
)
|
||||
assert checkpoint_key not in session.metadata, \
|
||||
"Checkpoint metadata should be cleared after restore"
|
||||
assert loop.sessions.state.restore_interruption.await_count == 1, \
|
||||
assert loop.sessions.state.finish_turn.await_count == 1, \
|
||||
"Session should be persisted so the restored state survives process restart"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user