Skip to content

[release/v7.5] Add version in description and pass store task on failure.#26896

Open
TravisEz13 wants to merge 1 commit intoPowerShell:release/v7.5from
TravisEz13:backport/release/v7.5/26885-7311378cf
Open

[release/v7.5] Add version in description and pass store task on failure.#26896
TravisEz13 wants to merge 1 commit intoPowerShell:release/v7.5from
TravisEz13:backport/release/v7.5/26885-7311378cf

Conversation

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Feb 25, 2026

Backport of #26885 to release/v7.5

Triggered by @TravisEz13 on behalf of @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)

Improves the v7.5 MSIX release pipeline by adding version information to app description and enabling error continuation in store publish tasks for better error handling and release visibility.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Verified by running MSIX release pipeline on main branch. Changes to store publish tasks have been tested and confirmed to improve pipeline resilience and release note visibility without breaking existing functionality.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

This modifies critical MSIX release pipeline steps. However, the changes have been tested in main and are localized to improving store publishing error handling and release note visibility. The variable syntax update aligns with best practices.

Merge Conflicts

One conflict in .pipelines/templates/release-MSIX-Publish.yml resolved by updating variable syntax from $(VAR) to variables['VAR'] and adding continueOnError: true to both Stable/LTS and Preview store publish tasks, matching the intent of the original PR.

Copilot AI review requested due to automatic review settings February 25, 2026 21:23
@TravisEz13 TravisEz13 requested a review from a team as a code owner February 25, 2026 21:23
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Feb 25, 2026
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 backports changes from #26885 to the release/v7.5 branch, enhancing the MSIX release pipeline by adding version information to the Microsoft Store app description and modifying error handling for store publish tasks.

Changes:

  • Adds PowerShell version number to the top of the MSIX package description for better user visibility
  • Updates variable syntax from $(VAR) to variables['VAR'] in condition expressions for runtime variables
  • Adds continueOnError: true to both Stable/LTS and Preview store publishing tasks

displayName: 'Publish StoreBroker Package (Stable/LTS)'
condition: and(ne('${{ parameters.skipMSIXPublish }}', 'true'), or(eq('$(STABLE)', 'true'), eq('$(LTS)', 'true')))
condition: and(ne('${{ parameters.skipMSIXPublish }}', 'true'), or(eq(variables['STABLE'], 'true'), eq(variables['LTS'], 'true')))
continueOnError: true
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

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

Using continueOnError: true on a critical publishing task is concerning. According to the PR description, this is added "because it always fails," but this suggests an underlying issue that should be investigated rather than suppressed.

Publishing to the Microsoft Store is a critical operation - if it's failing, the pipeline should alert on that failure so it can be investigated. Using continueOnError: true means the pipeline will appear to succeed even if publishing actually fails, which could result in releases not being published without anyone noticing.

Recommended approach:

  1. Investigate why the store-publish task is failing (authentication issues, API problems, configuration errors, etc.)
  2. Fix the root cause
  3. Only use continueOnError: true for non-critical diagnostic steps, not for critical operations like publishing

If there's a legitimate reason why this task should continue on error (e.g., the store has manual approval steps that cause the task to timeout but the submission still succeeds), that should be documented in a comment explaining the rationale.

Copilot generated this review using guidance from repository custom instructions.
displayName: 'Publish StoreBroker Package (Preview)'
condition: and(ne('${{ parameters.skipMSIXPublish }}', 'true'), eq('$(PREVIEW)', 'true'))
condition: and(ne('${{ parameters.skipMSIXPublish }}', 'true'), eq(variables['PREVIEW'], 'true'))
continueOnError: true
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

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

Same concern as the Stable/LTS publish task - using continueOnError: true on a critical publishing operation masks failures and could result in releases not being published without detection.

This should either:

  1. Have the root cause of failures investigated and fixed, OR
  2. Include a comment explaining why continuing on error is necessary for this specific task

Copilot generated this review using guidance from repository custom instructions.
@microsoft-github-policy-service microsoft-github-policy-service bot added the Review - Needed The PR is being reviewed label Mar 5, 2026
@microsoft-github-policy-service
Copy link
Contributor

This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days.
Maintainer, please provide feedback and/or mark it as Waiting on Author

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 Review - Needed The PR is being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants