[release/v7.4] Skip the flaky Update-Help test for the PackageManagement module#26871
Merged
TravisEz13 merged 1 commit intoPowerShell:release/v7.4from Feb 20, 2026
Conversation
TravisEz13
approved these changes
Feb 20, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR backports a fix from the main branch to address flaky Update-Help tests for the PackageManagement module on Linux. The issue was that tests tagged as "Feature" were failing intermittently, and the previous fix (PR #26796) marked the wrong tests as pending. This change targets specifically the PackageManagement module on Linux, which has intermittent connectivity issues.
Changes:
- Modified conditional logic to mark
PackageManagementmodule tests as pending specifically on Linux systems - Removed the blanket
-MarkAsPendingparameter from "CI" tagged tests, allowing them to run normally while still protecting against known flaky behavior
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.
Backport of #26845 to release/v7.4
Triggered by @adityapatwardhan on behalf of @daxian-dbw
Original CL Label: CL-Test
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Fixes CI failures by skipping flaky Update-Help tests for PackageManagement module on Linux. This prevents false negatives in CI runs on release branches.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Verified with successful CI run (linked in original PR) showing tests now pass properly by correctly skipping the problematic PackageManagement tests on Linux
Risk
REQUIRED: Check exactly one box.
Only changes test files to skip flaky tests. No production code changes, minimal risk of unintended side effects. Improves CI reliability.