fix(memory): archive short idle sessions for Dream

This commit is contained in:
chengyongru authored and chengyongru committed 2026-08-07 11:45:49 +08:00
1 parent 8dfce4c162
commit 2c7943a133
8 files changed
+279 -107

No files matched your search

@@ -57,7 +57,7 @@ def test_loaded_corrupt_offset_keeps_messages(tmp_path: Path):
def test_valid_offset_is_preserved():
session = _session(10, 4)
assert session.last_consolidated == 4
assert len(session.get_history()) == 6
assert len(session.get_history()) == 8
def test_loaded_null_metadata_becomes_empty_dict(tmp_path: Path):