Repository navigation
Move Wasm devcontainers to Ubuntu 26.04 - #136348
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c62d6794-320d-447b-b16d-e285ee5e2f16
|
Azure Pipelines: Successfully started running 1 pipeline(s). 15 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
akoeplinger
approved these changes
Oct 23, 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.
Summary
Update
8.0-nobleto the published11.0-resolutebase in the Dockerfile defaults and build arguments for the standard and multithreaded Wasm devcontainers. This is four line replacements across four files; no package, lifecycle, threading, architecture, Node-policy or V8-version changes are included.The image changes the bootstrap SDK, not the repository-pinned SDK/framework versions. Repository
.dotnet/.dotnet-tools-globalPATH precedence,vscodeuser, features, extensions, lifecycle hooks and ports are preserved.This addresses only the Wasm portion of D1 in #136313; it does not close that issue or complete D1. Android remains deferred, and the standard/libraries migration in #136336 is separate.
Validation
The actual published
mcr.microsoft.com/devcontainers/dotnet:11.0-resolutelinux/amd64 manifest was pulled and used for both builds:sha256:5ca289aefffd9a753687cfae8ea5c253a806b4e07dc27b54d088faed1fac69e8The resulting environments report Ubuntu 26.04.1,
dpkgarchitectureamd64anduname -mofx86_64. All local target-image validation was AMD64 emulation on an ARM64 Mac running Docker Desktop 4.47.0, not native x64 or native ARM64 validation.devcontainer build --platform linux/amd64using the external validation-only emulator setup described belowvscode; actual repository-local SDK PATH precedence, passwordless sudo and GitHub CLI feature 2.103.0lddfor d8, Chromium, Firefox and Firefoxlibxul.sobash -n .devcontainer/scripts/onCreateCommand.sh .devcontainer/scripts/postCreateCommand.sh;git diff --checkExisting browser package installation succeeded unchanged; no package substitutions were needed. The base bootstrap SDK reports
11.0.100-rc.1.26425.128; the repository SDK pin remains11.0.100-rc.1.26420.103. This did not install or execute the repository-local pinned SDK.Local emulator qualification
Unwrapped builds on this Docker Desktop host still fail at the unchanged
nvm install --lts: Resolute GNU tar needsopenat2, which the default AMD64 emulator returns asENOSYS. A nested archive reproducer and a direct x86-64 syscall probe confirmed the limitation.Successful builds used temporary, external CLI-generated Dockerfile wrappers with read-only BuildKit QEMU 10.2.3 mounts. The original Dockerfile RUN commands executed through QEMU; feature scripts used normal Desktop emulation with the identical GNU tar dispatched through a temporary QEMU mount. Original build instruction payloads were compared unchanged. The final images retained their original
/bin/bash -cshell and contained no emulator or tar shim. No Docker/binfmt/kernel settings, extractor, tar version or Node policy were changed. All wrappers and generated Dockerfiles stayed outside tracked source.Both final images were then started and all runtime smoke checks above ran under normal Docker Desktop AMD64 emulation, without an explicit QEMU invocation. Temporary validation containers/images and downloaded browser binaries were cleaned up; logs, DOM output and screenshots were retained locally outside the repository.
Remaining coverage and existing CI
Startup used temporary prebuilt-image/read-only-workspace overrides and
--skip-post-create --skip-post-attach. Neither lifecycle hook was executed or modified:onCreateCommandwould run the full Wasm build, andpostCreateCommandperforms a hard reset to the prebuilt SHA. Full Wasm/AOT builds, browser/debugger suites, native-x64 execution, hosted validation of this change, VS Code extension interaction and port forwarding remain unverified.These were minimal headless browser checks, not sandbox/GPU/desktop-session validation. Chromium used
--no-sandbox,--disable-gpuand--disable-dev-shm-usage; Firefox emitted a user-namespace sandbox warning but rendered successfully.The existing Dev Environment Prebuilds workflow actually builds the standard Wasm devcontainer and runs its creation hook on
main: confirmed prebuild job. That successful historical run used8.0-nobleand does not validate this patch. The 46 public prebuild runs inspected since 2026-09-22 covered standard Wasm and libraries only; no multithreaded Wasm prebuild was observed. Ordinary runtime/Wasm product CI is not a devcontainer image test, andruntime.ymlexplicitly excludes.devcontainer/*from its path triggers. No CI configuration changes or manual CI triggers are included.Note
This change and PR description were prepared with GitHub Copilot.