The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(tests): compression stall-fallback tests stop racing the 0.2s ceiling
teknium1d57c28a5541c
diff --git a/tests/agent/test_compression_stall_fallback.py b/tests/agent/test_compression_stall_fallback.pyindex 398cbd4b2af..0c802d9f066 100644--- a/tests/agent/test_compression_stall_fallback.py+++ b/tests/agent/test_compression_stall_fallback.py@@ -90,7 +90,7 @@ class _StalledSummaryWorker:fence.finish_commit()-def _run(worker, *, chain, timeouts, messages, idle=0.05, ceiling=0.2):+def _run(worker, *, chain, timeouts, messages, idle=0.05, ceiling=2.0):with _patch_chain(chain):return run_compress_context_with_progress_timeout(worker=worker,@@ -152,7 +152,7 @@ def test_retry_runs_on_a_host_published_fence():messages=original,system_prompt_fallback="degraded-prompt",idle_timeout_seconds=0.05,- total_ceiling_seconds=0.2,+ total_ceiling_seconds=2.0,new_fence=_new_fence,)finally:@@ -182,7 +182,7 @@ def test_hard_interrupt_suppresses_the_fallback_attempt():messages=original,system_prompt_fallback="degraded-prompt",idle_timeout_seconds=0.05,- total_ceiling_seconds=0.2,+ total_ceiling_seconds=2.0,on_timeout=lambda *args: timeouts.append(args),telemetry_agent=agent,)