core-agent-ide/codex-rs/rmcp-client/src
Eric Traut 82c981cafc
Process-group cleanup for stdio MCP servers to prevent orphan process storms (#10710)
This PR changes stdio MCP child processes to run in their own process
group
* Add guarded teardown in codex-rmcp-client: send SIGTERM to the group
first, then SIGKILL after a short grace period.
* Add terminate_process_group helper in process_group.rs.
* Add Unix regression test in process_group_cleanup.rs to verify wrapper
+ grandchild are reaped on client drop.

Addresses reported MCP process/thread storm: #10581
2026-02-06 21:26:36 -08:00
..
bin Fix: Render MCP image outputs regardless of ordering (#9815) 2026-01-27 21:14:08 +00:00
auth_status.rs Work around crash in system-configuration library (#8954) 2026-01-09 08:11:34 -07:00
lib.rs Validate CODEX_HOME before resolving (#10249) 2026-01-30 15:46:33 -08:00
logging_client_handler.rs feat: replace custom mcp-types crate with equivalents from rmcp (#10349) 2026-02-02 17:41:55 -08:00
oauth.rs Validate CODEX_HOME before resolving (#10249) 2026-01-30 15:46:33 -08:00
perform_oauth_login.rs Show OAuth error descriptions in callback responses (#9654) 2026-01-27 13:22:54 -08:00
program_resolver.rs fix: resolve Windows MCP server execution for script-based tools (#3828) 2025-11-16 13:41:10 -08:00
rmcp_client.rs Process-group cleanup for stdio MCP servers to prevent orphan process storms (#10710) 2026-02-06 21:26:36 -08:00
utils.rs feat: replace custom mcp-types crate with equivalents from rmcp (#10349) 2026-02-02 17:41:55 -08:00