Skip to content

Fix MCP startup tracking when attaching to shared app servers - #60280

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e19f23c212f2f3cee1adeb5c3b94a508aa599242
Nov 8, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e19f23c212f2f3cee1adeb5c3b94a508aa599242

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Fix MCP startup tracking when attaching to shared app servers

Why

Clients attaching to a shared app server can miss startup notifications and have a different local MCP configuration. Waiting for locally configured servers can leave the TUI stuck in a busy state.

What changed

  • Track only reported MCP servers for shared app servers and subagents, settling startup once observed starts complete.
  • Handle standalone terminal updates without reopening startup, while reporting failures and cancellations even when their starts were missed.
  • Suppress duplicate diagnostics until an observed retry or notification lag, and include all received outcomes in each active round's summary.

Testing

Add regression coverage for attachment before, during, and after startup; idle keyboard behavior after startup settles; terminal-only failures and cancellations; and repeated failures after retries or notification lag.

## Why

Clients attaching to a shared app server can miss startup notifications and have a different local MCP configuration. Waiting for locally configured servers can leave the TUI stuck in a busy state.

## What changed

- Track only reported MCP servers for shared app servers and subagents, settling startup once observed starts complete.
- Handle standalone terminal updates without reopening startup, while reporting failures and cancellations even when their starts were missed.
- Suppress duplicate diagnostics until an observed retry or notification lag, and include all received outcomes in each active round's summary.

## Testing

Add regression coverage for attachment before, during, and after startup; idle keyboard behavior after startup settles; terminal-only failures and cancellations; and repeated failures after retries or notification lag.

GitOrigin-RevId: e19f23c212f2f3cee1adeb5c3b94a508aa599242
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e19f23c212f2f3cee1adeb5c3b94a508aa599242 branch from 223baf8 to ee51bb1 Compare November 8, 2026 19:04
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-08T19:04:22.064465Z 223baf8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit ee51bb1 into main Nov 8, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e19f23c212f2f3cee1adeb5c3b94a508aa599242 branch November 8, 2026 19:04
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 8, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — ee51bb13 Deployed Nov 8, 2026 by FoxsterDev via Translate non-English issue #25116
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants