refactor(update): drop the tombstone comment at the old matcher site and a duplicated exactness leg

This commit is contained in:
kshitijk4poor
2026-09-06 20:41:16 +05:30
committed by kshitij
parent 80d636b7c5
commit a262b2e372
2 changed files with 0 additions and 11 deletions

View File

@@ -543,10 +543,6 @@ def _surviving_gateway_pids_after_failed_restart():
return None
# `_gateway_service_matches_profile` is imported from update_inventory so plan
# reconciliation and abort-recovery share one systemd/launchd/s6 matcher.
_MANUAL_GATEWAY_SKIP_REASON = (
"manual gateway has no supervisor relaunch authority; left running for explicit operator restart"
)

View File

@@ -162,13 +162,6 @@ def test_launchd_named_profile_and_failed_label():
failed_units=["ai.hermes.gateway"],
)
assert failed[0]["outcome"] == "failed"
# Sibling label must not credit the default profile (exact match, not prefix).
sibling = match_runtime_outcomes(
_plan(_rt("default", 403, supervisor="launchd")),
restarted_services=["ai.hermes.gateway-foo"], relaunched_profiles=[],
externally_supervised_profiles=[], killed_pids=set(), failed_units=[],
)
assert sibling[0]["outcome"] == "unaccounted"
def test_untouched_runtime_is_unaccounted_and_escalates(capsys):