Skip to content

Ado index status sometimes not correctly shown #254010

Closed
microsoft/vscode-copilot-chat
#119
@mjbvz

Description

@mjbvz

From #253690

  1. Signed into Copilot with your internal account (to enable ado code search)
  2. Clone an ado repo such as https://dev.azure.com/monacotools/Monaco/_git/vscode-errors
  3. In the copilot status indicator, try authenticating (you can also just ask a #codebase question to get prompted)
  4. Reload the window and check the copilot status indicator

Bug
In some cases, you will see locally indexed instead of remotely indexed in the status

This seems to be caused by a race. We check if ado indexing is enabled before knowing the current user is internal or not, so read the wrong default value

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions