The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): give the bare watcher runner the adapter state the gate re-check reads
teknium12aaa09370565
diff --git a/tests/gateway/test_scale_to_zero_watcher.py b/tests/gateway/test_scale_to_zero_watcher.pyindex 5fa55054e98..43704b59cb3 100644--- a/tests/gateway/test_scale_to_zero_watcher.py+++ b/tests/gateway/test_scale_to_zero_watcher.py@@ -75,6 +75,11 @@ def _runner_with(r._draining = drainingr._scale_to_zero_cooldown_until = 0.0r._scale_to_zero_no_suspend_logged = False+ r._scale_to_zero_direct_platform_logged = False+ # The pre-dormant gate re-check reads these (relay-only unless a test says otherwise).+ r.config = None+ r.adapters = {}+ r._profile_adapters = {}r._last_inbound_at = time.time()r._running_agents = {}r._background_tasks = set()