Skip to content

Use Azure Linux 4 for Linux Helix container hosts - #70522

Merged
richlander merged 5 commits into
mainfrom
users/richlander/azurelinux-4-helix
Nov 12, 2026
Merged

richlander merged 5 commits into
mainfrom
users/richlander/azurelinux-4-helix

Conversation

@richlander

@richlander richlander commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Use Azure Linux 4 for ASP.NET Core Helix containers

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Use Azure Linux 4 for Linux Helix container hosts

Description

  • Move the Linux Helix container hosts from Azure Linux 3 VMs to Azure Linux 4 VMs, retaining Azure Linux 3 as secondary Azure Linux image coverage.
  • Update the AlmaLinux queue constant to AlmaLinux 10, Fedora 44 to 45, and Alpine 3.23 to 3.24.
  • Remove obsolete AlmaLinux Helix skip attributes and the now-unused constant; preserve the Ubuntu skips in the certificate tests.
  • Move the net11.0 Azure Linux build and cross-compilation containers to Azure Linux 4 across official, unofficial, and public pipelines.
  • Exception: the source-build job stays on azurelinux-3.0-net11.0-cross-amd64 because Arcade's source-build step fails with bash 5.3 on Azure Linux 4 (MSB1008 from a trailing \). The Arcade fix is Remove trailing line continuation in source-build step arcade#17800; the follow-up to move source-build is Move source-build container to Azure Linux 4 after Arcade trailing-backslash fix #70524.

Validation:

  • ./eng/build.sh --projects "$PWD/src/Security/Authentication/test/Microsoft.AspNetCore.Authentication.Test.csproj" — passed.
  • ./eng/build.sh --projects "$PWD/src/Servers/Kestrel/test/InMemory.FunctionalTests/InMemory.FunctionalTests.csproj" — passed.
  • dotnet test --no-build ...InMemory.FunctionalTests.csproj --filter "FullyQualifiedName~HttpsConnectionMiddlewareTests.CanRenegotiate|FullyQualifiedName~HttpsConnectionMiddlewareTests.RenegotiateForClientCertificateOnPostWithoutBufferingThrows|FullyQualifiedName~HttpsConnectionMiddlewareTests.RenegotationFailureCausesConnectionClose" — 7 passed, 1 macOS-only skip.
  • dotnet test --no-build ...Microsoft.AspNetCore.Authentication.Test.csproj --filter "FullyQualifiedName~VerifyExpiredSelfSignedFails|FullyQualifiedName~VerifyNotYetValidSelfSignedFails" — 2 passed.
  • python3 YAML parsing for .azure/pipelines/ci.yml, .azure/pipelines/ci-unofficial.yml, and .azure/pipelines/ci-public.yml — passed.
  • All changed Azure Linux 4 net11.0 build and cross image tags were confirmed present in MCR.
  • git diff --check — passed.

No tracking issue identified; no issue is linked.

Note

This pull request was prepared with GitHub Copilot.

richlander and others added 3 commits November 11, 2026 15:45
Move Linux Helix container hosts from Azure Linux 3 to Azure Linux 4,
make Azure Linux 4 the primary Azure Linux container target, and keep
Azure Linux 3 as secondary coverage. Build containers stay on Azure Linux 3.

Co-authored-by: Copilot <[email protected]>
Copilot AI balanced review requested due to automatic review settings November 12, 2026 00:00
@github-actions github-actions Bot added area-auth Includes: authentication, authorization, OAuth, OIDC, and access token validation area-commandlinetools Includes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPI area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions labels Nov 12, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

Switch the net11.0 Azure Linux build and cross-compilation prereq containers to Azure Linux 4 across official, unofficial, and public pipelines.\n\nCo-authored-by: Copilot <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human validation of the full Helix matrix is needed because reported local tests and ordinary PR checks do not cover Azure Linux 4 queue/image availability, payload startup, or distro-specific TLS/X.509 behavior.

No open issues 🎉

What changed in this PR

Moves Linux x64 Helix container hosts to Azure Linux 4 while retaining Azure Linux 3 image coverage and leaving Azure Linux 3 build containers unchanged.

Changes:

  • Adds Azure Linux 4 image coverage and updates Alpine to 3.24 and Fedora to 45.
  • Extends existing project-level exclusions to the retained Azure Linux 3 queue.
  • Removes obsolete AlmaLinux test skips and their unused constant, preserving Ubuntu certificate-test skips.
File Description
src/​Testing/​src/​xunit/​HelixConstants.cs Removes the unused AlmaLinux 9 queue constant.
src/​Servers/​Kestrel/​test/​InMemory.FunctionalTests/​HttpsConnectionMiddlewareTests.cs Removes AlmaLinux skips from TLS renegotiation tests.
src/​Security/​Authentication/​test/​CertificateTests.cs Removes AlmaLinux skips while retaining Ubuntu exclusions.
src/​ProjectTemplates/​test/​Templates.Mvc.Tests/​Templates.Mvc.Tests.csproj Preserves MVC template-test exclusions for Azure Linux 3.
eng/​targets/​Helix.targets Adds the retained Azure Linux 3 queue to existing exclusions.
eng/​targets/​Helix.Common.props Updates container hosts and distribution images, and retains Azure Linux 3 in the matrix.

Review effort: Balanced

Bash 5.3 in the Azure Linux 4 cross image turns the trailing line
continuation in Arcade's source-build step into a literal `\` argument
(MSB1008). Stay on Azure Linux 3 until dotnet/arcade#17800 flows in.
Tracked by #70524.

Co-authored-by: Copilot <[email protected]>
@PureWeen

Copy link
Copy Markdown
Member

/review

@richlander
richlander merged commit d0b6b6f into main Nov 12, 2026
31 checks passed
@richlander
richlander deleted the users/richlander/azurelinux-4-helix branch November 12, 2026 17:33
@github-actions

Copy link
Copy Markdown
Contributor

✅ No documentation PR was created.

Confidence that documentation is needed: 2%

No docs needed: the PR is build/CI and test infrastructure only (confident, not an evidence gap).

Documentation surfaces considered

  • Conceptual article: Not required — Changes are limited to CI pipelines and Helix test queue constants; the HelixConstants.cs signal is a test-infrastructure constant, not user configuration.
  • Migration guidance: Not required — No upgrade action for users.
  • Breaking change: Not required — No compatibility impact on public APIs or behavior.

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — ac8076fe Deployed Nov 12, 2026 by richlander via conclusion #310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-auth Includes: authentication, authorization, OAuth, OIDC, and access token validation area-commandlinetools Includes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPI area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants