Skip to content

Test: No Auth scenarios with Copilot Agent Host Harness #331180

Description

Refs: #330012 #330082 #330094 #330102 #330297 #330336 #330361 #330577

Complexity: 3

Authors: Vritant Bhardwaj (@vritant24)

Create Issue

Create Issue


Current No Auth Scenarios work as expected

Without the following setting:

  "chat.agentHost.allowSignedOutWhenUsable": false, (default)
  1. Agents Window cannot be used without signing in.
  2. Copilot Harness in the editor window cannot be used without signing in.

New No Auth Scenarios

Pre-requisites

  • VS code insiders
  • Following settings enabled
  "chat.agentHost.allowSignedOutWhenUsable": true, 
  "chat.agentHost.byokModels.enabled": true,
  "chat.agentHost.enabled": true

When Signed out of GitHub Copilot:

  1. Agents Window Sign in Dialog should show when you open it for the first time (launch using code-insiders --transient and set the settings before opening the agents window)
    • The sign in should be dismissible without signing in the agents window.
  2. A notification prompting sign in should be shown on top of the chat input whenever you are signed out of GitHub Copilot and have no models available (including no BYOK models)
    • You should be able to sign in or add byok models through the buttons that notification.
    • The copilot harness should be usable with BYOK models while you're not signed in.
  3. The Editor window should show the copilot harness as selectable, and also show the sign in notification in the same scenarios.
    • The copilot harness should be usable with BYOK models while you're not signed in.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions