fix: use summary checkpoints for all compaction triggers (#5694)
* fix: exclude archived history after manual compaction * refactor: share summary checkpoints across compaction paths * fix: use summary checkpoints for every compaction trigger * test: assert replay starts at the archived boundary * fix: preserve nothing summaries without raw fallback * test: assert compaction results positively * test: verify checkpoint continuation after session reload
This commit is contained in:
1 parent
c039a7052a
commit
3548aec576
18 files changed
+335
-271
No files matched your search
@@ -95,12 +95,6 @@ class TestNewCommandArchival:
|
||||
session.last_archived = len(session.messages) - 2
|
||||
ordinary_history = session.get_history()
|
||||
assert [message["content"] for message in ordinary_history] == [
|
||||
"msg1",
|
||||
"resp1",
|
||||
"msg2",
|
||||
"resp2",
|
||||
"msg3",
|
||||
"resp3",
|
||||
"msg4",
|
||||
"resp4",
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user