You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a5c0485
Browse filesBrowse the repository at this point in the historyBrowse files
* Stop a CLI session's processes on macOS too
The processes below a session were found through /proc, which macOS lacks, so one in a session of its own was
never stopped; they are now found with ps there. On macOS, signalling a group left with only exited, unreaped
processes raises PermissionError; it now means the group has ended, in the Base Agent's stop and in the AgentDyn
runner's and the Lean swarm launcher's.
* Tests: the new stop test cleans up whatever fails; the AgentDyn test reads a process's state on macOS too
* Tests: the stop test counts a zombie as stopped, and runs the ps fallback on Linux too
- an exited, unreaped grandchild (under a subreaper, or a container's PID 1 that does not reap) is stopped, not a
survivor
- parametrized proc / ps: CI on Linux now runs the macOS ps fallback; the ps case fails without it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: SmartBea_Linlin_r <80329948+GaoRuilin1@users.noreply.github.com>
Co-authored-by: Haizhong Zheng <hzzheng@umich.edu>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments