Skip to content

Keep background MCP reconnects from reporting working - #275

Merged
JJLiebig merged 2 commits into
mainfrom
fix/mcp-background-status-274
Nov 10, 2026
Merged

JJLiebig merged 2 commits into
mainfrom
fix/mcp-background-status-274

Conversation

@JJLiebig

@JJLiebig JJLiebig commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Background MCP startup shared the bottom pane’s running flag with foreground work, causing idle sessions to report working and then trigger false completion alerts. Use the existing foreground-activity predicate for terminal program status.

Adds lifecycle regressions for idle, done and error across MCP startup/reconnect, and pending/running user turns during startup. Detached-process status is unchanged.

Validation on 30f098a:

  • Review Suite fast: both reviewers clean.
  • 37 focused codex-tui library tests passed: just test -p codex-tui --lib -E 'test(chatwidget::tests::terminal_program_status) | test(chatwidget::tests::mcp_startup)'.
  • just fmt, git diff --check and TUI/core boundary check passed.
  • Full workspace suite waived for this TUI-only change. GitHub CI unavailable: blocking-ci is manually disabled in this repository; no CI pass claimed.

Fixes #274.

@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bed7be8f-77e3-4aff-80e6-4f7b51e0e42e
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@JJLiebig
JJLiebig merged commit 7755f02 into main Nov 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Background MCP startup/reconnect flips the reported status to working without a turn

1 participant