fix(runtime): retire and reap owned agent tmux sessions (ODY-147)

This commit is contained in:
Alexandre Teixeira
2026-10-01 21:34:23 +01:00
parent 7892f7f650
commit 85cfe59b15
6 changed files with 259 additions and 37 deletions
+1
View File
@@ -426,6 +426,7 @@ def test_reap_orphans_reports_both_stores_and_the_mechanism(
seed_grant()
seed_job()
verdicts(monkeypatch, {4242: process_ownership.GONE})
monkeypatch.setattr(process_reaper, "reap_legacy_agent_tmux", lambda: {"seen": 0})
monkeypatch.setattr(containment, "_group_present", lambda _pgid: False)
report = process_reaper.reap_orphans()