Repository navigation
[release/v7.6.10] fix(msix): defer PowerShell updates while in use - #28319
Open
Dongbo Wang (daxian-dbw) wants to merge 1 commit into
Open
Dongbo Wang (daxian-dbw) wants to merge 1 commit into
Dongbo Wang (daxian-dbw) wants to merge 1 commit into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The Windows Store servicing backport still requires end-to-end validation of MSIX packaging compatibility, deployment on older supported Windows versions, and update deferral without terminating active pwsh sessions.
No open issues 🎉
What changed in this PR
Backports #28275 to release/v7.6.10 to prevent Microsoft Store updates from interrupting active PowerShell sessions on supported Windows versions.
Changes:
- Sets
uap17:UpdateWhileInUsetodeferin the MSIX manifest. - Registers
uap17as an ignorable namespace while preserving the existing minimum supported Windows version.
| File | Description |
|---|---|
| assets/AppxManifest.xml | Adds the update-deferral setting and required namespace declarations. |
Review effort: Balanced
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 #28275 to release/v7.6.10
Triggered by Dongbo Wang (@daxian-dbw) on behalf of OKAN TIKTAS (@OKAN-SOFTWARE)
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Customer Impact
Addresses #28272: Microsoft Store updates can terminate running PowerShell sessions, interrupting active commands and long-running processes. On supported Windows versions, the MSIX manifest setting instructs Windows to defer updates until the application restarts or the system reboots.
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
The original PR reports successful git diff --check, XML parsing, verification that UpdateWhileInUse is defer in the correct namespace, and inclusion of uap17 in IgnorableNamespaces. Reviewed backport commit 3f9fc35: the manifest diff matches the original PR. Cherry-pick completed without conflicts and the working tree is clean. End-to-end Store update and deployment validation were not performed; backport CI must pass before merge.
Risk
REQUIRED: Check exactly one box.
Changes MSIX update behavior through a packaging manifest setting. The change registers uap17 as an ignorable namespace and preserves the existing minimum supported Windows version; end-to-end Store update and deployment behavior still require validation.