Amir Ayub
Amir Ayub
Same bug, different MCP server. We observed 213 leaked `@playwright/mcp` process pairs (13.6 GB RSS) on v0.120.0. Filed as #17832. Your description of the `spawn_agent -> thread_spawn -> session_init.mcp_manager_init ->...
## Root Cause Analysis Verified across 4 independent passes of the `codex-rs/` source on `main`. > **Update (2026-04-19):** fix landed on branch `RedesignedRobot:codex:fix/mcp-subprocess-cleanup`, rebased onto current `main`, `cargo check -p...
Reference implementation: https://github.com/openai/codex/compare/main...RedesignedRobot:codex:fix/mcp-subprocess-cleanup 2 files, +23/-2. Covers both `handlers::shutdown()` (Op::Shutdown path) and the `submission_loop` channel-close fallthrough. `cargo check -p codex-core -p codex-mcp` clean. Verified across 7 independent code review passes...
The immediate gap is the missing teardown call. `handlers::shutdown()` never invokes cleanup on `McpConnectionManager`. The reference implementation linked above addresses this directly. Once the drop chain fires correctly, the leak...
Hey @jif-oai @etraut-openai, dropping a note in case it's useful. Patch is ready on `RedesignedRobot:codex:fix/mcp-subprocess-cleanup`, rebased on `main`. **Fix:** adds `McpConnectionManager::shutdown()` (drains the client map) and calls it from `handlers::shutdown()`...
Still happens on 1.4.4-canary.1+5f5799ed1, and with `expect.stringContaining` too: after `expect(r).toMatchObject({ message: expect.stringContaining("needs") })`, `typeof r.message` is "object". `toEqual` and `toStrictEqual` leave `r` alone. Built and tested with Claude Opus 5.5.
PR raised: #96 Adds a `ttl` field to `[cship.usage_limits]` config (default 60s, backward compatible). Three-file change threading the configurable TTL from config → module render → cache write.
@claude can you help us out?
Same here!
Thanks for the quick turnaround. Great work, and I really appreciate everything you do for Tokscale.