Skip to content

[release/v7.4] Backport Store publishing improvements#26401

Merged
TravisEz13 merged 4 commits intoPowerShell:release/v7.4from
TravisEz13:backport/release/v7.4/store-improvements
Nov 10, 2025
Merged

[release/v7.4] Backport Store publishing improvements#26401
TravisEz13 merged 4 commits intoPowerShell:release/v7.4from
TravisEz13:backport/release/v7.4/store-improvements

Conversation

@TravisEz13
Copy link
Member

Backport of Store automation improvements from master to release/v7.4

PR Summary

This PR backports Microsoft Store publishing infrastructure improvements from master (PRs #26210, #26180) to the release/v7.4 branch.

PR Context

These changes improve the Store automation pipeline with:

  • SDL security configuration (credential scanning and TSA)
  • Enhanced channel configuration with AppId fields
  • Improved XML namespace handling for PDP file updates
  • Updated Store Broker configuration
  • Better error logging and diagnostics
  • Separate publishing tasks for different channels (Preview/Stable/LTS)

PR Checklist

  • PR has a meaningful title
  • Summarized changes
  • User-facing changes documented (N/A - infrastructure only)
  • Tests added/updated (N/A - pipeline configuration)
  • Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
  • This PR is ready to merge and is not Work in Progress

Impact

Tooling Impact

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

This improves the Store publishing pipeline infrastructure for v7.4 releases.

Regression

  • Yes
  • No

This is infrastructure improvement, not a regression fix.

Testing

These changes align the v7.4 release branch with the Store publishing improvements already tested and validated in master.

Risk

  • High
  • Medium
  • Low

Medium - This modifies release pipeline infrastructure but uses the same patterns already validated in master. The changes improve reliability and security of Store publishing.

Backport Store automation improvements from master (PRs PowerShell#26210, PowerShell#26180):

- Add SDL security configuration variables (credscan and TSA)
- Add AppId fields to channel configurations
- Improve XML namespace handling for PDP file updates
- Update SBConfig.json with PDPInclude and targetPublishMode=Immediate
- Add verbose logging for PDP and SBConfig file contents
- Add StoreBroker failure log upload on failure
- Fix sbConfigPath variable reference
- Add LTS/STABLE/PREVIEW variables for downstream tasks
- Separate StoreBroker package tasks for Preview vs Stable/LTS channels

These changes improve the Microsoft Store publishing automation
infrastructure for the v7.4 release branch.
@TravisEz13 TravisEz13 requested a review from a team as a code owner November 6, 2025 22:23
Copilot AI review requested due to automatic review settings November 6, 2025 22:23
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

This PR enhances the MSIX packaging and Microsoft Store publishing pipeline with improved configuration management and error handling. The changes enable proper XML namespace handling for PDP files, add support for AppId configuration per channel, and improve debugging capabilities.

Key changes:

  • Added SDL configuration file paths for credential scanning and TSA options
  • Implemented proper XML namespace handling for PDP.xml manipulation
  • Enhanced Store publishing configuration with immediate publish mode and PDP file inclusion

Reviewed Changes

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

File Description
.pipelines/templates/package-create-msix.yml Added SDL config variables, AppId support per channel, fixed XML namespace handling for PDP updates, added verbose logging and failure log upload
.pipelines/store/SBConfig.json Changed publish mode to Immediate and added PDP.xml to include list

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jshigetomi jshigetomi added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Nov 10, 2025
@TravisEz13 TravisEz13 merged commit 08f8078 into PowerShell:release/v7.4 Nov 10, 2025
35 checks passed
@TravisEz13 TravisEz13 deleted the backport/release/v7.4/store-improvements branch November 10, 2025 20:10
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.

3 participants