Repository navigation
Align container benchmarks with .NET 11 and .NET 10 runtimes - #2221
Merged
LoopedBard3 merged 2 commits intoNov 2, 2026
Merged
Conversation
Pin development container SDK and runtime tags to .NET 11 and publish net11.0. Update the current baseline images, target framework, and scenario labels to .NET 10. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f10506d-f9a1-4447-a4fd-c7ea708a4fed
Contributor
Author
|
Planning on updating these to 12 once available. |
There was a problem hiding this comment.
🔵 Needs a closer look
Static alignment is consistent, but container builds and startup smoke tests remain unverified and require validation before approval.
No open issues 🎉
What changed in this PR
Aligns container benchmark publish targets with their SDK and runtime images to prevent startup failures caused by major-version mismatches.
Changes:
- Moves standard, Alpine, and Alpine composite benchmarks to
net11.0with explicit .NET 11 nightly image tags. - Updates the current baseline to .NET 10 SDK/runtime images and
net10.0. - Renames baseline pipeline labels and recorded scenario identifiers to reflect .NET 10.
| File | Description |
|---|---|
docker/container-matrix/Middleware.dockerfile |
Aligns the standard benchmark with .NET 11. |
docker/container-matrix/Middleware-current.dockerfile |
Advances the current baseline to .NET 10. |
docker/container-matrix/Middleware-composite.dockerfile |
Aligns the composite benchmark with .NET 11. |
docker/container-matrix/Middleware-alpine.dockerfile |
Aligns the Alpine benchmark with .NET 11. |
build/containers-scenarios.yml |
Updates baseline labels and scenario identifiers to .NET 10. |
Review effort: Balanced
LoopedBard3
commented
Oct 21, 2026
| @@ -1,11 +1,10 @@ | |||
| FROM mcr.microsoft.com/dotnet/nightly/sdk:latest AS build | |||
Contributor
Author
There was a problem hiding this comment.
Do we want to keep running alpine?
DrewScoggins
approved these changes
Nov 2, 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
net11.0using .NET 11 nightly SDK/runtime images.11.0instead oflatestto prevent future major-version mismatches.Middleware-current.dockerfileto .NET 10 SDK/runtime images andnet10.0.Motivation
The standard container publishes a .NET 10 application, but the floating nightly runtime image now contains only .NET 11. The application exits before startup because major-version roll-forward is not enabled. The same mismatch repeats across JSON, Fortunes, and DATAS matrix entries.
Observed in benchmarks-ci-azure run 20261021.1.
Validation
git diff --checkpassed.Based on current upstream main (
9dd895b5).