Skip to content

Separate Store Automation Service Endpoints, Resolve AppID#26210

Merged
TravisEz13 merged 9 commits intomasterfrom
UseSeparateStoreTasks
Oct 21, 2025
Merged

Separate Store Automation Service Endpoints, Resolve AppID#26210
TravisEz13 merged 9 commits intomasterfrom
UseSeparateStoreTasks

Conversation

@jshigetomi
Copy link
Collaborator

@jshigetomi jshigetomi commented Oct 16, 2025

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 jshigetomi marked this pull request as ready for review October 16, 2025 03:13
@jshigetomi 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
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 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 jshigetomi changed the title Use Separate Tasks and Service Endpoints for Store Automation Separate Store Automation Service Endpoints, Resolve AppID Oct 21, 2025
@jshigetomi 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
@jshigetomi jshigetomi requested a review from Copilot October 21, 2025 17:16
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

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.

@jshigetomi jshigetomi requested a review from Copilot October 21, 2025 17:22
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

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 TravisEz13 self-assigned this Oct 21, 2025
@TravisEz13 TravisEz13 merged commit dbc09a1 into master Oct 21, 2025
33 checks passed
@TravisEz13 TravisEz13 deleted the UseSeparateStoreTasks branch October 21, 2025 19:43
pwshBot pushed a commit to pwshBot/PowerShell that referenced this pull request Oct 21, 2025
pwshBot pushed a commit to pwshBot/PowerShell that referenced this pull request Oct 21, 2025
pwshBot pushed a commit to pwshBot/PowerShell that referenced this pull request Oct 29, 2025
TravisEz13 pushed a commit to TravisEz13/PowerShell that referenced this pull request Nov 5, 2025
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.
adityapatwardhan pushed a commit to adityapatwardhan/PowerShell that referenced this pull request Dec 10, 2025
SIRMARGIN pushed a commit to SIRMARGIN/PowerShell that referenced this pull request Dec 12, 2025
kilasuit pushed a commit to kilasuit/PowerShell that referenced this pull request Jan 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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