Backport 2 PRs from v7.6 branch to v7.6.0 branch#27021
Backport 2 PRs from v7.6 branch to v7.6.0 branch#27021daxian-dbw merged 2 commits intoPowerShell:release/v7.6.0from
Conversation
There was a problem hiding this comment.
Pull request overview
Updates packaging and official pipeline configuration to improve build reliability/compatibility by removing a runtime network dependency for ICU version detection and standardizing Windows container/host settings on LTSC 2022.
Changes:
- Hardcode the ICU “build version” used to generate Debian libicu dependency ranges; remove the helper that fetched the latest ICU release from GitHub.
- Update official OneBranch pipeline Windows container images from LTSC2019 to LTSC2022.
- Add/align
featureFlags.WindowsHostVersion.Version: 2022where needed for OneBranch governed templates.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
tools/packaging/packaging.psm1 |
Removes dynamic ICU version probing and hardcodes the ICU build version used for dependency calculation. |
.pipelines/PowerShell-vPack-Official.yml |
Switches Windows container image to LTSC2022. |
.pipelines/PowerShell-Coordinated_Packages-Official.yml |
Switches Windows container image to LTSC2022 and sets Windows host version flag to 2022. |
.pipelines/MSIXBundle-vPack-Official.yml |
Switches Windows container image to LTSC2022 and sets Windows host version flag to 2022. |
| $MinICUVersion = 60 # runtime minimum supported | ||
| $BuildICUVersion = Get-IcuLatestRelease | ||
| $BuildICUVersion = 76 # current build version | ||
| $MaxICUVersion = $BuildICUVersion + 30 # headroom |
There was a problem hiding this comment.
$BuildICUVersion is now a hardcoded value (76). Since this needs to stay in sync with the ICU major version the bundled .NET runtime is built against, it would be helpful to add a short source-of-truth reference (e.g., where this version is defined/verified) or centralize it as a single constant so it’s less likely to become stale during future runtime updates.
PR Summary
Backport the following 2 PRs: