Prerequisites
Summary
I originally opened this bug with the Azure Repo extension team but subsequent troubleshooting shows this issue only occurs when the PowerShell Extension is enabled. I have tried rolling back the PowerShell extension from v2022.6.1 to 2022.5.1 and the issue still occurs. After disabling the PowerShell Extension I can no longer reproduce the error described below.
After connecting to an Azure Repo and trusting the repo in Manage Workspace trust, the code collapse arrows disappear and we cannot collapse various codeblocks. Previously collapsed code expands. Putting the repo back in Restricted mode resolves the issue immediately. We are not having any issues with local files or any files not contained in our Azure Repo. This issue appeared recently and occurs for multiple users on my team and on multiple computers. We have PowerShell scripts in our repo. This issue occurs for us on both the stable and prerelease version of Azure Repo.
Azure Repo Version:
v0.12.0
PowerShell Version
PSVersion 7.2.5
PSEdition Core
GitCommitId 7.2.5
OS Microsoft Windows 10.0.19043
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visual Studio Code Version
1.68.1
30d9c6cd9483b2cc586687151bcbcd635f373630
x64
Extension Version
ms-vscode.powershell@2022.6.1
Steps to Reproduce
Install Azure Repos Extension
Install PowerShell Extension
Connect to script hosted in Azure Remote Repo
Collapsing Codeblock works.
Trust Repo in Manage Workspace Trust
Collapsed codeblocks expand, can no longer click collapse.
Set Repo to restricted in Manage Workspace Trust, issue immediately resolves
Disable PowerShell Extension
Reload VSCode
Blocks now collapse as expected in Both Restricted and Trusted Mode
Visuals


Logs
Logs sent privately per troubleshooting article.
Prerequisites
Summary
I originally opened this bug with the Azure Repo extension team but subsequent troubleshooting shows this issue only occurs when the PowerShell Extension is enabled. I have tried rolling back the PowerShell extension from v2022.6.1 to 2022.5.1 and the issue still occurs. After disabling the PowerShell Extension I can no longer reproduce the error described below.
After connecting to an Azure Repo and trusting the repo in Manage Workspace trust, the code collapse arrows disappear and we cannot collapse various codeblocks. Previously collapsed code expands. Putting the repo back in Restricted mode resolves the issue immediately. We are not having any issues with local files or any files not contained in our Azure Repo. This issue appeared recently and occurs for multiple users on my team and on multiple computers. We have PowerShell scripts in our repo. This issue occurs for us on both the stable and prerelease version of Azure Repo.
Azure Repo Version:
v0.12.0
PowerShell Version
Visual Studio Code Version
Extension Version
ms-vscode.powershell@2022.6.1Steps to Reproduce
Install Azure Repos Extension
Install PowerShell Extension
Connect to script hosted in Azure Remote Repo
Collapsing Codeblock works.
Trust Repo in Manage Workspace Trust
Collapsed codeblocks expand, can no longer click collapse.
Set Repo to restricted in Manage Workspace Trust, issue immediately resolves
Disable PowerShell Extension
Reload VSCode
Blocks now collapse as expected in Both Restricted and Trusted Mode
Visuals
Logs
Logs sent privately per troubleshooting article.