Skip to content

[release/v7.5] Move package validation to package pipeline#26816

Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from
daxian-dbw:backport/release/v7.5/26414-1934b837a
Feb 13, 2026
Merged

[release/v7.5] Move package validation to package pipeline#26816
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from
daxian-dbw:backport/release/v7.5/26414-1934b837a

Conversation

@daxian-dbw
Copy link
Member

Backport of #26414 to release/v7.5

Triggered by @daxian-dbw on behalf of @TravisEz13

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)

Moves package validation stage from release to package pipeline for better workflow

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Successfully tested in 7.4 and 7.6 releases. Validation now occurs immediately after package build stage.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Moves package validation stage from release pipeline to package pipeline for earlier validation. Successfully backported to 7.4 and 7.6 branches.

Merge Conflicts

Conflict in PowerShell-Release-Official.yml resolved - stage dependency differences

@daxian-dbw daxian-dbw requested a review from a team as a code owner February 13, 2026 23:01
Copilot AI review requested due to automatic review settings February 13, 2026 23:01
@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Feb 13, 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 #26414 to the release/v7.5 branch, moving the package validation stage from the release pipeline to the package build pipeline. This enables earlier validation of package names immediately after packages are built and uploaded, rather than waiting until the release pipeline runs.

Changes:

  • Added validatePackages stage to the package build pipeline (PowerShell-Packages-Official.yml) with dependency on the upload stage
  • Removed validatePackages stage from the release pipeline (PowerShell-Release-Official.yml) and updated stage dependencies
  • Resolved merge conflicts in PublishMsix stage by adding setReleaseTagAndChangelog dependency and using environment variable

Reviewed changes

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

File Description
.pipelines/PowerShell-Packages-Official.yml Added validatePackages stage to run package name validation immediately after upload stage
.pipelines/PowerShell-Release-Official.yml Removed validatePackages stage, updated UpdateChangeLog dependencies, and resolved PublishMsix stage merge conflicts

@daxian-dbw daxian-dbw merged commit 579b53e into PowerShell:release/v7.5 Feb 13, 2026
21 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.5/26414-1934b837a branch February 13, 2026 23:04
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