Repository navigation
Helix SDK: treat 'armarch' queues as arm64 for DotNetCliRuntime selection - #17181
Merged
missymessa merged 2 commits intoJul 24, 2026
Merged
Conversation
…tion Queues named with the 'armarch' suffix (e.g. dnceng's ubuntu.2204.armarch) matched neither 'arm64' nor 'arm32' in DotNetCli.props, so IncludeDotNetCli fell through to the linux-x64 default and shipped an x64 .NET CLI to an arm64 host, producing 'dotnet: exec format error'. Container variants worked only because their 'arm64v8' suffix happened to match 'arm64'. Treat 'armarch' as an alias for 'arm64' (aarch64) across the windows, osx, alpine, and generic Linux branches. Fixes dotnet/dnceng#5018 Co-authored-by: Copilot <[email protected]> Copilot-Session: a6d29074-06bd-4b3c-b815-31cf361de842
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Helix SDK’s DotNetCliRuntime auto-selection logic so queues suffixed with armarch (e.g. ubuntu.2204.armarch) are treated as arm64, preventing the SDK from shipping an x64 .NET CLI to arm64 hosts (which causes exec format error).
Changes:
- Treat
armarchas an alias forarm64across Windows, macOS, Alpine, and generic Linux queue matching inDotNetCli.props. - Add an in-file note explaining why
armarchneeds special handling, with a link to the tracked issue.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
akoeplinger
approved these changes
Jul 24, 2026
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.
Problem
The Helix SDK's
DotNetCli.propsselects theIncludeDotNetClipayload runtime by substring-matching the target queue name. Queues named with thearmarchsuffix (e.g. dnceng'subuntu.2204.armarch) contain neitherarm64norarm32, so they fall through to theOtherwise(linux-x64) branch. That ships an x64 .NET CLI to an arm64 host, sodotnetfails withdotnet: exec format error.Container variants of the same queues (e.g.
[email protected]/dotnet-buildtools/prereqs:ubuntu-22.04-helix-arm64v8) worked only by accident, because thearm64v8suffix happens to match thearm64substring check and getslinux-arm64.This is the root cause of dotnet/dnceng#5018, which forced dnceng to disable host-VM E2E test execution on all
*.armarchqueues.Fix
Treat
armarchas an alias forarm64(aarch64) across the windows, osx, alpine, and generic Linux branches of the runtime-selectionChoose.armarchqueues in dnceng are always aarch64/glibc, and the change is additive (only affects queue names that previously fell through to the x64 default).Testing
The
DotNetCliRuntimeselection in this props file has no existing unit coverage. Verified by inspection thatubuntu.2204.armarchnow resolves tolinux-arm64while existingarm64/arm32/x64queue names are unaffected.Fixes dotnet/dnceng#5018