-
Notifications
You must be signed in to change notification settings - Fork 26
Description
-
Extension version: 1.0.2
-
VSCode Version:
Version: 1.106.3
Electron: 37.7.0
ElectronBuildId: 12781156
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0 -
OS: Windows_NT x64 10.0.26100
Issues:
(1) Sign In does nothing in multi-root workspace
(2) If orgUrl provided and project name set in settings, sign in can be completed, but then pull requests for only that one project can be listed/viewed while producing errors for any other projects (in the same organization) in the workspace
Steps to Reproduce Issue (1):
- If extension already installed & setup:
- go to user and workspace settings and clear any values in orgUrl and projectName parameters.
- click on AzDo Pull Request icon and click gear icon, select sign out option to sign out.
- Uninstall extension and restart extension AND restart VS Code
- Within VS Code, add multiple git repo folders to workspace
- Install AzDO Pull Request extension
- Open extension, click on Sign InResult: nothing happens.
- Review Output in VS Code for extension; shows something similar to:
[Info] AzdoRepository> Unable to infer org config from git. Repository Length: 10. Inferred Configs: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] [Info] AzdoRepository> Unable to get org config
Steps to Reproduce Issue (2):
- Navigate to extension settings and set values for orgUrl and project name. Complete sign-in process.
- In list of mutliple projects in AzDO extension window, target a project other than the project name that was specified in step 1 above, and click the collapse/expand list icon to display any pull request options (i.e. Create by Me, All Active, etc.)
- Observe error notification that says "Fetching pull requests failed: A project name is required in order to reference a Git repository by name."
- Review Output in VS Code for extension; shows something similar to:
[Info] AzdoRepository> Fetching pull requests for search: {"creatorId":"...","status":1} failed: Error: A project name is required in order to reference a Git repository by name.
Expected behavior:
- Extension should get both org config and project name even when in multi-root workspace (multiple git repos added to workspace) and allow sign-in to continue/complete. (The assumed requirement here is that all folder/repos are from the same organization)
- Once sign-in is completed, extension should get project name associated with the folder/repo for which the collapse/expand list icon is selected within the extension window.