Skip to content

fix(compile): default non-1es pool vmImage to ubuntu-22.04#578

Merged
jamesadevine merged 1 commit into
mainfrom
copilot/update-default-vm-image
May 16, 2026
Merged

fix(compile): default non-1es pool vmImage to ubuntu-22.04#578
jamesadevine merged 1 commit into
mainfrom
copilot/update-default-vm-image

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 16, 2026

Summary

Non-1ES pipelines were implicitly defaulting to pool.vmImage: ubuntu-latest; this updates the default to ubuntu-22.04 to make generated pool configuration explicit and stable. The change aligns compiler defaults, tests, and user-facing docs/prompts.

  • Compiler default
    • Changed non-1ES default VM image constant from ubuntu-latest to ubuntu-22.04 in pool resolution logic.
  • Type-level default + tests
    • Updated PoolConfig::default() and unit tests that assert default/non-specified VM image behavior.
  • Codemod/docs consistency
    • Updated codemod comments/tests and front-matter/docs/prompt references that describe the non-1ES default value.
# Before (implicit non-1ES default)
pool:
  vmImage: ubuntu-latest

# After
pool:
  vmImage: ubuntu-22.04

Test plan

Validated via existing Rust test/build/lint pipelines for this repo.

Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/5e8d9cb1-410b-4f30-92d5-1c4468e92ef6

Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
@jamesadevine jamesadevine marked this pull request as ready for review May 16, 2026 21:16
@jamesadevine jamesadevine merged commit b841998 into main May 16, 2026
@jamesadevine jamesadevine deleted the copilot/update-default-vm-image branch May 16, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants