Skip to content

[release/v7.7.0] Pin Linux image version to Ubuntu 24.04 for CI tests - #28357

Merged
Justin Chung (jshigetomi) merged 1 commit into
release/v7.7.0from
backport/release/v7.7.0/28307-ffa8402a1
Nov 5, 2026
Merged

Justin Chung (jshigetomi) merged 1 commit into
release/v7.7.0from
backport/release/v7.7.0/28307-ffa8402a1

Conversation

@jshigetomi

Copy link
Copy Markdown
Collaborator

Backport of #28307 to release/v7.7.0

Triggered by Justin Chung (@jshigetomi) on behalf of Aditya Patwardhan (@adityapatwardhan)

Original CL Label: CL-Test

/cc @PowerShell/powershell-maintainers

Impact

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Pins Linux build, test, infrastructure, and packaging jobs to Ubuntu 24.04 to restore CI after the Ubuntu 26 runner transition.

Customer Impact

  • Customer reported
  • Found internally

Regression

  • Yes
  • No

Linux CI failures followed the ubuntu-latest runner image transition from Ubuntu 24.04 to Ubuntu 26, with sudo reporting that preserving the entire environment is not supported and -E is ignored.

Testing

Verified ten ubuntu-latest to ubuntu-24.04 replacements in .github/workflows/linux-ci.yml. The backport cherry-picked without conflicts. Local workflow execution was not performed; backport CI must pass before merge.

Risk

  • High
  • Medium
  • Low

Affects Linux CI infrastructure across build, test, and packaging jobs, but changes only runner selection to Ubuntu 24.04 while preserving the release branch job layout and dependencies.

@jshigetomi
Justin Chung (jshigetomi) requested a review from a team as a code owner November 5, 2026 19:01
@jshigetomi Justin Chung (jshigetomi) added the CL-Test Indicates that a PR should be marked as a test change in the Change Log label Nov 5, 2026
Copilot AI balanced review requested due to automatic review settings November 5, 2026 19:01
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues block the change pinning Linux CI runners to Ubuntu 24.04.

No open issues 🎉

What changed in this PR

Backports #28307 to release/v7.7.0, pinning Linux CI to Ubuntu 24.04 to address the reported sudo -E failure after the Ubuntu 26 runner transition.

Changes:

  • Replaces ten ubuntu-latest runner selections with ubuntu-24.04, covering build, test, infrastructure, and packaging jobs.
  • Preserves existing job steps, conditions, and dependencies.
File Description
.github/​workflows/​linux-ci.yml Pins Linux job runners and the reusable xUnit workflow’s runner input to Ubuntu 24.04.

Review effort: Balanced

@jshigetomi
Justin Chung (jshigetomi) merged commit e29710a into release/v7.7.0 Nov 5, 2026
49 of 51 checks passed
@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) deleted the backport/release/v7.7.0/28307-ffa8402a1 branch November 5, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-Test Indicates that a PR should be marked as a test change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants