Skip to content

Fix cancelled review leaving MCP startup busy - #31189

Merged
charliemarsh-oai merged 7 commits into
mainfrom
charlie/fix-review-cancelled-mcp-startup
Jul 6, 2026
Merged

Fix cancelled review leaving MCP startup busy#31189
charliemarsh-oai merged 7 commits into
mainfrom
charlie/fix-review-cancelled-mcp-startup

Conversation

@charliemarsh-oai

@charliemarsh-oai charliemarsh-oai commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Cancelling an inline review could leave the TUI stuck in MCP startup state, so subsequent /review commands were rejected as though another task were still running. Specifically, the child’s “Starting MCP servers” event was incorrectly forwarded to the parent TUI, so the parent was marking itself as busy.

This keeps delegate-session MCP startup events inside the delegate instead of exposing them as parent-session state.

Reproduction

Here's the before -- notice that after I cancel the first review, I'm prevented from running /review again:

Before.mov

And the after -- notice that after I cancel, I can immediately start a new /review:

after.mov
@charliemarsh-oai charliemarsh-oai added the bug Something isn't working label Jul 5, 2026
@charliemarsh-oai
charliemarsh-oai force-pushed the charlie/fix-review-cancelled-mcp-startup branch from 46d7f07 to 9118b1a Compare July 5, 2026 18:39
@charliemarsh-oai
charliemarsh-oai marked this pull request as ready for review July 5, 2026 18:41
@charliemarsh-oai
charliemarsh-oai requested a review from a team as a code owner July 5, 2026 18:41
@charliemarsh-oai
charliemarsh-oai merged commit bce481f into main Jul 6, 2026
35 checks passed
@charliemarsh-oai
charliemarsh-oai deleted the charlie/fix-review-cancelled-mcp-startup branch July 6, 2026 14:55
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

2 participants