Skip to content

Separate Store Automation Service Endpoints, Resolve AppID - #26210

Merged
Travis Plunk (TravisEz13) merged 9 commits into
masterfrom
UseSeparateStoreTasks
Oct 21, 2025
Merged

Travis Plunk (TravisEz13) merged 9 commits into
masterfrom
UseSeparateStoreTasks

Conversation

@jshigetomi

@jshigetomi Justin Chung (jshigetomi) commented Oct 16, 2025 •

Copy link
Copy Markdown
Collaborator

PR Summary

This pull request updates the MSIX packaging and publishing pipelines to improve channel selection logic and streamline how packages are published to different channels (LTS, Stable, Preview). The changes primarily focus on conditional task execution, variable management, and service endpoint selection for publishing tasks.

Channel selection and variable management:

  • Added explicit setting of the LTS, STABLE, and PREVIEW variables to control which ServiceEndpoint is used in subsequent tasks within .pipelines/templates/package-create-msix.yml.
  • Improved channel selection logic by assigning the correct AppID based on whether the build is LTS or Stable, and set it as a pipeline variable for use in publishing tasks. [1] [2]

Publishing task improvements:

  • Consolidated the publishing tasks for LTS and Stable channels into a single task, using the new AppID variable and the correct service endpoint (StoreAppPublish-Stable). The Preview channel now uses its own dedicated task and endpoint (StoreAppPublish-Preview). [1] [2]
  • Updated conditions for publishing tasks to use the new channel variables and improved endpoint selection, ensuring packages are published to the correct channel. [1] [2]

Minor improvements:

  • Simplified string replacement logic for changelog URL generation in the release pipeline.

PR Context

PR Checklist

@jshigetomi
Justin Chung (jshigetomi) marked this pull request as ready for review October 16, 2025 03:13
@jshigetomi
Justin Chung (jshigetomi) requested a review from a team as a code owner October 16, 2025 03:13
Copilot AI review requested due to automatic review settings October 21, 2025 16:50

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.

Pull Request Overview

This PR refactors the Azure DevOps pipeline to use dedicated service endpoints for each Microsoft Store release channel (LTS, Stable, Preview) instead of a shared endpoint, improving reliability and maintainability of the publishing process.

Key changes:

  • Introduced pipeline variables (LTS, STABLE, PREVIEW) to control task execution based on release channel
  • Consolidated LTS and Stable publishing into a single task using channel-specific logic
  • Updated service endpoints from generic StoreAppPublish-Private to channel-specific endpoints

Reviewed Changes

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

File Description
.pipelines/templates/release-MSIX-Publish.yml Consolidated LTS/Stable tasks, updated service endpoints, improved channel validation and AppID assignment
.pipelines/templates/package-create-msix.yml Split StoreBroker package creation into separate tasks per channel with dedicated endpoints

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jshigetomi Justin Chung (jshigetomi) changed the title Use Separate Tasks and Service Endpoints for Store Automation Separate Store Automation Service Endpoints, Resolve AppID Oct 21, 2025
@jshigetomi Justin Chung (jshigetomi) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Oct 21, 2025

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.

Pull Request Overview

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


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

Pull Request Overview

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


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@TravisEz13
Travis Plunk (TravisEz13) merged commit dbc09a1 into master Oct 21, 2025
1 check passed
@TravisEz13
Travis Plunk (TravisEz13) deleted the UseSeparateStoreTasks branch October 21, 2025 19:43
Travis Plunk (TravisEz13) added a commit to TravisEz13/PowerShell that referenced this pull request Nov 6, 2025
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.
SIRMARGIN pushed a commit to SIRMARGIN/PowerShell that referenced this pull request Dec 12, 2025
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.4.x-Done Backport-7.5.x-Done Backport-7.6.x-Done 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.

5 participants