Skip to content

[Infra] Update to .NET 11 stable - #8066

Merged
martincostello merged 10 commits into
open-telemetry:mainfrom
martincostello:dotnet-11-stable
Nov 10, 2026
Merged

martincostello merged 10 commits into
open-telemetry:mainfrom
martincostello:dotnet-11-stable

Conversation

@martincostello

@martincostello martincostello commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Changes

  • Update all pre-release versions for .NET 11 to stable release versions.
  • Remove now-redundant workarounds for pre-release issues.

Merge requirement checklist

  • CONTRIBUTING guidelines followed (license requirements, successful build/tests, etc.)
  • Tests added/updated
  • CHANGELOG.md file(s) updated for non-trivial changes
  • Changes in public API reviewed (if applicable)
  • AI usage disclosure:
    • No AI used
    • AI-assisted
    • Bulk AI-generated
  • I have the experience and knowledge necessary to understand, review, and validate all content in this PR1

Footnotes

  1. Yes, I can answer maintainer questions about the content of this PR without using AI. ↩

- Update all pre-release versions for .NET 11 to stable release versions.
- Remove now-redundant workarounds for pre-release issues.
@github-actions github-actions Bot added the infra Infra work - CI/CD, code coverage, linters label Oct 29, 2026
Comment thread src/OpenTelemetry.Api/CHANGELOG.md Resolved
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Oct 29, 2026
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-11-10 21:31 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@github-actions github-actions Bot added documentation Documentation related pkg:OpenTelemetry.Api Issues related to OpenTelemetry.Api NuGet package pkg:OpenTelemetry.Exporter.OpenTelemetryProtocol Issues related to OpenTelemetry.Exporter.OpenTelemetryProtocol NuGet package labels Oct 29, 2026
@codecov

codecov Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.04%. Comparing base (b3e5d35) to head (0e71615).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8066      +/-   ##
==========================================
- Coverage   93.05%   93.04%   -0.01%     
==========================================
  Files         402      402              
  Lines       23524    23524              
  Branches     4398     4398              
==========================================
- Hits        21891    21889       -2     
- Misses       1114     1115       +1     
- Partials      519      520       +1     
Flag Coverage Δ
unittests-PowerShellScripts 88.99% <ø> (ø)
unittests-Project-Experimental 93.13% <ø> (-0.04%) ⬇️
unittests-Project-Stable 93.12% <ø> (-0.04%) ⬇️
unittests-Solution 93.12% <ø> (-0.03%) ⬇️
unittests-UnstableCoreLibraries-Experimental 44.68% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

@martincostello martincostello added the keep-open Prevents issues and pull requests being closed as stale label Nov 2, 2026
@martincostello martincostello added this to the v1.21.0 milestone Nov 9, 2026
- Add container digests for 11.0 stable releases.
- Update 10.0 packages to 10.0.15.
Fix new `XA1044` warnings.
Disable `ValidateSceneManifest` to fix `MT7199` error.
@martincostello
martincostello marked this pull request as ready for review November 10, 2026 21:07
@martincostello
martincostello requested a review from a team as a code owner November 10, 2026 21:07
Copilot AI balanced review requested due to automatic review settings November 10, 2026 21:07
@martincostello
martincostello added this pull request to the merge queue Nov 10, 2026

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.

🟡 Changes recommended

The Android and MAUI net10.0-android Release configurations leave Mono AOT enabled while trimming is disabled, causing XA1030 build failures unless RunAOTCompilation=false is retained conditionally.

1 open issue
What changed in this PR

Updates OpenTelemetry .NET's build, test, and example infrastructure to .NET 11 stable.

Changes:

  • Updates SDK, package, and container versions to .NET 11 stable, with accompanying .NET 10 patch updates.
  • Removes prerelease workarounds and adjusts mobile test-app build settings.
  • Documents the DiagnosticSource 11.0.0 dependency update.
File Description
test/​OpenTelemetry.Maui.TestApp/​OpenTelemetry.Maui.TestApp.csproj Replaces the AOT opt-out with a ReadyToRun opt-out.
test/​OpenTelemetry.Instrumentation.W3cTraceContext.Tests/​Dockerfile Updates pinned SDK images for propagation tests.
test/​OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/​IntegrationTest/​Dockerfile Updates pinned SDK images for exporter integration tests.
test/​OpenTelemetry.Apple.TestApp/​OpenTelemetry.Apple.TestApp.csproj Disables scene-manifest validation.
test/​OpenTelemetry.AotCompatibility.TestApp/​OpenTelemetry.AotCompatibility.TestApp.csproj Removes the optimized-publish workaround.
test/​OpenTelemetry.Android.TestApp/​OpenTelemetry.Android.TestApp.csproj Replaces the AOT opt-out with a ReadyToRun opt-out.
src/​OpenTelemetry.Api/​CHANGELOG.md Records the DiagnosticSource dependency update.
global.json Selects the stable .NET 11 SDK.
examples/​MicroserviceExample/​WorkerService/​Dockerfile Updates SDK and runtime images.
examples/​MicroserviceExample/​WebApi/​Dockerfile Updates SDK and runtime images.
Directory.Packages.props Updates centralized .NET package versions.
build/​Tests.targets Removes the ARM64 test-parallelism workaround.
.oss-scanner/​Dockerfile Uses the stable .NET 11 SDK image.

Review effort: Balanced

Merged via the queue into open-telemetry:main with commit 11c74cf Nov 10, 2026
62 checks passed
This was referenced Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Documentation related infra Infra work - CI/CD, code coverage, linters keep-open Prevents issues and pull requests being closed as stale pkg:OpenTelemetry.Api Issues related to OpenTelemetry.Api NuGet package pkg:OpenTelemetry.Exporter.OpenTelemetryProtocol Issues related to OpenTelemetry.Exporter.OpenTelemetryProtocol NuGet package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants