Skip to content

Turn auto approve back on for pwsh/arm/windows - #276954

Merged
Robo (deepak1556) merged 1 commit into
mainfrom
tyriar/273191_pwsh_arm
Nov 13, 2025
Merged

Robo (deepak1556) merged 1 commit into
mainfrom
tyriar/273191_pwsh_arm

Conversation

@Tyriar

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the Windows ARM PowerShell grammar crash workaround that was previously implemented to prevent OOM crashes. The changes re-enable previously skipped tests and remove the runtime check that prevented PowerShell grammar usage on Windows ARM platforms.

  • Removes conditional test suite skipping logic for Windows ARM + PowerShell tests
  • Removes the _throwIfCanCrash runtime check from TreeSitterCommandParser
  • Cleans up unused imports related to the workaround (arch, and some isWindows usages)

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.ts Removes the _throwIfCanCrash method and its invocation, along with unused imports for arch and isWindows
src/vs/workbench/contrib/terminalContrib/chatAgentTools/test/electron-browser/treeSitterCommandParser.test.ts Changes conditional suite.skip to normal suite, removes unused imports, and reorganizes remaining imports alphabetically
src/vs/workbench/contrib/terminalContrib/chatAgentTools/test/electron-browser/runInTerminalTool.test.ts Changes conditional suite.skip to normal suite and reorganizes imports alphabetically
src/vs/workbench/contrib/terminalContrib/chatAgentTools/test/electron-browser/commandLinePwshChainOperatorRewriter.test.ts Changes conditional suite.skip to normal suite, removes unused arch import, and reorganizes imports alphabetically
src/vs/workbench/contrib/terminalContrib/chatAgentTools/test/electron-browser/commandLineAnalyzer/commandLineFileWriteAnalyzer.test.ts Changes conditional suite.skip to normal suite, removes unused arch import, and reorganizes imports alphabetically

@deepak1556
Robo (deepak1556) merged commit 5a8ee1f into main Nov 13, 2025
@deepak1556
Robo (deepak1556) deleted the tyriar/273191_pwsh_arm branch November 13, 2025 08:44
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Dec 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants