Repository navigation
Pin Linux image version to Ubuntu 24.04 for CI tests - #28307
Merged
Merged
Conversation
Aditya Patwardhan (adityapatwardhan)
requested review from
a team and
Justin Chung (jshigetomi)
as code owners
November 3, 2026 18:36
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Anam Navied (anamnavi)
approved these changes
Nov 3, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The added ci_build dependency causes the Linux packaging job to be skipped for packaging-only PRs, even though its action performs its own build.
1 open issue
What changed in this PR
Pins Linux CI to Ubuntu 24.04 to avoid the reported sudo -E incompatibility when ubuntu-latest moves to Ubuntu 26.
Changes:
- Replaces
ubuntu-latestwithubuntu-24.04throughout the Linux workflow, including the reusable xUnit workflow input. - Moves the Linux packaging job before the merge-readiness job and adds a
ci_builddependency.
| File | Description |
|---|---|
.github/workflows/linux-ci.yml |
Pins Ubuntu runners and updates the packaging job’s placement and dependencies. |
Review effort: Balanced
Aditya Patwardhan (adityapatwardhan)
enabled auto-merge (squash)
November 3, 2026 19:46
Travis Plunk (TravisEz13)
approved these changes
Nov 3, 2026
3 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

PR Summary
Changing the version from Ubuntu 24 -> Ubuntu 26 causes error in CI.
sudo: preserving the entire environment is not supported, '-E' is ignoredPR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header