hermes-agent/tests/gateway/relay
Dannyzen 3b0bb3b8bb fix(gateway): keep event loop alive during /compress and Relay drain
Offload manual /compress temporary-agent cleanup through the existing
bounded off-loop helper so a slow agent.close() cannot freeze the
gateway event loop, heartbeat, or platform polling.

Guarantee Relay transport teardown even when the runner cancels
adapter.disconnect() during go_idle: shielded finally, 2s drain-path
idle ACK budget under the 5s outer disconnect budget, and bounded
supervisor/reader/ws.close awaits.

Original commits:
- fix(gateway): offload manual /compress cleanup from the event loop
- fix(gateway): tear down Relay transport even if go_idle is cancelled
- fix(gateway): keep Relay disconnect budgets inside the runner window

By @Dannyzen (PR #78027), salvaged onto current main.
2026-08-04 11:17:11 +05:30
..
__init__.py
stub_connector.py
test_auth.py
test_channel_context_consume.py
test_contract_doc_conformance.py
test_descriptor.py
test_descriptor_from_entry.py
test_handoff_relay_aliasing.py
test_identity_token_resolver.py
test_no_stub_leak.py
test_relay_adapter.py fix(gateway): keep event loop alive during /compress and Relay drain 2026-08-04 11:17:11 +05:30
test_relay_follow_up.py
test_relay_going_idle.py
test_relay_interactive.py
test_relay_interrupt.py
test_relay_media.py
test_relay_multiplatform.py
test_relay_passthrough.py
test_relay_per_platform_caps.py
test_relay_policy_send.py
test_relay_registration.py
test_relay_roundtrip.py
test_relay_roundtrip_telegram.py
test_relay_sheds_crypto.py
test_relay_slack_dm_streaming.py
test_relay_slack_prompt_dm_root.py
test_relay_threads.py fix(relay): key auto-thread rename on prospective_thread_id, not per-chat cache (#77052) 2026-08-02 19:35:50 +00:00
test_self_provision.py
test_wire_user_identity.py
test_ws_transport.py