Repository navigation
Turn auto approve back on for pwsh/arm/windows - #276954
Merged
Merged
Conversation
Connor Peet (connor4312)
approved these changes
Nov 12, 2025
Contributor
There was a problem hiding this comment.
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
_throwIfCanCrashruntime check fromTreeSitterCommandParser - Cleans up unused imports related to the workaround (
arch, and someisWindowsusages)
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #273191
Merge first: