Skip to content

[release/v7.4] Skip the flaky Update-Help test for the PackageManagement module#26871

Merged
TravisEz13 merged 1 commit intoPowerShell:release/v7.4from
adityapatwardhan:backport/release/v7.4/26845-8f457fc71
Feb 20, 2026
Merged

[release/v7.4] Skip the flaky Update-Help test for the PackageManagement module#26871
TravisEz13 merged 1 commit intoPowerShell:release/v7.4from
adityapatwardhan:backport/release/v7.4/26845-8f457fc71

Conversation

@adityapatwardhan
Copy link
Member

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

  • Required tooling change
  • Optional tooling change (include reasoning)

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

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

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.

  • High
  • Medium
  • Low

Only changes test files to skip flaky tests. No production code changes, minimal risk of unintended side effects. Improves CI reliability.

Copilot AI review requested due to automatic review settings February 20, 2026 22:23
@adityapatwardhan adityapatwardhan added the CL-Test Indicates that a PR should be marked as a test change in the Change Log label Feb 20, 2026
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 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 PackageManagement module tests as pending specifically on Linux systems
  • Removed the blanket -MarkAsPending parameter from "CI" tagged tests, allowing them to run normally while still protecting against known flaky behavior

@TravisEz13 TravisEz13 enabled auto-merge (squash) February 20, 2026 22:25
@TravisEz13 TravisEz13 merged commit 44f2ffe into PowerShell:release/v7.4 Feb 20, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-Test Indicates that a PR should be marked as a test change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants