From 28dced24401d04ce2f31847994f2d7fc79c3d9d1 Mon Sep 17 00:00:00 2001 From: Stephen Schoettler Date: Mon, 8 Jun 2026 00:42:16 -0700 Subject: [PATCH] test: isolate quiet compaction status assertions --- tests/run_agent/test_413_compression.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/run_agent/test_413_compression.py b/tests/run_agent/test_413_compression.py index 7ae217e74687..7abb9469d4b1 100644 --- a/tests/run_agent/test_413_compression.py +++ b/tests/run_agent/test_413_compression.py @@ -776,6 +776,9 @@ class TestPreflightCompression: def test_compress_context_suppresses_automatic_status_when_engine_opts_out(self, agent): """Plugin engines can make successful automatic compaction silent.""" + # Keep this isolated from the lazy aux-provider feasibility warning, + # which is unrelated to automatic compaction lifecycle status. + agent.compression_enabled = False events = [] agent.status_callback = lambda ev, msg: events.append((ev, msg)) agent.context_compressor.emit_automatic_compaction_status = False @@ -801,6 +804,9 @@ class TestPreflightCompression: def test_compress_context_force_keeps_manual_status_when_engine_opts_out(self, agent): """Manual /compress remains visible even for quiet automatic engines.""" + # Keep this isolated from the lazy aux-provider feasibility warning, + # which is unrelated to manual compression lifecycle status. + agent.compression_enabled = False events = [] agent.status_callback = lambda ev, msg: events.append((ev, msg)) agent.context_compressor.emit_automatic_compaction_status = False