[release/v7.6.7] Mark DSC Profile tests pending on MSIX test runs - #28092
Merged
Dongbo Wang (daxian-dbw) merged 1 commit intoSep 24, 2026
Conversation
Co-authored-by: Justin Chung <[email protected]> Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Copilot started reviewing on behalf of
Dongbo Wang (daxian-dbw)
September 24, 2026 18:28
View session
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved review issues were identified.
Review effort: Lite
Findings: None
What changed in this PR
Updates DSC profile tests to prevent false failures in MSIX-packaged PowerShell environments.
Changes:
- Detects MSIX execution contexts.
- Marks affected tests as pending.
- Skips incompatible setup and cleanup operations.
| File | Description |
|---|---|
test/powershell/dsc/dsc.profileresource.Tests.ps1 |
Adds MSIX detection and pending-test handling. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Aditya Patwardhan (adityapatwardhan)
approved these changes
Sep 24, 2026
Dongbo Wang (daxian-dbw)
merged commit Sep 24, 2026
2c3e458
into
PowerShell:release/v7.6.7
37 of 38 checks passed
Dongbo Wang (daxian-dbw)
deleted the
backport/release/v7.6.7/27884-9e734952a
branch
September 24, 2026 22:09
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 #27884 to release/v7.6.7
Triggered by Dongbo Wang (@daxian-dbw) on behalf of Aditya Patwardhan (@adityapatwardhan)
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
Prevents false test failures in CI/test runs against MSIX-packaged PowerShell builds by marking known-incompatible DSC Profile tests as pending rather than failing.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Original PR was verified by running the DSC profile resource test suite in both MSIX and non-MSIX test contexts, confirming tests are marked pending only under MSIX. Backport verified by confirming the cherry-pick applied cleanly with no conflicts on release/v7.6.7.
Risk
REQUIRED: Check exactly one box.
Low risk: test-only change that detects MSIX-packaged test runs and marks known-incompatible DSC profile tests as pending instead of failing. No product code is modified.