Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[azure-policy-vscode-extension][bug] : Extension fails to initialize when Azure [email protected] is installed #1362

Open
asilverman opened this issue Aug 1, 2024 · 2 comments

Comments

@asilverman
Copy link

Dear Azure Policy Extension Maintainers,

I just had a conversation with @Chris Stackhouse related to the issue in the email thread “RE: I am unable to use or understand how to use the extension for my use-case”. It appears that the extension initialization hangs when Azure [email protected] is installed.

Desired Behavior:
The extension should work with the latest versions of all of its dependencies. In case of a failure, the extension should provide an informative message in the ‘Azure Policy’ output pane

Actual Behavior:

See how the contents in the left panel will not load and will hang indefinitely.

image

Environment Configuration:

  1. What VSCode version are you running?
    Version: 1.92.0-insider (user setup)
    Commit: b1c0a14de1414fcdaa400695b4db1c0799bc3124
    Date: 2024-07-31T20:34:16.103Z
    Electron: 30.1.2
    ElectronBuildId: 9870757
    Chromium: 124.0.6367.243
    Node.js: 20.14.0
    V8: 12.4.254.20-electron.0
    OS: Windows_NT x64 10.0.22631
  2. What extensions do you have installed and what version are they?
    ➜ ASM-AutoUpdatePolicy git:(asilverman/diable-local-auth-storage-accounts-poc) code --list-extensions --show-versions
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]
  3. What OS and processor architecture are you running on?
    Microsoft Windows 11 Enterprise, 64 bit
@asilverman
Copy link
Author

I was able to workaround this issue with the support of @mentat9 by reverting the version of the Azure Account Extension dependency to v0.11.7

@asilverman asilverman changed the title [azure-policy-extension][bug] : Extension fails to initialize when Azure [email protected] is installed [azure-policy-vscode-extension][bug] : Extension fails to initialize when Azure [email protected] is installed Aug 1, 2024
@mentat9
Copy link
Member

mentat9 commented Aug 6, 2024

This issue doesn't repro on current versions of VSCode, and required extensions:

VSCode: 1.92.1
.NET Install Tool: 2.1.1
Azure Resources: 0.9.1
Azure Account: 0.12.0
Azure Resource Manager (ARM) Tools: 0.15.12
Azure Policy: 0.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants