The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): served-profile stop parks under the host (rebase over #120143)
teknium138c9611791d3
diff --git a/tests/hermes_cli/test_pooled_served_profile_backend_unscoped.py b/tests/hermes_cli/test_pooled_served_profile_backend_unscoped.pyindex 69f2c2f30b8..0012196006c 100644--- a/tests/hermes_cli/test_pooled_served_profile_backend_unscoped.py+++ b/tests/hermes_cli/test_pooled_served_profile_backend_unscoped.py@@ -54,7 +54,8 @@ def test_unscoped_liveness_in_a_served_profile_process_matches_the_scoped_answerdef test_unscoped_lifecycle_verbs_in_a_served_profile_process_address_the_multiplexer(pooled_served_process):from hermes_cli.web_server_gateway import _gateway_subcommand, _profile_action_environment, multiplexed_profile_refusal- assert multiplexed_profile_refusal(None, "stop") and multiplexed_profile_refusal(None, "start")+ # `stop` on a served profile PARKS it under the host (no refusal); `start` while unparked refuses.+ assert multiplexed_profile_refusal(None, "stop") is None and multiplexed_profile_refusal(None, "start")restart = _gateway_subcommand(None, "restart")assert restart[-2:] == ["gateway", "restart"]# The child must run under the DEFAULT home (the multiplexer's), not inherit alpha's HERMES_HOME.