Skip to content

Backport 2 PRs from v7.6 branch to v7.6.0 branch#27021

Merged
daxian-dbw merged 2 commits intoPowerShell:release/v7.6.0from
daxian-dbw:bp-760
Mar 12, 2026
Merged

Backport 2 PRs from v7.6 branch to v7.6.0 branch#27021
daxian-dbw merged 2 commits intoPowerShell:release/v7.6.0from
daxian-dbw:bp-760

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

@daxian-dbw daxian-dbw requested review from a team and jshigetomi as code owners March 12, 2026 22:29
Copilot AI review requested due to automatic review settings March 12, 2026 22:29
@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 Mar 12, 2026
Copy link
Copy Markdown
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

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: 2022 where 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.

Comment on lines 2154 to 2156
$MinICUVersion = 60 # runtime minimum supported
$BuildICUVersion = Get-IcuLatestRelease
$BuildICUVersion = 76 # current build version
$MaxICUVersion = $BuildICUVersion + 30 # headroom
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

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

$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.

Copilot uses AI. Check for mistakes.
@daxian-dbw daxian-dbw merged commit d4febbd into PowerShell:release/v7.6.0 Mar 12, 2026
41 of 42 checks passed
@daxian-dbw daxian-dbw deleted the bp-760 branch March 12, 2026 22:50
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.

2 participants