[Windows] Add dependency-resolution preflight for downstream builds - #14565
Draft
alex-harvey-z3q wants to merge 1 commit into
Draft
[Windows] Add dependency-resolution preflight for downstream builds#14565alex-harvey-z3q wants to merge 1 commit into
alex-harvey-z3q wants to merge 1 commit into
Conversation
alex-harvey-z3q
force-pushed
the
codex/14564-windows-resolver-preflight
branch
from
August 15, 2026 13:26
6fe8dc8 to
9650eff
Compare
alex-harvey-z3q
force-pushed
the
codex/14564-windows-resolver-preflight
branch
from
August 16, 2026 00:39
9650eff to
b3387f2
Compare
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.
Description
Adds an opt-in, non-installing Windows dependency-resolution preflight for downstream consumers to run from the exact revision they are about to build, before starting Packer.
-Imageis required so that the template and toolset being checked always match the intended build. Supported targets are:Windows2022Windows2025Windows2025VS2026Windows11Arm64Windows11VS2026Arm64The preflight:
GITHUB_TOKENwhen supplied to avoid API-rate-limit false failures;It does not create Azure resources, provision a VM, download installer payloads, or mutate the build machine.
-SkipNetworkruns the static checks only.The accompanying unit suite uses mocked endpoint responses and runs in the existing fast PowerShell-test workflow when the preflight changes.
Related issue:
Check list
Validation
Invoke-Pester -Output Detailed images/windows/scripts/preflight/tests(15 passed)-ImagevaluesBicepand toolset-pinnedcmake.install3.31.6Pester5.9.0