-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Feature Request
When jobs are deployed, the stored PID is for the outer uv/python process, not the actual agent process. On Windows especially, processes spawn child processes, so killing the stored PID may not terminate all related processes.
Use Case
Reliable process cleanup when stopping jobs via deploy stop - currently processes can be orphaned.
Suggested Approach
- Track process groups (Unix: setpgid/killpg, Windows: job objects)
- Or: store PIDs of all child processes
- Or: use process tree kill utilities
Discovered During
Platform exploration session - cleanup improvements
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels