From fbc4ea8b96c784c9bb28dd27541c14514bba302d Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Sun, 20 Sep 2026 15:29:35 -0700 Subject: [PATCH] fix(tests): strip the synced durable timestamp in the flushed-message dict comparison --- tests/agent/test_compression_rotation_state.py | 2 +- tests/agent/test_steer_compaction_persistence.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/agent/test_compression_rotation_state.py b/tests/agent/test_compression_rotation_state.py index 4bbd4dfed7..16b4c1a9d0 100644 --- a/tests/agent/test_compression_rotation_state.py +++ b/tests/agent/test_compression_rotation_state.py @@ -1616,7 +1616,7 @@ class TestTodoSnapshotScaffoldingTails: { k: v for k, v in m.items() - if k not in {"_row_id", _DB_PERSISTED_MARKER} + if k not in {"_row_id", "timestamp", _DB_PERSISTED_MARKER} } for m in compressed ] == expected diff --git a/tests/agent/test_steer_compaction_persistence.py b/tests/agent/test_steer_compaction_persistence.py index c97c5e24e1..c7531127f9 100644 --- a/tests/agent/test_steer_compaction_persistence.py +++ b/tests/agent/test_steer_compaction_persistence.py @@ -40,4 +40,4 @@ def test_flushed_steer_keeps_one_display_identity_across_compactions(tmp_path): visible = db.get_messages(session_id, include_compacted=True) assert [(row["display_kind"], row["content"]) for row in visible] == [ ("steer", steer["content"]), - ] \ No newline at end of file + ]