feat: add cleanup for orphaned MCP server processes on startup

- Implemented a new method `cleanupOrphanedProcesses` to identify and terminate orphaned `uvx` processes from previous sessions.
- Integrated the cleanup method into the `start` process of the WorkerService to ensure a clean environment at startup.
- Added logging for process cleanup actions and handled potential errors gracefully without failing the service startup.
This commit is contained in:
Alex Newman
2025-11-16 22:36:39 -05:00
parent 20d45006c0
commit 02fef487e7
2 changed files with 58 additions and 22 deletions
File diff suppressed because one or more lines are too long