Make some experimental features stable#26348
Merged
daxian-dbw merged 2 commits intoPowerShell:masterfrom Oct 30, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR promotes four experimental features to mainstream by removing their experimental feature gates. These features were previously behind experimental flags and are now enabled by default.
Key Changes:
- Removed experimental feature gates for
PSRedirectToVariable,PSNativeWindowsTildeExpansion, andPSSubsystemPluginModel - Removed experimental feature metadata and checks from the engine
- Updated tests to remove conditional skipping based on experimental feature states
- Fixed indentation inconsistencies in test files
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/tools/TestMetadata.json | Removed experimental feature entries that are now mainstream |
| test/powershell/Modules/Microsoft.PowerShell.Utility/Set-Variable.Tests.ps1 | Removed experimental feature checks and test skipping logic for PSRedirectToVariable |
| test/powershell/Language/Scripting/NativeExecution/NativeWindowsTildeExpansion.Tests.ps1 | Removed experimental feature assertion and fixed indentation |
| test/powershell/Language/Parser/RedirectionOperator.Tests.ps1 | Removed experimental feature check for PSRedirectToVariable |
| src/System.Management.Automation/engine/runtime/Operations/MiscOps.cs | Removed experimental feature guards for PSRedirectToVariable, making variable redirection always available |
| src/System.Management.Automation/engine/Subsystem/Commands/GetPSSubsystemCommand.cs | Removed experimental attribute from Get-PSSubsystem cmdlet |
| src/System.Management.Automation/engine/NativeCommandParameterBinder.cs | Removed experimental feature check for PSNativeWindowsTildeExpansion |
| src/System.Management.Automation/engine/InitialSessionState.cs | Made Get-PSSubsystem cmdlet available by default instead of conditionally |
| src/System.Management.Automation/engine/ExperimentalFeature/ExperimentalFeature.cs | Removed experimental feature definitions for promoted features |
| src/Microsoft.PowerShell.Commands.Utility/commands/utility/Var.cs | Removed experimental attribute from Append parameter |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
adityapatwardhan
approved these changes
Oct 30, 2025
Contributor
|
📣 Hey @@daxian-dbw, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
pwshBot
pushed a commit
to pwshBot/PowerShell
that referenced
this pull request
Oct 30, 2025
9 tasks
TravisEz13
pushed a commit
to TravisEz13/PowerShell
that referenced
this pull request
Nov 19, 2025
The following experimental features are made stable: - PSNativeWindowsTildeExpansion - PSRedirectToVariable - PSSubsystemPluginModel
9 tasks
SIRMARGIN
pushed a commit
to SIRMARGIN/PowerShell
that referenced
this pull request
Dec 12, 2025
The following experimental features are made stable: - PSNativeWindowsTildeExpansion - PSRedirectToVariable - PSSubsystemPluginModel
kilasuit
pushed a commit
to kilasuit/PowerShell
that referenced
this pull request
Jan 2, 2026
The following experimental features are made stable: - PSNativeWindowsTildeExpansion - PSRedirectToVariable - PSSubsystemPluginModel
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Summary
Make the following experimental features stable per the PMs and maintainers' decision:
Also clean up the related tests. There are some whitespace-only changes to tests, so it's easier to review by ignoring the whitespace changes: https://github.com/PowerShell/PowerShell/pull/26348/files?w=1