[release/v7.4] Mark flaky Update-Help web tests as pending to unblock CI#26805
Merged
TravisEz13 merged 2 commits intoPowerShell:release/v7.4from Feb 13, 2026
Merged
Conversation
…#26796) Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: TravisEz13 <[email protected]>
Contributor
There was a problem hiding this comment.
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
-MarkAsPendingswitch toRunUpdateHelpTestsand set affected CI web tests to Pending viaSet-ItResult -Pending+return. - Adjust
Save-Helptest setup/cleanup with extra guards around$TestDrive/$saveHelpFolder. - Add
.github/instructions/pester-set-itresult-pattern.instructions.mddocumenting theSet-ItResult+returnpattern.
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. |
SeeminglyScience
approved these changes
Feb 13, 2026
Copilot AI
added a commit
that referenced
this pull request
Feb 13, 2026
…te-Help tests Co-authored-by: TravisEz13 <[email protected]>
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 #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
CI stability improvement by marking flaky web-dependent Update-Help tests as pending to unblock builds.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Not run locally (backport only).
Risk
REQUIRED: Check exactly one box.
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.