Skip to content

Agents: Cloud session type pill appears interactive when no alternative is available #333605

Description

Type of Issue

Bug

Description

In the Agents window new-session picker, selecting a GitHub repository that is not local shows a Cloud session type pill. Because Cloud is the only session type available for that repository, activating the pill does nothing and no picker opens.

The pill should remain visible to communicate the selected session type, but it should be rendered as disabled when there are no alternatives. If another session type becomes available, it should become interactive again.

Steps to Reproduce

  1. Open the Agents window.
  2. Start a new session.
  3. Select a GitHub repository that is not available locally.
  4. Observe the Cloud session type pill.
  5. Try to activate it.

Expected

The sole Cloud session type is visible but disabled.

Actual

The pill appears interactive, but activating it has no effect.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions