Description
From #253690
- Signed into Copilot with your internal account (to enable ado code search)
- Clone an ado repo such as https://dev.azure.com/monacotools/Monaco/_git/vscode-errors
- In the copilot status indicator, try authenticating (you can also just ask a
#codebase
question to get prompted) - 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