Skip to content

Issues with functionality in multi-root workspace #111

@wildengrpro

Description

@wildengrpro
  • 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):

  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
  1. Within VS Code, add multiple git repo folders to workspace
  2. Install AzDO Pull Request extension
  3. Open extension, click on Sign InResult: nothing happens.
  4. 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):

  1. Navigate to extension settings and set values for orgUrl and project name. Complete sign-in process.
  2. 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.)
  3. Observe error notification that says "Fetching pull requests failed: A project name is required in order to reference a Git repository by name."
  4. 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:

  1. 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)
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions