fix: stop sending context compaction notifications

This commit is contained in:
Arthur K. authored and Xubin Ren committed 2026-09-30 13:44:42 +08:00
1 parent fbe9b4fd72
commit 0b402d0414
31 files changed
+157 -38

No files matched your search

+2
View File
@@ -696,11 +696,13 @@ class TestCompactIdleSession:
"cli:events",
runtime=runtime,
events=EventSink(observe),
notify=True,
)
assert result == "Summary."
assert [event.phase for event in events] == ["started", "succeeded"]
assert events[0].compaction_id == events[1].compaction_id
assert all(event.notify for event in events)
@pytest.mark.asyncio
async def test_event_callback_failure_does_not_abort_compaction(