Skip to content

Connectors card reads Not reported before a session's first turn (init-only list; the dialog reads mcp_status) #619

Closed

Description

@SSFSKIM

What is wrong

Before a session's first turn, the session panel's Connectors card reads "Not reported", and its list is empty, although the session's MCP servers are already connected. The Connectors dialog opened from the same session at the same moment lists every server with its state and tool count.

Seen in the UX wave's e2e:discover run 43386195217 (branch ux-wave/U11a at 8feaa7a): a session with no turn yet; the dialog showed four servers (three connected, one needing sign-in); the card beside it read "Not reported". Master has the same code.

Cause

Two sources for the same fact:

  • The card (src/renderer/src/panel/summary/Connectors.tsx:11) reads EngineSessionStatus.mcpServers. The engine host fills that list only from the engine's system/init frame (src/engine-host/session-status.ts:324), which the engine sends with a session's first turn.
  • The dialog reads the session's mcp_status answer over the control protocol, which the engine gives as soon as the session is ready.

The same init-only list is what Customize's Connectors rows consult for sessions other than the attached one (after U11a's fix the attached session is read through mcp_status): a ready session with no first turn that is not the attached one is still not found when a row looks for a session that lists a server.

What done looks like

  • A ready session's Connectors card shows its servers before the first turn (the count, and each server's state in the open card), from the same answer the dialog shows.
  • A Customize Connectors row finds any ready session that lists its server, attached or not, first turn or not.
  • One source: the engine host's status list is filled from mcp_status once the session is ready and kept current by the frames that already update it, or the card reads the control-protocol answer; decide by reading how often the answer changes and what a read costs (the dialog's own polling is the reference). No extra read per session on every render.
  • A unit test holds the state: a ready session with no system/init whose mcp_status lists servers.

Pointers

  • src/engine-host/session-status.ts (the status record), src/renderer/src/panel/summary/Connectors.tsx (the card), src/renderer/src/customize/ ConnectorsSection.tsx (the rows; U11a's fix and its comment name this ticket's case).
  • Fixtures for mcp_status: spikes/protocol-probe/fixtures/.
  • Parent wave: UX wave (2026-11): 240 UX items as fourteen children #573 (U8's cards own the summary; U11 owns Customize).

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P3
    on Nov 13, 2026
  2. added
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 20, 2026
  3. SSFSKIM commented on Nov 20, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: batch 7, group C

  4. added
    status:in-review
    and removed
    status:in-progress
    on Nov 20, 2026
  5. SSFSKIM commented on Nov 20, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: batch 7, PR #804

  6. removed
    status:in-review
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions