Teknium
3b0dc776b6
fix(tests): the test runner kills detached processes a test leaves behind
...
`_kill_tree` SIGKILLs the per-file pytest process group, which misses any
child that left the group with `start_new_session=True` (an auto-started
`gateway run`, a setsid server). Those are reparented to init and run
forever: one host accumulated 215 orphan gateways (~52 GB RSS, up to 21 h
old), and every `hermes update` listed each as "another Hermes home — left
alone".
After every attempt the runner now SIGKILLs any process whose environment
still points into that attempt's unique temp root (PYTEST_DEBUG_TEMPROOT /
TMPDIR, or a HOME / HERMES_HOME a fixture created under it). The root is
unique per attempt, so the match names only that attempt's processes.
Linux-only (/proc); the process-group kill stays the fallback elsewhere.
2026-10-08 19:48:33 -07:00
..
2026-10-08 19:22:03 +02:00
2026-10-08 15:20:58 -07:00
2026-09-16 23:45:47 -04:00
2026-09-27 23:53:40 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-18 20:13:26 -04:00
2026-09-18 20:13:26 -04:00
2026-09-12 07:54:04 -07:00
2026-10-08 17:22:54 +02:00
2026-09-12 16:30:35 -04:00
2026-09-21 22:39:16 -04:00
2026-09-14 10:26:36 -04:00
2026-10-04 23:05:42 -07:00
2026-09-23 07:02:44 -04:00
2026-09-18 22:04:43 -07:00
2026-10-04 23:05:42 -07:00
2026-10-04 22:35:16 -07:00
2026-10-04 22:35:16 -07:00
2026-10-08 19:22:03 +02:00
2026-09-21 22:02:46 -04:00
2026-09-24 16:17:35 -04:00
2026-10-08 17:22:54 +02:00
2026-09-24 14:08:22 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 18:02:26 -04:00
2026-09-24 01:30:15 -04:00
2026-10-08 19:22:03 +02:00
2026-09-13 12:41:27 -04:00
2026-10-07 01:00:00 +05:30
2026-10-08 19:22:03 +02:00
2026-09-24 11:50:30 -04:00
2026-09-23 03:15:26 -07:00
2026-09-28 14:16:18 -07:00
2026-10-02 12:51:02 -04:00
2026-10-08 19:22:03 +02:00
2026-09-21 06:03:05 -04:00
2026-09-24 23:49:18 -04:00
2026-09-23 18:01:43 -04:00
2026-09-23 17:51:29 -04:00
2026-09-23 11:41:01 -04:00
2026-09-24 13:31:33 -04:00
2026-10-06 11:04:35 -04:00
2026-09-24 23:40:03 -04:00
2026-09-20 11:47:06 -04:00
2026-09-13 18:18:23 -04:00
2026-09-20 11:47:06 -04:00
2026-09-18 20:02:36 -04:00
2026-09-24 11:50:30 -04:00
2026-10-08 17:22:54 +02:00
2026-10-07 01:00:00 +05:30
2026-10-08 17:22:54 +02:00
2026-09-23 19:56:46 -04:00
2026-09-30 09:19:35 -04:00
2026-10-08 19:22:03 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 00:14:30 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 21:29:48 +02:00
2026-09-24 14:08:22 -04:00
2026-10-08 19:34:14 +02:00
2026-09-23 17:14:46 -04:00
2026-09-22 02:19:38 -04:00
2026-10-07 20:58:19 -07:00
2026-09-23 14:11:21 -04:00
2026-10-08 17:22:54 +02:00
2026-10-02 18:15:08 -04:00
2026-10-08 17:22:54 +02:00
2026-09-15 03:47:55 -07:00
2026-10-08 19:48:33 -07:00
2026-09-21 14:03:12 -04:00
2026-10-08 17:22:54 +02:00
2026-09-23 03:15:26 -07:00
2026-10-08 17:22:54 +02:00
2026-09-24 10:42:43 -04:00
2026-09-24 08:20:14 -04:00
2026-09-29 14:55:15 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-13 18:21:59 -04:00
2026-09-12 02:05:48 -04:00
2026-10-08 19:22:03 +02:00
2026-10-08 17:22:54 +02:00
2026-09-23 11:41:01 -04:00
2026-10-08 21:35:58 +02:00
2026-09-18 20:13:26 -04:00
2026-09-20 12:40:38 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:22:03 +02:00
2026-09-21 18:37:21 -04:00
2026-09-18 20:13:26 -04:00
2026-09-23 13:17:49 -04:00
2026-10-01 10:46:45 -07:00
2026-09-23 16:05:55 -04:00
2026-09-13 15:10:31 -04:00
2026-10-08 17:37:28 -04:00
2026-09-23 11:41:01 -04:00
2026-09-23 15:44:18 -04:00