fix(webui): retain system context graph after compaction (#6608)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-09 13:20:46 +08:00
1 parent d789e1bfc7
commit 4212ad726d
25 files changed
+748 -102

No files matched your search

+2
View File
@@ -1542,6 +1542,8 @@ def _client_projection_event(
"compaction_id": compaction_id,
"phase": phase,
}
if (graph := decode_graph(record.get("context_graph"))) is not None:
projected["context_graph"] = graph
if (snapshot := decode_snapshot(record.get("context_snapshot"))) is not None:
projected["context_snapshot"] = snapshot
reason = record.get("reason")