Open nistSean opened 13 hours ago
This started for me 11/19/24 likely after updating VS Code and/or VS Code extensions.
This started for me 11/19/24
For reference, Amazon Q 1.36.0 was released on 11/14.
AWS Toolkit version: 2.18.7
Is that version correct? Latest is AWS Toolkit 3.35.0.
If you uninstall AWS Toolkit, does the problem still occur? This will help narrow down the issue.
Steps to reproduce the issue
- Go to Visual Studio
- Enable the Amazon Q extension
- Check powershell logs.
Can you give more specific details about where to find "powershell logs"? Is this a OS-global logs (Windows EventLog)? Exact steps about how to find these logs will help.
I've searched:
node_modules
used to build this project, and extension/dist/src/extensionNode.js
and did not find anything like (case-insensitive) out-string
, ExecutionPolicy.*Unrestricted
, etc.
Our dev-dependencies (non-production) use readline-sync
but that is not shipped as part of the production build.
Powershell supports aliases, so it's possible there is some pwsh command invocation using a different "spelling" than what is reported in your logs. It's also possible that something is indirectly triggering a powershell script on your system?
Problem
When the Amazon Q extension is enabled, there is a PowerShell command being executed continuously.
Steps to reproduce the issue
Expected behavior
Don't do this.
System details (run
AWS: About
and/orAmazon Q: About
)