Skip to content

[release/v7.4.21] Simplify Microsoft Store listing metadata - #28050

Merged
Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:release/v7.4.21from
adityapatwardhan:backport/release/v7.4.21/27968-8e1675f17
Sep 22, 2026
Merged

Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:release/v7.4.21from
adityapatwardhan:backport/release/v7.4.21/27968-8e1675f17

Conversation

@adityapatwardhan

Copy link
Copy Markdown
Member

Backport of #27968 to release/v7.4.21

Triggered by Aditya Patwardhan (@adityapatwardhan) on behalf of Justin Chung (@jshigetomi)

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

  • Required tooling change
  • Optional tooling change (include reasoning)

Required release tooling change that makes the static PDP the source of Store listing language, limits publishing-time substitutions to version values, removes obsolete AppStoreName mutation, and supplies the PDP root for StoreBroker's required media-root input.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

The original change was validated through Store pipeline configuration review. For this release-branch backport, conflict markers were checked, the release-specific PDP path adaptation was reviewed in the staged diff, and git diff --check upstream/release/v7.4.21...HEAD passed. Full release pipeline validation is delegated to PR CI.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

High risk because this changes Microsoft Store listing metadata and release-publishing pipeline behavior. Risk is constrained by preserving the release branch's existing PDP directory layout while applying only the original PR's Store metadata simplification.

Merge Conflicts

Conflicts in .pipelines/templates/package-store-package.yml and assets/AppxManifest.xml were caused by the release branch's singular .pipelines/store/PDP layout and older one-language manifest. Resolution preserved the release path, removed runtime AppStoreName mutation, reused the PDP root as the media root, removed the obsolete PDP-Media placeholder, and applied the localized manifest resource list.

Co-authored-by: Justin Chung <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 15d5aa39-2adb-4337-80ba-a1a8568d8fba
Copilot AI lite review requested due to automatic review settings September 21, 2026 22:45
@adityapatwardhan Aditya Patwardhan (adityapatwardhan) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Sep 21, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Add a null check before enumerating StoreBroker listing properties.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Simplifies Microsoft Store listing metadata for the release/v7.4.21 branch.

Changes:

  • Uses static PDP content with release-time substitutions.
  • Removes obsolete AppStoreName and media configuration.
  • Adds localized manifest resources and reuses the PDP root for media input.
File Description
assets/​AppxManifest.xml Adds supported resource languages.
.pipelines/​templates/​release-MSIX-Publish.yml Substitutes release-note placeholders during publishing.
.pipelines/​templates/​package-store-package.yml Removes obsolete PDP mutation and reuses the PDP root.
.pipelines/​store/​SBConfig.json Removes obsolete media settings.
.pipelines/​store/​PDP/​PDP/​en-US/​PDP.xml Defines static release-note content.
.pipelines/​store/​PDP/​PDP-Media/​en-US/​.gitkeep Removes the obsolete media placeholder.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +65 to +68
$listingProperties = @($json.listings.PSObject.Properties)
if ($listingProperties.Count -eq 0) {
throw "Store listings are missing from '$jsonPath'."
}
@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit 4fe79c0 into PowerShell:release/v7.4.21 Sep 22, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants