Skip to content

[release/v7.6] Separate Store Automation Service Endpoints, Resolve AppID - #26599

Merged
Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:release/v7.6from
adityapatwardhan:backport/release/v7.6/26210-dbc09a1aa
Dec 10, 2025
Merged

Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:release/v7.6from
adityapatwardhan:backport/release/v7.6/26210-dbc09a1aa

Conversation

@adityapatwardhan

Copy link
Copy Markdown
Member

Backport of #26210 to release/v7.6

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)

Updates MSIX packaging and publishing pipelines to improve channel selection logic and streamline package publishing to different channels (LTS, Stable, Preview). Essential for proper store automation workflow.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Original PR was tested with CI/CD pipeline validation. Backport verified by: 1. Successful cherry-pick with conflict resolution 2. Syntax validation of modified YAML files 3. Verification that separate service endpoints are properly configured for each channel

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Changes CI/CD pipeline configuration for store publishing, but isolates changes to specific channel handling. Risk is medium because it affects build infrastructure, but the changes are well-scoped and follow established patterns. The separation of service endpoints actually reduces risk by making channel-specific configurations more explicit.

Merge Conflicts

Resolved conflicts in .pipelines/templates/package-create-msix.yml due to differences in variable assignment approach and task structure between v7.6 branch and main branch. Applied the PR's intended changes to separate store publishing into distinct tasks with dedicated service endpoints.

Copilot AI review requested due to automatic review settings December 10, 2025 19:43
@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 Dec 10, 2025
@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit 6e97a08 into PowerShell:release/v7.6 Dec 10, 2025
39 checks passed
@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) deleted the backport/release/v7.6/26210-dbc09a1aa branch December 10, 2025 19:44

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 backports store automation improvements from the main branch to the v7.6 release branch. It separates Microsoft Store publishing into channel-specific service endpoints and adds dynamic AppID resolution to streamline MSIX package publishing workflows.

Key Changes:

  • Separates Store publishing tasks by channel with dedicated service endpoints (StoreAppPublish-Stable for LTS/Stable, StoreAppPublish-Preview for Preview)
  • Implements dynamic AppID resolution that sets the appropriate AppID based on the detected channel
  • Consolidates redundant publishing tasks from three separate tasks into two (one for Stable/LTS, one for Preview)

Reviewed changes

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

File Description
.pipelines/templates/release-MSIX-Publish.yml Adds AppID resolution logic, consolidates three publishing tasks into two with channel-specific service endpoints, refactors regex pattern for URL generation
.pipelines/templates/package-create-msix.yml Simplifies variable assignment, splits StoreBroker package creation into two tasks with channel-specific service endpoints

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

outSBName: 'PowerShellStorePackage'
pdpPath: '$(System.DefaultWorkingDirectory)/PowerShell/.pipelines/store/PDP/PDP'
pdpMediaPath: '$(System.DefaultWorkingDirectory)/PowerShell/.pipelines/store/PDP/PDP-Media'
condition: failed()

Copilot AI Dec 10, 2025

Copy link

Choose a reason for hiding this comment

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

The task has a duplicate condition attribute. Line 255 sets the condition to execute when STABLE or LTS is true, but line 264 overrides it with a failed() condition. This means the Stable/LTS StoreBroker package creation will only run when a previous task fails, which is incorrect. The duplicate condition on line 264 should be removed.

Suggested change
condition: failed()

Copilot uses AI. Check for mistakes.
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