Skip to content

Fix subagent MCP startup status settling - #37344

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/4d929a162dd067b4a76351652a764a79ce60f31f
Aug 7, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

Fix subagent MCP startup status settling

Why

Subagents can leave cached MCP servers deferred indefinitely, causing the TUI to keep showing MCP startup as running after every server that reported startup has settled.

What changed

  • Clear configured MCP startup expectations for active subagent threads so their status is driven by actual startup notifications.
  • Preserve configured-server startup tracking for primary threads and side conversations.

Testing

Add coverage for active and resumed subagents with deferred servers, plus the existing side-conversation behavior.

## Why

Subagents can leave cached MCP servers deferred indefinitely, causing the TUI to keep showing MCP startup as running after every server that reported startup has settled.

## What changed

- Clear configured MCP startup expectations for active subagent threads so their status is driven by actual startup notifications.
- Preserve configured-server startup tracking for primary threads and side conversations.

## Testing

Add coverage for active and resumed subagents with deferred servers, plus the existing side-conversation behavior.

GitOrigin-RevId: 4d929a162dd067b4a76351652a764a79ce60f31f
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/4d929a162dd067b4a76351652a764a79ce60f31f branch from 4fdeef3 to 4ffeddc Compare August 7, 2026 00:51
@copyberry
copyberry Bot merged commit 4ffeddc into main Aug 7, 2026
29 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/4d929a162dd067b4a76351652a764a79ce60f31f branch August 7, 2026 00:52
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 7, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 4ffeddcb Deployed Aug 7, 2026 by krosman19 via Translate non-English issue #7081
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.

2 participants