GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [release/v7.4.21] Add GetImportModuleCommand method and session restriction check in ShowCommand by adityapatwardhan · Pull Request #28059 · PowerShell/PowerShell Conversation
Member
Backport of #25557 to release/v7.4.21 Triggered by Aditya Patwardhan (@adityapatwardhan) on behalf of Travis Plunk (@TravisEz13) Original CL Label: CL-General /cc @PowerShell/powershell-maintainers ImpactREQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected. Tooling Impact
Customer Impact
Restores Show-Command module import/command refresh behavior and prevents Show-Command from running in unsupported restricted remoting sessions, where it now terminates with a clear error. RegressionREQUIRED: Check exactly one box.
The regression was introduced by PR #20593. TestingVerified that the cherry-picked commit is exactly one commit ahead of upstream/release/v7.4.21, reviewed the resulting three-file diff against the original PR diff, and ran RiskREQUIRED: Check exactly one box.
Medium risk because this changes customer-facing Show-Command behavior and restricted-remoting error handling. The change is narrowly scoped to restoring the module-import helper, adding one session restriction guard, and adding its resource string; it cherry-picked without conflicts.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…ction in `ShowCommand` (PowerShell#25557)
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Copilot started reviewing on behalf of
Aditya Patwardhan (adityapatwardhan)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Copilot review overview🟡 Changes recommendedFix the remote refresh script separator issue; also correct the Get a fresh assessment by requesting another Copilot review. Review effort: Lite Open (2)What changed in this PRBackports Show-Command fixes to restore module refresh behavior and reject unsupported restricted sessions. Changes:
💡 Add a
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Aditya Patwardhan (adityapatwardhan)
enabled auto-merge (squash)
Patrick Meinecke (SeeminglyScience)
approved these changes
Aditya Patwardhan (adityapatwardhan)
merged commit
37b5998
into
PowerShell:release/v7.4.21
38 of 39 checks passed
Uh oh!
There was an error while loading. Please reload this page.
Aditya Patwardhan (adityapatwardhan)
deleted the
backport/release/v7.4.21/25557-eef085210
branch
Justin Chung (jshigetomi)
approved these changes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reviewers
Copilot code review
Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Uh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
CL-General
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | |||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |