Skip to content

Conversation

@adityapatwardhan
Copy link
Member

Backport of #26414 to release/v7.6

Triggered by @adityapatwardhan 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)

This change moves package validation from the release pipeline to the package pipeline, improving sequencing and ensuring validation occurs earlier in the process. This is required to maintain proper build pipeline functionality on the release branch.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Original PR was validated through CI pipeline testing. Change affects build/release automation and has been running successfully on main branch. Backport verified by cherry-pick success and will be validated through CI on the release branch.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Medium risk because this changes CI/CD pipeline structure, but the change is well-tested on main branch and is necessary to maintain pipeline consistency across branches. The risk is mitigated by the fact that this only moves validation to an earlier stage, reducing overall complexity.

Copilot AI review requested due to automatic review settings December 2, 2025 23:02
@adityapatwardhan adityapatwardhan requested review from a team and jshigetomi as code owners December 2, 2025 23:02
@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Dec 2, 2025
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 move package validation from the release pipeline to the package pipeline, ensuring validation occurs earlier in the CI/CD process. This improves the sequencing of operations by validating packages immediately after they are uploaded to blob storage, rather than waiting for the release pipeline to start.

Key Changes:

  • Relocated the validatePackages stage from release pipeline to package pipeline
  • Updated stage dependencies to maintain correct execution order
  • Minor formatting improvement (trailing whitespace removal)

Reviewed changes

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

File Description
.pipelines/PowerShell-Release-Official.yml Removed validatePackages stage and its dependency reference from UpdateChangeLog stage; fixed trailing whitespace
.pipelines/PowerShell-Packages-Official.yml Added validatePackages stage with dependency on upload stage to validate packages immediately after upload

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

@daxian-dbw daxian-dbw merged commit d54c2d1 into PowerShell:release/v7.6 Dec 2, 2025
39 checks passed
@adityapatwardhan adityapatwardhan deleted the backport/release/v7.6/26414-1934b837a branch December 3, 2025 02:24
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.

3 participants