Repository navigation
[release/11.0] Run Components E2E in Azure Linux 4 Chrome image - #70839
richlander wants to merge 1 commit into
Conversation
Use the published version-matching browser image and its packaged Node 24, preserving all runtime/filter/count gates. Isolate the existing release11 node_modules cache by container OS and architecture. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
One or more custom setup steps configured for this repository failed during this Copilot code review run: Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review. Note You can configure setup steps for Copilot code review separately from Copilot cloud agent with a |
There was a problem hiding this comment.
🔵 Needs a closer look
Hosted aspnetcore-components-e2e qualification on this release/11.0 head remains pending, leaving full-suite compatibility and public/internal agent-container setup unverified by static checks and standalone browser smoke tests.
No open issues 🎉
What changed in this PR
Moves the release/11.0 Components browser E2E job to the published .NET 11 Azure Linux 4 Chrome container without changing shipping images or Helix coverage.
Changes:
- Replaces the Ubuntu host opt-in with the Chrome container and uses its packaged Node 24.
- Adds
azurelinux4-x64to exact and fallback cache keys to prevent reuse of Ubuntu-generated native modules. - Preserves runtime legs, test filters, minimum test counts, and result handling.
Hosted qualification through aspnetcore-components-e2e remains pending.
| File | Description |
|---|---|
.azure/pipelines/jobs/components-e2e-test-job.yml |
Selects the Chrome container, disables Node installation, and isolates the Node cache. |
Review effort: Balanced
[release/11.0] Run Components E2E in Azure Linux 4 Chrome image
Use the published .NET 11 Azure Linux 4 Chrome image for browser tests.
Description
Replace the Components E2E job's Ubuntu 22.04 host opt-in with
azurelinux-4.0-net11.0-build-aot-test-chrome-amd64. Use its packaged Node 24 rather than installing Node 24.14.1 over it. The shared template already forwards the container in public/internal pipelines and uses existing Azure Linux 3 build-host pools when the Ubuntu opt-in is absent.Add
"azurelinux4-x64"to both the exact and fallbacknode_modulescache keys. Otherwise the existingnode24/Agent.OS=Linuxkey could restore Ubuntu-generated native modules into the new container. Disabling the shared Node installation also disables its separate old-version node cache; retain the E2E job's cache and miss-handling logic.Only
.azure/pipelines/jobs/components-e2e-test-job.ymlchanges. Preserve CoreCLR (UseMonoRuntime=false), Mono client/WebAssembly and Mono server legs, filters, minimum test counts (500/1000/1300), restore/build arguments, quarantine handling and result publication. The internal entrypoint remains unchanged. This is test tooling, not a change to shipping build images, sysroots or AL3-primary release Helix coverage. Ubuntu Helix testing remains on 26.04 LTS in #70800.The images were published after dotnet/dotnet-buildtools-prereqs-docker#1838 restored sudo. This is the branch-matching consumer follow-up to #70689, not a backport of its test-source changes. No product bug is closed by this pipeline-only change.
Validation
python3 /home/rich/.copilot/session-state/4830e609-9e05-4d58-835f-2eecf31c4b62/files/validate-release-browser-consumers.py- passed for both release branches. YAML parsing/source-contract checks confirm the intended parameters, public/internal forwarding, disabled UseNode gate, cache isolation and unchanged entrypoints/other steps. This is not Azure's hosted template expansion.docker pull mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-4.0-net11.0-build-aot-test-chrome-amd64- passed; published digestsha256:2326c41ee3e0f260c4ebff0951c2e0e2a5dd269aca5a8761c4390cae3a3d0d18. Packaged-tool execution passed: sudo 1.9.17, libatomic, Node 24.22.3, npm 11.19.1, Git 2.56.1, PowerShell 7.7.0 and matching Chrome/ChromeDriver 158.0.8127.36.docker run --rm --cpus=1 --network none -v /home/rich/.copilot/session-state/4830e609-9e05-4d58-835f-2eecf31c4b62/files/probe-published-release-chrome.mjs:/probe.mjs:ro --entrypoint bash mcr.microsoft.com/dotnet-buildtools/prereqs@sha256:2326c41ee3e0f260c4ebff0951c2e0e2a5dd269aca5a8761c4390cae3a3d0d18 -ec 'useradd -m -u 10001 browser-probe; sudo -n -H -u browser-probe env TEST_CHROME_BINARY="$TEST_CHROME_BINARY" CHROMEWEBDRIVER="$CHROMEWEBDRIVER" node /probe.mjs'The first probe attempt omitted those two environment variables across sudo and failed before starting ChromeDriver (
undefined/chromedriver). Explicitly forwarding them fixed the probe; no image or repository workaround was needed.git diff --check- passed before commit.git merge-tree --write-tree HEAD f19512a757f2a658a851b5f6af3f4eb0660edbc3at image head9d34cec3909128a8c22c10590d18e304611a6463- passed against [release/11.0] Use Azure Linux 3 primary tests on Azure Linux 4 hosts #70800; conflict-free, with the consumer file preserved exactly.Hosted qualification pending: run
aspnetcore-components-e2eon this head before treating the migration as qualified. Local checks do not prove branch-specific application behavior, locale expectations or full hosted agent/container setup.