The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(e2e/pm): drop the #124668 gate; both generation_gc cells pass
teknium1388c63e24ef6
diff --git a/tests/e2e/core/upgrade/pm/test_generation_gc.py b/tests/e2e/core/upgrade/pm/test_generation_gc.pyindex 4ed8c2ceb3e..67eeb2fb7ed 100644--- a/tests/e2e/core/upgrade/pm/test_generation_gc.py+++ b/tests/e2e/core/upgrade/pm/test_generation_gc.py@@ -12,8 +12,8 @@ then the user runs ``hermes update`` / ``hermes pm repair``. After each rebuildunselected generations must be gone, the selected one kept and working (a real ``hermes -z`` turnthrough the loopback provider). Two updates: the first one's leftover is the generation the updateritself ran from (leased, legitimately kept); the second shows whether anything reclaims it.-Restarts are covered in ``test_restart_generations.py``. Neither ``hermes update`` nor ``hermes pm repair`` runs the collector today (gated on #124668);-the generation the rebuilding process itself ran from is leased by it and legitimately survives.+Restarts are covered in ``test_restart_generations.py``. The generation the rebuilding process+itself ran from is leased by it and legitimately survives."""from __future__ import annotations@@ -25,7 +25,6 @@ import timeimport pytest-from tests.e2e.core._pending_fixes import known_failurefrom tests.e2e.core.upgrade import _helpers as Hfrom tests.e2e.core.upgrade import _install_helpers as Ifrom tests.e2e.core.upgrade.pm import _pm as P@@ -88,12 +87,10 @@ def _rebuild_collects(sb: I.Sandbox, provider: FakeLLMServer, what: str, rebuilddef _assert_collected(sb: I.Sandbox, what: str, result) -> None:kept_old, left, selected, before_sel, cp = result- with known_failure(r"kept superseded generations built two days ago",- "gated on #124668: hermes update / pm repair never run the generation collector"):- assert not kept_old, (- f"{what} kept superseded generations built two days ago: {kept_old} (all: {left}, selected "- f"{selected}, previous {before_sel}); every rebuild adds one and nothing reclaims them\n"- + P.diagnostics(sb, cp))+ assert not kept_old, (+ f"{what} kept superseded generations built two days ago: {kept_old} (all: {left}, selected "+ f"{selected}, previous {before_sel}); every rebuild adds one and nothing reclaims them\n"+ + P.diagnostics(sb, cp))def test_repeated_updates_collect_superseded_generations(home, provider):