Skip to content

[release/v7.4] Mark flaky Update-Help web tests as pending to unblock CI#26805

Merged
TravisEz13 merged 2 commits intoPowerShell:release/v7.4from
TravisEz13:backport/release/v7.4/26796-6b8d724b0
Feb 13, 2026
Merged

[release/v7.4] Mark flaky Update-Help web tests as pending to unblock CI#26805
TravisEz13 merged 2 commits intoPowerShell:release/v7.4from
TravisEz13:backport/release/v7.4/26796-6b8d724b0

Conversation

@TravisEz13
Copy link
Member

Backport of #26796 to release/v7.4

Triggered by @TravisEz13 on behalf of @app/copilot-swe-agent

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)

CI stability improvement by marking flaky web-dependent Update-Help tests as pending to unblock builds.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Not run locally (backport only).

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Test-only change and instruction file addition; no runtime impact.

Merge Conflicts

test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1: trivial rebase conflict around a blank line and Update-Help call. Resolution: removed conflict markers, kept Remove-Item with -Force -ErrorAction SilentlyContinue, and kept removal of -ErrorAction Stop.

@TravisEz13 TravisEz13 added the CL-Test Indicates that a PR should be marked as a test change in the Change Log label Feb 13, 2026
Copilot AI review requested due to automatic review settings February 13, 2026 16:54
@TravisEz13 TravisEz13 added the CL-Test Indicates that a PR should be marked as a test change in the Change Log label Feb 13, 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

Backport to release/v7.4 that reduces CI instability by marking web-dependent Update-Help Pester tests as Pending, and adds repository guidance for using Set-ItResult correctly.

Changes:

  • Add -MarkAsPending switch to RunUpdateHelpTests and set affected CI web tests to Pending via Set-ItResult -Pending + return.
  • Adjust Save-Help test setup/cleanup with extra guards around $TestDrive/$saveHelpFolder.
  • Add .github/instructions/pester-set-itresult-pattern.instructions.md documenting the Set-ItResult + return pattern.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1 Marks CI web Update-Help tests as Pending; adds $TestDrive/folder guards in Save-Help helper.
.github/instructions/pester-set-itresult-pattern.instructions.md Adds guidance for Pending/Skipped tests using Set-ItResult and required return.

@TravisEz13 TravisEz13 enabled auto-merge (squash) February 13, 2026 18:51
@TravisEz13 TravisEz13 merged commit 06efedb into PowerShell:release/v7.4 Feb 13, 2026
36 checks passed
@TravisEz13 TravisEz13 deleted the backport/release/v7.4/26796-6b8d724b0 branch February 13, 2026 19:54
Copilot AI added a commit that referenced this pull request Feb 13, 2026
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