The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): give the fatal-metrics harness the startup mixin it now parks through
unsupportedpastels3c38cd99f432
diff --git a/tests/gateway/test_platform_shared_metrics.py b/tests/gateway/test_platform_shared_metrics.pyindex 0ba4b2dc507..637f1dba895 100644--- a/tests/gateway/test_platform_shared_metrics.py+++ b/tests/gateway/test_platform_shared_metrics.py@@ -9,6 +9,7 @@ import pytestfrom gateway.platforms.base import BasePlatformAdapter, Platform, PlatformConfig, SendResultfrom gateway.platforms.event import MessageEvent, MessageTypefrom gateway.run_adapters import GatewayAdapterLifecycleMixin+from gateway.run_startup import GatewayStartupMixinfrom gateway.stream_consumer import GatewayStreamConsumer, StreamConsumerConfigfrom hermes_cli.observability import relay_shared_metrics as rsmfrom hermes_cli.observability import shared_metrics_contract as contract@@ -171,7 +172,9 @@ def test_a_delivery_sent_after_the_routed_scope_resets_lands_in_the_owning_profi]-class _FatalRunner(GatewayAdapterLifecycleMixin):+class _FatalRunner(GatewayAdapterLifecycleMixin, GatewayStartupMixin):+ # The last non-retryable fatal parks the platform through the startup mixin (as in GatewayRunner).+def __init__(self):self.adapters, self._failed_platforms, self._running = {}, {}, Trueself.delivery_router, self.config = SimpleNamespace(adapters={}), SimpleNamespace(platforms={})@@ -180,6 +183,9 @@ class _FatalRunner(GatewayAdapterLifecycleMixin):def _update_platform_runtime_status(self, *args, **kwargs):pass+ def _update_runtime_status(self, *args, **kwargs):+ pass+async def _safe_adapter_disconnect(self, *args, **kwargs):pass