[release/v7.4] Improve ADO package build and validation across platforms #26405
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport of #26398 to release/v7.4
Triggered by @TravisEz13 on behalf of @TravisEz13
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
Tooling Impact
Improves ADO (Azure DevOps) package build and validation for macOS across platforms. Adds better diagnostic logging for artifact uploads and moves macOS package validation tests to a more appropriate location. These improvements help troubleshoot build issues on release branches.
Regression
This is a tooling/infrastructure improvement, not fixing a regression.
Testing
Original PR verified by:
Backport verified by:
Risk
Medium risk: Changes build/packaging infrastructure and test locations, but improvements are valuable for maintaining build health on release branch. The enhanced logging helps diagnose issues faster. Changes have been validated in master branch and adapted appropriately for v7.4.
Merge Conflicts Resolution
Summary
One file had conflicts during cherry-pick due to code structure differences between branches.
Detailed Resolutions
File:
.pipelines/templates/mac-package-build.ymlWrite-Verbose "Looking for ... packages...")All resolutions verified by: