teknium1
105568c155
fix(review): a live cross-home gateway.pid is still unlinked on refusal; the held lock stays
...
Dropping the `expected_home is None` clause from the unscoped cleanup branch of
`get_running_pid` re-opened the #89315 poison-file class: a live pid record whose
`hermes_home` names ANOTHER home sat behind a held lock forever and
`tests/hermes_cli/test_cross_profile_kill_refusal.py` went red (the only red in
the PR's Python tests job).
The two rejections are now distinct. A SAME-home record the cmdline matcher
rejects keeps both files (#125610 : a dashboard poll must not unlink a live
gateway's pid/lock). A record whose recorded home CONFLICTS with the process
home unlinks the poisoned gateway.pid, never the held gateway.lock
(`_cleanup_invalid_pid_path(unlink_lock=False)`). Scoped polls keep the #106406
contract: nothing is unlinked while a PID is live.
The #89315 test is unchanged; the new invariant test asserts the split (pid
gone, lock kept) and was red on the PR head.
2026-09-28 05:58:01 -07:00
..
2026-09-28 04:34:30 -07:00
2026-09-22 07:05:11 -04:00
2026-09-19 01:38:09 -04:00
2026-09-23 08:09:47 -07:00
2026-09-27 20:47:41 +05:30
2026-09-24 11:50:30 -04:00
2026-09-18 17:26:10 -04:00
2026-09-20 20:13:19 -07:00
2026-09-23 06:03:10 -07:00
2026-09-23 15:26:34 -04:00
2026-09-24 13:10:14 -04:00
2026-09-23 15:26:34 -04:00
2026-09-23 14:55:08 -07:00
2026-09-20 17:01:05 -07:00
2026-09-18 01:43:35 +05:30
2026-09-24 11:50:30 -04:00
2026-09-12 02:11:24 -04:00
2026-09-24 13:58:24 +05:30
2026-09-23 10:43:45 -04:00
2026-09-21 05:06:45 -07:00
2026-09-15 19:04:59 -07:00
2026-09-21 02:08:18 -07:00
2026-09-21 02:08:18 -07:00
2026-09-13 05:08:29 -07:00
2026-09-13 05:08:29 -07:00
2026-09-17 00:15:35 -07:00
2026-09-17 00:15:35 -07:00
2026-09-23 06:46:02 -07:00
2026-09-20 14:22:58 -07:00
2026-09-15 18:34:11 -07:00
2026-09-21 00:58:39 -04:00
2026-09-11 15:44:00 -07:00
2026-09-11 15:44:00 -07:00
2026-09-23 18:29:35 -05:00
2026-09-17 13:52:05 -04:00
2026-09-23 15:26:34 -04:00
2026-09-17 13:52:05 -04:00
2026-09-19 01:43:50 -04:00
2026-09-23 21:26:49 +05:30
2026-09-26 07:21:49 +05:30
2026-09-26 20:07:47 +05:30
2026-09-22 07:05:11 -04:00
2026-09-27 18:30:25 +05:30
2026-09-28 15:54:07 +05:30
2026-09-26 07:21:49 +05:30
2026-09-21 00:58:39 -04:00
2026-09-20 15:30:45 -07:00
2026-09-27 18:30:25 +05:30
2026-09-22 16:15:34 +05:30
2026-09-17 20:56:27 +05:30
2026-09-18 01:43:35 +05:30
2026-09-28 05:24:26 -07:00
2026-09-28 05:37:55 -07:00
2026-09-22 09:50:22 -07:00
2026-09-23 08:25:28 -07:00
2026-09-28 04:34:30 -07:00
2026-09-28 18:20:39 +05:30
2026-09-19 01:28:23 -07:00
2026-09-13 20:52:02 -07:00
2026-09-15 04:12:13 -07:00
2026-09-17 09:06:17 -07:00
2026-09-28 04:34:30 -07:00
2026-09-28 15:54:07 +05:30
2026-09-27 06:54:56 -05:00
2026-09-19 01:28:23 -07:00
2026-09-28 04:34:30 -07:00
2026-09-19 10:38:30 -07:00
2026-09-28 04:34:30 -07:00
2026-09-19 02:28:50 -07:00
2026-09-28 04:34:30 -07:00
2026-09-28 15:54:07 +05:30
2026-09-28 15:54:07 +05:30
2026-09-19 02:28:50 -07:00
2026-09-15 04:12:13 -07:00
2026-09-28 15:54:07 +05:30
2026-09-18 10:06:25 -07:00
2026-09-28 15:54:07 +05:30
2026-09-18 17:26:10 -04:00
2026-09-24 11:50:30 -04:00
2026-09-23 17:09:54 -07:00
2026-09-19 23:36:24 -07:00
2026-09-20 13:37:10 -07:00
2026-09-23 04:44:31 -07:00
2026-09-28 15:54:07 +05:30
2026-09-19 09:40:23 -07:00
2026-09-23 19:51:34 -04:00
2026-09-28 05:58:01 -07:00
2026-09-22 07:05:11 -04:00
2026-09-26 11:24:50 -07:00
2026-09-13 05:20:26 -07:00
2026-09-24 22:27:32 +05:30
2026-09-24 22:27:32 +05:30
2026-09-19 03:35:50 -07:00
2026-09-20 00:09:14 -07:00
2026-09-26 07:21:49 +05:30
2026-09-27 01:05:06 +05:30
2026-09-12 12:03:39 +05:30
2026-09-18 09:46:35 -07:00
2026-09-18 01:43:35 +05:30
2026-09-18 17:26:10 -04:00