Gemini CLI reports in-flight MCP calls as cancelled though servers complete them, duping models into re-running writes

sha7doww · ghdev · 2026-11-24

A gemini-cli issue documents that interrupting an in-flight MCP tool call with Ctrl-C makes the resumed history say "Operation cancelled" — yet no cancellation notice is sent and the server's write lands anyway (6/6 runs). Across 15 resumed sessions with five open-weight model families, the model re-executed the write 14 times instead of checking state, vs 8/15 when the result honestly said the operation may have completed. The author proposes MCP results use shell-style wording: it may have executed — check before retrying.

Original post →

More from coding & agent

coding & agent channel →