Files
hermes-agent/tests/e2e/core
Teknium 35243e5fdf test: scanning a process's children no longer trips over one that just exited
`test_managed_worker_launch` failed on a PR run with `psutil.ZombieProcess` from
`[p for p in owner.children() if p.cmdline() ...]`: the list is taken first, then each child's
cmdline is read, and a short-lived sibling of the worker that exited in between raises for a
process the test never cared about. Four more tests scan children the same way.

`tests/process_scan.py::children_matching` / `matching` skip a process that exits mid-read (it
cannot be the one being looked for); every such scan uses it. Repro: with an unreaped child of the
scanning process, the old comprehension raises ZombieProcess and the helper finds the live target.
2026-11-19 01:09:04 -08:00
..