Skip to content

Skip the flaky Update-Help test for the PackageManagement module#26845

Merged
TravisEz13 merged 1 commit intoPowerShell:masterfrom
daxian-dbw:udpate-help
Feb 17, 2026
Merged

Skip the flaky Update-Help test for the PackageManagement module#26845
TravisEz13 merged 1 commit intoPowerShell:masterfrom
daxian-dbw:udpate-help

Conversation

@daxian-dbw
Copy link
Member

@daxian-dbw daxian-dbw commented Feb 17, 2026

PR Summary

This is a follow-up on #26796

The updatable help tests are only failing with the PackageManagement module in Linux CI on release/v7.6, release/v7.5, and release/v7.4 branches. And it's the "Tag: Feature" tests are failing (see an example CI at https://github.com/PowerShell/PowerShell/actions/runs/22045492577/job/63693733570#step:3:3280).

The PR #26796 marked pending on the wrong tests and thus the failure still happens in release/v7.5 branch.
This change updates the test to only mark the test targeting PackageManagement module pending on Linux. Here is a successful CI run with the fix: https://github.com/PowerShell/PowerShell/actions/runs/22113437487/job/63915672423#step:3:3285

  Describing Validate Update-Help from the Web for all PowerShell modules.
+?++++?++++?

  Describing Validate Update-Help from the Web for all PowerShell modules for user scope.
+?++++?++++?

  Describing Validate Update-Help -SourcePath for all PowerShell modules.
+?++++?++++?

  Describing Validate Update-Help -SourcePath for all PowerShell modules for user scope.
+?++++?++++?

NOTE this change is already available in the release/v7.5 branch via this PR: #26837

PR Checklist

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 fixes a regression from PR #26796 where the wrong Update-Help tests were marked as pending. The issue is that PackageManagement Update-Help tests fail intermittently on Linux for Feature-tagged tests. The previous fix incorrectly marked all CI-tagged tests as pending instead of specifically targeting PackageManagement on Linux.

Changes:

  • Add condition to mark PackageManagement Update-Help tests as pending specifically on Linux platforms
  • Remove the blanket -MarkAsPending parameter from CI-tagged test invocations that was previously marking all tests pending

@TravisEz13 TravisEz13 added the CL-Test Indicates that a PR should be marked as a test change in the Change Log label Feb 17, 2026
@TravisEz13 TravisEz13 merged commit 8f457fc into PowerShell:master Feb 17, 2026
42 of 48 checks passed
@daxian-dbw daxian-dbw deleted the udpate-help branch February 17, 2026 21:48
SeeminglyScience pushed a commit to SeeminglyScience/PowerShell that referenced this pull request Feb 17, 2026
adityapatwardhan pushed a commit to adityapatwardhan/PowerShell that referenced this pull request Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.4.x-Migrated Backport-7.5.x-Migrated Backport-7.6.x-Migrated 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