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
CLI --completion crashes on an unhandled EPIPE when its reader closes early #2646
Found during the v2.10.0 release smoke (#2623) and recorded in its ledger. mcp-inspector --cli --completion <shell> writes the script through awaitableLog. If the reader closes the pipe before the write finishes, Node throws an unhandled 'error' event (write EPIPE) with a stack trace. Two cases do this: | head, and bash 3.2's source <(…), where process substitution does not keep the pipe open.
The completion path treats EPIPE on stdout as a normal early close and exits quietly. Other paths already do this (mcpdo's auth helper installs process.stdout.on("error", () => {})).
Activity
cliffhall commentedon Oct 12, 2026
Fixed by #2700, merged into v2/main.
fix(cli): exit quietly when --completion's reader closes early (model…