Skip to content

Add support for .NET 10 GA#7804

Merged
andrewlock merged 28 commits intomasterfrom
andrew/dotnet-10
Nov 13, 2025
Merged

Add support for .NET 10 GA#7804
andrewlock merged 28 commits intomasterfrom
andrew/dotnet-10

Conversation

@andrewlock
Copy link
Member

@andrewlock andrewlock commented Nov 12, 2025

Summary of changes

Update CI to use GA version of .NET SDK

Reason for change

.NET 10 was released yesterday, and we want to use it!

Implementation details

  • Follow our docs to update to .NET 10
  • Update the VMs
  • Fix profiler integration test (broken by a change in the stack trace in .NET 10 on x64)
  • Add some missing/additional smoke tests
    • Had to remove some again because realised the OSs haven't actually updated their repos to .NET 10 GA
  • Reinstate the broken automapper exploration tests
    • Nope, they're still broken 🤷‍♂️

Test coverage

Will run the full installer test suite to make sure everything looks ok

We have a weird failure with xUnit, that's only happening on .NET Core 3.1, Windows, x64, where Environment.OSVersion.VersionString is apparently returning the wrong string. Discussed with @tonyredondo and we have no idea what's going on 😅 Feels like something broken in the VM, but seeing it happen somewhat consistently, so we might just skip it and come back to it...

Error Message:
12:24:57 [DBG]    Expected string to be "Microsoft Windows NT 10.0.20348.0" with a length of 33, but "Microsoft Windows NT 6.2.9200.0" has a length of 31, differs near "6.2" (index 21).
12:24:57 [DBG]   Stack Trace:
12:24:57 [DBG]      at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
12:24:57 [DBG]    at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
12:24:57 [DBG]    at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
12:24:57 [DBG]    at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
12:24:57 [DBG]    at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstLengthDifferences()
12:24:57 [DBG]    at FluentAssertions.Primitives.StringValidator.Validate()
12:24:57 [DBG]    at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
12:24:57 [DBG]    at Datadog.Trace.ClrProfiler.IntegrationTests.CI.TestingFrameworkTest.AssertTargetSpanEqual(MockSpan targetSpan, String key, String value) in D:\a\_work\1\s\tracer\test\Datadog.Trace.ClrProfiler.IntegrationTests\CI\TestingFrameworkTest.cs:line 110
12:24:57 [DBG]    at Datadog.Trace.ClrProfiler.IntegrationTests.CI.TestingFrameworkTest.CheckRuntimeValues(MockSpan targetSpan) in D:\a\_work\1\s\tracer\test\Datadog.Trace.ClrProfiler.IntegrationTests\CI\TestingFrameworkTest.cs:line 133
12:24:57 [DBG]    at Datadog.Trace.ClrProfiler.IntegrationTests.CI.XUnitTests.SubmitTraces(String packageVersion) in D:\a\_work\1\s\tracer\test\Datadog.Trace.ClrProfiler.IntegrationTests\CI\XUnitTests.cs:line 96
12:24:57 [DBG]    at Datadog.Trace.ClrProfiler.IntegrationTests.CI.PipesXUnitTests.SubmitTraces(String packageVersion) in D:\a\_work\1\s\tracer\test\Datadog.Trace.ClrProfiler.IntegrationTests\CI\PipesXUnitTests.cs:line 31

Other details

https://datadoghq.atlassian.net/browse/LANGPLAT-840

Related PRs:

@andrewlock andrewlock requested review from a team as code owners November 12, 2025 13:50
@andrewlock andrewlock added area:builds project files, build scripts, pipelines, versioning, releases, packages area:tests unit tests, integration tests labels Nov 12, 2025
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Nov 12, 2025

⚠️ Tests

⚠️ Warnings

❄️ 1 New flaky test detected

ShouldGetAllocationSamplesViaEtw from Datadog.Profiler.IntegrationTests.Allocations.AllocationsProfilerTest (Datadog)

Actual:   Falseilure

ℹ️ Info

🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 0d0b6b8 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

// // Workaround for https://github.com/dotnet/runtime/issues/95653
// EnvironmentVariables = new[] { ("DD_CLR_ENABLE_INLINING", "0") },
//},
ExplorationTestName.automapper => new ExplorationTestDescription()
Copy link
Member

@lucaspimentel lucaspimentel Nov 12, 2025

Choose a reason for hiding this comment

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

The PR description says the AutoMapper exploration tests are still broken. Do we actually want to enable them?

Copy link
Member Author

Choose a reason for hiding this comment

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

I have a follow up commit to remove them again, just letting this run finish first to see if there's anything else to fix at the same time 🙂

new StackFrame("|lm:Samples.ExceptionGenerator |ns:Samples.ExceptionGenerator |ct:ParallelExceptionsScenario |cg: |fn:ThrowExceptions |fg: |sg:(object state)"));
}
}
else if (framework =="net10.0")
Copy link
Collaborator

Choose a reason for hiding this comment

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

thx for doing that

Copy link
Collaborator

@bouwkast bouwkast left a comment

Choose a reason for hiding this comment

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

Thanks!


// .NET Core 3.1+, but is it _too_ high?
if(runtimeInformation.major_version <= 9)
if(runtimeInformation.major_version <= 10)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we make note of this that SSI will now automatically support .NET 10?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think putting in the release notes is good enough, but we can ping internal teams too. Were you thinking about anything else?

@andrewlock andrewlock requested a review from a team as a code owner November 12, 2025 16:09
@dd-trace-dotnet-ci-bot
Copy link

dd-trace-dotnet-ci-bot bot commented Nov 12, 2025

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (7804) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration74.88 ± (74.74 - 75.30) ms75.28 ± (75.23 - 75.80) ms+0.5%✅⬆️
.NET Framework 4.8 - Bailout
duration80.26 ± (80.09 - 80.68) ms79.33 ± (79.27 - 79.87) ms-1.2%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1123.29 ± (1128.50 - 1139.84) ms1131.74 ± (1133.10 - 1145.47) ms+0.8%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms23.00 ± (22.93 - 23.07) ms22.99 ± (22.90 - 23.09) ms-0.0%
process.time_to_main_ms88.88 ± (88.45 - 89.31) ms87.42 ± (87.02 - 87.82) ms-1.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.90 - 10.91) MB10.89 ± (10.89 - 10.89) MB-0.2%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.98 ± (22.91 - 23.05) ms23.00 ± (22.92 - 23.08) ms+0.1%✅⬆️
process.time_to_main_ms89.69 ± (89.25 - 90.14) ms89.16 ± (88.78 - 89.54) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.95 - 10.95) MB10.94 ± (10.94 - 10.95) MB-0.1%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms221.99 ± (220.26 - 223.73) ms221.25 ± (219.71 - 222.79) ms-0.3%
process.time_to_main_ms555.11 ± (553.79 - 556.44) ms551.72 ± (550.56 - 552.89) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed52.64 ± (52.62 - 52.66) MB52.44 ± (52.42 - 52.46) MB-0.4%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.2%
.NET 6 - Baseline
process.internal_duration_ms21.81 ± (21.74 - 21.89) ms21.80 ± (21.74 - 21.87) ms-0.1%
process.time_to_main_ms76.57 ± (76.10 - 77.04) ms76.30 ± (75.98 - 76.62) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.59 ± (10.59 - 10.59) MB10.62 ± (10.61 - 10.62) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.75 ± (21.69 - 21.81) ms21.67 ± (21.61 - 21.73) ms-0.4%
process.time_to_main_ms77.68 ± (77.37 - 77.99) ms77.21 ± (76.91 - 77.51) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.65 ± (10.65 - 10.65) MB10.65 ± (10.65 - 10.66) MB+0.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms208.55 ± (207.26 - 209.83) ms209.47 ± (208.01 - 210.92) ms+0.4%✅⬆️
process.time_to_main_ms523.19 ± (521.21 - 525.17) ms512.53 ± (511.37 - 513.70) ms-2.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed51.77 ± (51.74 - 51.79) MB51.53 ± (51.51 - 51.56) MB-0.5%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.1%
.NET 8 - Baseline
process.internal_duration_ms20.02 ± (19.94 - 20.09) ms19.82 ± (19.75 - 19.88) ms-1.0%
process.time_to_main_ms75.54 ± (75.17 - 75.90) ms74.56 ± (74.26 - 74.86) ms-1.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.64 ± (7.64 - 7.65) MB7.64 ± (7.64 - 7.65) MB+0.0%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.93 ± (19.87 - 20.00) ms19.87 ± (19.82 - 19.93) ms-0.3%
process.time_to_main_ms77.05 ± (76.71 - 77.39) ms76.06 ± (75.78 - 76.33) ms-1.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.70 ± (7.70 - 7.71) MB7.72 ± (7.71 - 7.73) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms195.85 ± (194.88 - 196.81) ms192.60 ± (191.63 - 193.57) ms-1.7%
process.time_to_main_ms503.13 ± (501.93 - 504.32) ms488.00 ± (486.95 - 489.05) ms-3.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed39.27 ± (39.23 - 39.31) MB38.83 ± (38.79 - 38.87) MB-1.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.0%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration194.55 ± (194.23 - 195.06) ms192.99 ± (192.69 - 193.47) ms-0.8%
.NET Framework 4.8 - Bailout
duration198.04 ± (197.79 - 198.82) ms197.58 ± (197.36 - 198.38) ms-0.2%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1175.20 ± (1180.77 - 1191.43) ms1167.95 ± (1171.84 - 1180.98) ms-0.6%
.NET Core 3.1 - Baseline
process.internal_duration_ms191.48 ± (191.01 - 191.95) ms188.62 ± (188.27 - 188.97) ms-1.5%
process.time_to_main_ms81.46 ± (81.22 - 81.70) ms80.87 ± (80.68 - 81.06) ms-0.7%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.04 ± (16.02 - 16.07) MB16.16 ± (16.13 - 16.19) MB+0.7%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.2%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms188.52 ± (188.13 - 188.92) ms187.73 ± (187.41 - 188.05) ms-0.4%
process.time_to_main_ms81.93 ± (81.77 - 82.10) ms82.03 ± (81.90 - 82.17) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.10 - 16.15) MB16.17 ± (16.13 - 16.20) MB+0.2%✅⬆️
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.5%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms395.43 ± (392.67 - 398.19) ms395.61 ± (393.08 - 398.15) ms+0.0%✅⬆️
process.time_to_main_ms519.47 ± (518.73 - 520.21) ms515.34 ± (514.70 - 515.98) ms-0.8%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed62.88 ± (62.73 - 63.03) MB62.75 ± (62.59 - 62.90) MB-0.2%
runtime.dotnet.threads.count29 ± (29 - 30)29 ± (29 - 29)-0.1%
.NET 6 - Baseline
process.internal_duration_ms192.37 ± (192.07 - 192.67) ms191.92 ± (191.64 - 192.21) ms-0.2%
process.time_to_main_ms69.97 ± (69.82 - 70.13) ms69.87 ± (69.72 - 70.02) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.28 ± (16.19 - 16.37) MB16.23 ± (16.13 - 16.33) MB-0.3%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.5%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms192.05 ± (191.71 - 192.40) ms191.39 ± (191.05 - 191.72) ms-0.3%
process.time_to_main_ms70.90 ± (70.77 - 71.03) ms70.84 ± (70.70 - 70.98) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.32 ± (16.23 - 16.42) MB16.20 ± (16.06 - 16.33) MB-0.8%
runtime.dotnet.threads.count20 ± (19 - 20)19 ± (19 - 20)-1.8%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms411.99 ± (409.15 - 414.83) ms408.44 ± (405.66 - 411.22) ms-0.9%
process.time_to_main_ms490.79 ± (489.81 - 491.77) ms480.72 ± (480.14 - 481.29) ms-2.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed62.43 ± (62.29 - 62.56) MB62.05 ± (61.91 - 62.19) MB-0.6%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 30)+0.2%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms190.71 ± (190.35 - 191.06) ms190.13 ± (189.77 - 190.48) ms-0.3%
process.time_to_main_ms69.35 ± (69.18 - 69.52) ms69.30 ± (69.10 - 69.50) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.74 ± (11.71 - 11.76) MB11.80 ± (11.76 - 11.83) MB+0.5%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.3%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms191.44 ± (191.02 - 191.86) ms189.62 ± (189.31 - 189.93) ms-0.9%
process.time_to_main_ms70.69 ± (70.55 - 70.84) ms70.15 ± (70.03 - 70.27) ms-0.8%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.77 ± (11.74 - 11.80) MB11.84 ± (11.81 - 11.87) MB+0.6%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.1%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms364.11 ± (362.73 - 365.50) ms360.98 ± (359.76 - 362.20) ms-0.9%
process.time_to_main_ms468.85 ± (468.22 - 469.49) ms458.08 ± (457.52 - 458.64) ms-2.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.56 ± (50.53 - 50.59) MB50.26 ± (50.23 - 50.29) MB-0.6%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)+0.3%✅⬆️
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7804) - mean (76ms)  : 71, 80
    master - mean (75ms)  : 71, 79

    section Bailout
    This PR (7804) - mean (80ms)  : 75, 84
    master - mean (80ms)  : 76, 85

    section CallTarget+Inlining+NGEN
    This PR (7804) - mean (1,139ms)  : 1043, 1235
    master - mean (1,134ms)  : 1053, 1215

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7804) - mean (118ms)  : 111, 125
    master - mean (119ms)  : 111, 128

    section Bailout
    This PR (7804) - mean (119ms)  : 113, 126
    master - mean (120ms)  : 112, 128

    section CallTarget+Inlining+NGEN
    This PR (7804) - mean (814ms)  : 770, 858
    master - mean (819ms)  : 764, 874

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7804) - mean (105ms)  : 98, 112
    master - mean (105ms)  : 97, 114

    section Bailout
    This PR (7804) - mean (106ms)  : 99, 113
    master - mean (106ms)  : 101, 112

    section CallTarget+Inlining+NGEN
    This PR (7804) - mean (756ms)  : 709, 803
    master - mean (769ms)  : 706, 832

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7804) - mean (103ms)  : 96, 110
    master - mean (104ms)  : 97, 111

    section Bailout
    This PR (7804) - mean (105ms)  : 99, 110
    master - mean (105ms)  : 98, 113

    section CallTarget+Inlining+NGEN
    This PR (7804) - mean (713ms)  : 677, 748
    master - mean (741ms)  : 706, 775

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7804) - mean (193ms)  : 189, 197
    master - mean (195ms)  : 190, 199

    section Bailout
    This PR (7804) - mean (198ms)  : 192, 203
    master - mean (198ms)  : 193, 204

    section CallTarget+Inlining+NGEN
    This PR (7804) - mean (1,176ms)  : 1110, 1243
    master - mean (1,186ms)  : 1110, 1262

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7804) - mean (278ms)  : 273, 283
    master - mean (281ms)  : 272, 291

    section Bailout
    This PR (7804) - mean (278ms)  : 273, 283
    master - mean (279ms)  : 272, 285

    section CallTarget+Inlining+NGEN
    This PR (7804) - mean (950ms)  : 905, 995
    master - mean (953ms)  : 906, 1001

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7804) - mean (270ms)  : 266, 274
    master - mean (270ms)  : 266, 275

    section Bailout
    This PR (7804) - mean (270ms)  : 266, 275
    master - mean (271ms)  : 265, 278

    section CallTarget+Inlining+NGEN
    This PR (7804) - mean (922ms)  : 871, 972
    master - mean (939ms)  : 882, 997

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7804) - mean (269ms)  : 265, 274
    master - mean (270ms)  : 264, 276

    section Bailout
    This PR (7804) - mean (269ms)  : 266, 273
    master - mean (272ms)  : 266, 277

    section CallTarget+Inlining+NGEN
    This PR (7804) - mean (851ms)  : 831, 870
    master - mean (863ms)  : 838, 887

Loading

@andrewlock andrewlock merged commit 0e3270e into master Nov 13, 2025
171 of 172 checks passed
@andrewlock andrewlock deleted the andrew/dotnet-10 branch November 13, 2025 09:57
@github-actions github-actions bot added this to the vNext-v3 milestone Nov 13, 2025
e-n-0 pushed a commit that referenced this pull request Dec 2, 2025
## Summary of changes

Update CI to use GA version of .NET SDK

## Reason for change

.NET 10 was released yesterday, and we want to use it!

## Implementation details

- Follow our docs to update to .NET 10
- Update the VMs
- Fix profiler integration test (broken by a change in the stack trace
in .NET 10 on x64)
- Add some missing/additional smoke tests
- Had to remove some again because realised the OSs haven't _actually_
updated their repos to .NET 10 GA
- [x] Reinstate [the broken automapper exploration
tests](271ad61)
  - Nope, they're still broken 🤷‍♂️  

## Test coverage

Will run the full installer test suite to make sure everything looks ok

We have a _weird_ failure with xUnit, that's _only_ happening on .NET
Core 3.1, Windows, x64, where `Environment.OSVersion.VersionString` is
apparently returning the wrong string. Discussed with @tonyredondo and
we have no idea what's going on 😅 Feels like something broken in the VM,
but seeing it happen somewhat consistently, so we might just skip it and
come back to it...

```
Error Message:
12:24:57 [DBG]    Expected string to be "Microsoft Windows NT 10.0.20348.0" with a length of 33, but "Microsoft Windows NT 6.2.9200.0" has a length of 31, differs near "6.2" (index 21).
12:24:57 [DBG]   Stack Trace:
12:24:57 [DBG]      at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
12:24:57 [DBG]    at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
12:24:57 [DBG]    at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
12:24:57 [DBG]    at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
12:24:57 [DBG]    at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstLengthDifferences()
12:24:57 [DBG]    at FluentAssertions.Primitives.StringValidator.Validate()
12:24:57 [DBG]    at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
12:24:57 [DBG]    at Datadog.Trace.ClrProfiler.IntegrationTests.CI.TestingFrameworkTest.AssertTargetSpanEqual(MockSpan targetSpan, String key, String value) in D:\a\_work\1\s\tracer\test\Datadog.Trace.ClrProfiler.IntegrationTests\CI\TestingFrameworkTest.cs:line 110
12:24:57 [DBG]    at Datadog.Trace.ClrProfiler.IntegrationTests.CI.TestingFrameworkTest.CheckRuntimeValues(MockSpan targetSpan) in D:\a\_work\1\s\tracer\test\Datadog.Trace.ClrProfiler.IntegrationTests\CI\TestingFrameworkTest.cs:line 133
12:24:57 [DBG]    at Datadog.Trace.ClrProfiler.IntegrationTests.CI.XUnitTests.SubmitTraces(String packageVersion) in D:\a\_work\1\s\tracer\test\Datadog.Trace.ClrProfiler.IntegrationTests\CI\XUnitTests.cs:line 96
12:24:57 [DBG]    at Datadog.Trace.ClrProfiler.IntegrationTests.CI.PipesXUnitTests.SubmitTraces(String packageVersion) in D:\a\_work\1\s\tracer\test\Datadog.Trace.ClrProfiler.IntegrationTests\CI\PipesXUnitTests.cs:line 31
```


## Other details

https://datadoghq.atlassian.net/browse/LANGPLAT-840

Related PRs:
- DataDog/images#8001
- DataDog/benchmarking-platform#210
- DataDog/benchmarking-platform#211
- DataDog/serverless-tools#83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages area:tests unit tests, integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants