Skip to content

Conversation

@daxian-dbw
Copy link
Member

PR Summary

Per the decision of PMs and maintainers, this PR makes the experimental feature PSFeedbackProvider stable.
It involves quite some cleanup changes as the old suggestion framework is now removed.

@daxian-dbw daxian-dbw added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Oct 29, 2025
Copy link
Contributor

Copilot AI left a comment

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 legacy suggestion framework that was replaced by the extensible feedback provider system. The changes eliminate the hard-coded suggestion mechanism and its associated experimental feature flag (PSFeedbackProvider), consolidating on the newer feedback provider approach.

  • Removes the PSFeedbackProvider experimental feature flag and related legacy suggestion infrastructure
  • Deletes legacy suggestion methods and related enums from HostUtilities.cs
  • Removes conditional logic that checked the experimental feature flag and always uses the feedback provider

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/System.Management.Automation/resources/SuggestionStrings.resx Removes the legacy suggestion string resource that was used by the old suggestion framework
src/System.Management.Automation/engine/hostifaces/HostUtilities.cs Removes legacy suggestion infrastructure including SuggestionMatchType enum, suggestion initialization methods, and GetSuggestion methods along with unused imports
src/System.Management.Automation/engine/ExperimentalFeature/ExperimentalFeature.cs Removes the PSFeedbackProvider experimental feature constant and its registration
src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs Removes conditional logic and the EvaluateSuggestions method, always using EvaluateFeedbacks

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@daxian-dbw daxian-dbw merged commit eda7e4a into PowerShell:master Oct 30, 2025
34 checks passed
@daxian-dbw daxian-dbw deleted the exp_features branch October 30, 2025 22:53
@microsoft-github-policy-service
Copy link
Contributor

microsoft-github-policy-service bot commented Oct 30, 2025

📣 Hey @@daxian-dbw, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.6.x-Migrated CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants