fix(agent): finalize stopped turns without checkpoints (NAN-211)

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-22 10:35:04 +08:00
1 parent 130f4edefe
commit 421bd6b593
3 files changed
+84 -9

No files matched your search

+1 -1
View File
@@ -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"