-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI Visibility] Adding nullability checks #6374
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 445742 Passed, 2716 Skipped, 20h 24m 20.18s Total Time New Flaky Tests (2)
|
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing the following branches/commits: 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 shown in red. The following thresholds were used for comparing the execution times:
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). gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6374) - mean (69ms) : 66, 71
. : milestone, 69,
master - mean (69ms) : 66, 72
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6374) - mean (985ms) : 962, 1009
. : milestone, 985,
master - mean (977ms) : 957, 996
. : milestone, 977,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6374) - mean (109ms) : 107, 111
. : milestone, 109,
master - mean (108ms) : 106, 110
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (6374) - mean (684ms) : 669, 699
. : milestone, 684,
master - mean (677ms) : 661, 692
. : milestone, 677,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6374) - mean (92ms) : 90, 93
. : milestone, 92,
master - mean (91ms) : 89, 94
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6374) - mean (634ms) : 618, 651
. : milestone, 634,
master - mean (634ms) : 616, 652
. : milestone, 634,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6374) - mean (190ms) : 186, 194
. : milestone, 190,
master - mean (190ms) : 186, 195
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6374) - mean (1,100ms) : 1066, 1133
. : milestone, 1100,
master - mean (1,090ms) : 1059, 1121
. : milestone, 1090,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6374) - mean (276ms) : 272, 280
. : milestone, 276,
master - mean (277ms) : 273, 281
. : milestone, 277,
section CallTarget+Inlining+NGEN
This PR (6374) - mean (872ms) : 843, 901
. : milestone, 872,
master - mean (870ms) : 839, 901
. : milestone, 870,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6374) - mean (266ms) : 261, 271
. : milestone, 266,
master - mean (266ms) : 260, 271
. : milestone, 266,
section CallTarget+Inlining+NGEN
This PR (6374) - mean (855ms) : 826, 885
. : milestone, 855,
master - mean (849ms) : 812, 887
. : milestone, 849,
|
Throughput/Crank Report ⚡Throughput results for AspNetCoreSimpleController comparing the following branches/commits: Cases where throughput results for the PR are worse than latest master (5% drop or greater), results are shown in red. Note that these results are based on a single point-in-time result for each branch. For full results, see one of the many, many dashboards! gantt
title Throughput Linux x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6374) (11.168M) : 0, 11167859
master (11.163M) : 0, 11163279
benchmarks/2.9.0 (11.033M) : 0, 11032866
section Automatic
This PR (6374) (7.243M) : 0, 7243432
master (7.379M) : 0, 7378518
benchmarks/2.9.0 (7.786M) : 0, 7785853
section Trace stats
master (7.698M) : 0, 7697685
section Manual
master (11.208M) : 0, 11207970
section Manual + Automatic
This PR (6374) (6.726M) : 0, 6726276
master (6.848M) : 0, 6847878
section DD_TRACE_ENABLED=0
master (10.300M) : 0, 10300258
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6374) (9.560M) : 0, 9559821
master (9.614M) : 0, 9613662
benchmarks/2.9.0 (9.495M) : 0, 9494821
section Automatic
This PR (6374) (6.252M) : 0, 6251602
master (6.420M) : 0, 6420484
section Trace stats
master (6.620M) : 0, 6620303
section Manual
master (9.598M) : 0, 9598372
section Manual + Automatic
This PR (6374) (5.842M) : 0, 5841724
master (5.968M) : 0, 5968390
section DD_TRACE_ENABLED=0
master (8.911M) : 0, 8911128
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6374) (9.820M) : 0, 9819671
master (9.949M) : 0, 9949075
benchmarks/2.9.0 (10.020M) : 0, 10019592
section Automatic
This PR (6374) (6.419M) : 0, 6418501
master (6.538M) : 0, 6537814
benchmarks/2.9.0 (7.255M) : 0, 7255257
section Trace stats
master (7.075M) : 0, 7075474
section Manual
master (9.758M) : 0, 9757921
section Manual + Automatic
This PR (6374) (6.095M) : 0, 6094811
master (6.151M) : 0, 6151047
section DD_TRACE_ENABLED=0
master (9.404M) : 0, 9403695
|
Benchmarks Report for tracer 🐌Benchmarks for #6374 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ More allocations
|
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 | 41.7 KB | 41.96 KB | 256 B | 0.61% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 560μs | 2.91μs | 15.1μs | 0.579 | 0 | 0 | 41.67 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 679μs | 2.14μs | 8.29μs | 0.338 | 0 | 0 | 41.7 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 882μs | 4.02μs | 15.6μs | 8.25 | 2.6 | 0.434 | 53.32 KB |
#6374 | WriteAndFlushEnrichedTraces |
net6.0 | 560μs | 2.69μs | 11.7μs | 0.534 | 0 | 0 | 41.74 KB |
#6374 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 677μs | 3.49μs | 16μs | 0.324 | 0 | 0 | 41.96 KB |
#6374 | WriteAndFlushEnrichedTraces |
net472 | 857μs | 4.36μs | 20μs | 8.08 | 2.55 | 0.425 | 53.28 KB |
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteNonQuery |
net6.0 | 1.29μs | 0.622ns | 2.41ns | 0.0141 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.78μs | 1.85ns | 7.16ns | 0.0142 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
net472 | 2.11μs | 1.75ns | 6.54ns | 0.156 | 0.00105 | 0 | 987 B |
#6374 | ExecuteNonQuery |
net6.0 | 1.26μs | 1.26ns | 4.89ns | 0.0142 | 0 | 0 | 1.02 KB |
#6374 | ExecuteNonQuery |
netcoreapp3.1 | 1.75μs | 0.897ns | 3.47ns | 0.0141 | 0 | 0 | 1.02 KB |
#6374 | ExecuteNonQuery |
net472 | 2.02μs | 1.2ns | 4.47ns | 0.156 | 0.00102 | 0 | 987 B |
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.1μs | 0.635ns | 2.38ns | 0.0137 | 0 | 0 | 976 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.62μs | 0.584ns | 2.02ns | 0.013 | 0 | 0 | 976 B |
master | CallElasticsearch |
net472 | 2.62μs | 1.98ns | 7.66ns | 0.158 | 0 | 0 | 995 B |
master | CallElasticsearchAsync |
net6.0 | 1.21μs | 0.559ns | 2.16ns | 0.0133 | 0 | 0 | 952 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.64μs | 1.27ns | 4.56ns | 0.0139 | 0 | 0 | 1.02 KB |
master | CallElasticsearchAsync |
net472 | 2.59μs | 0.914ns | 3.3ns | 0.167 | 0 | 0 | 1.05 KB |
#6374 | CallElasticsearch |
net6.0 | 1.16μs | 0.755ns | 2.62ns | 0.013 | 0 | 0 | 976 B |
#6374 | CallElasticsearch |
netcoreapp3.1 | 1.52μs | 0.969ns | 3.63ns | 0.013 | 0 | 0 | 976 B |
#6374 | CallElasticsearch |
net472 | 2.59μs | 1.72ns | 6.43ns | 0.158 | 0 | 0 | 995 B |
#6374 | CallElasticsearchAsync |
net6.0 | 1.27μs | 0.487ns | 1.82ns | 0.0134 | 0 | 0 | 952 B |
#6374 | CallElasticsearchAsync |
netcoreapp3.1 | 1.62μs | 0.97ns | 3.63ns | 0.0137 | 0 | 0 | 1.02 KB |
#6374 | CallElasticsearchAsync |
net472 | 2.67μs | 1.12ns | 4.35ns | 0.166 | 0 | 0 | 1.05 KB |
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteAsync |
net6.0 | 1.31μs | 1.13ns | 4.36ns | 0.0137 | 0 | 0 | 952 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.65μs | 0.829ns | 2.99ns | 0.0123 | 0 | 0 | 952 B |
master | ExecuteAsync |
net472 | 1.8μs | 0.627ns | 2.43ns | 0.145 | 0 | 0 | 915 B |
#6374 | ExecuteAsync |
net6.0 | 1.23μs | 0.504ns | 1.88ns | 0.0135 | 0 | 0 | 952 B |
#6374 | ExecuteAsync |
netcoreapp3.1 | 1.71μs | 0.675ns | 2.53ns | 0.0129 | 0 | 0 | 952 B |
#6374 | ExecuteAsync |
net472 | 1.89μs | 1.53ns | 5.74ns | 0.145 | 0 | 0 | 915 B |
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendAsync |
net6.0 | 4.52μs | 10.4ns | 40.1ns | 0.0314 | 0 | 0 | 2.31 KB |
master | SendAsync |
netcoreapp3.1 | 5.34μs | 1.79ns | 6.46ns | 0.0373 | 0 | 0 | 2.85 KB |
master | SendAsync |
net472 | 7.35μs | 2.71ns | 10.5ns | 0.494 | 0 | 0 | 3.12 KB |
#6374 | SendAsync |
net6.0 | 4.32μs | 2.77ns | 10.7ns | 0.0325 | 0 | 0 | 2.31 KB |
#6374 | SendAsync |
netcoreapp3.1 | 5.48μs | 1.86ns | 6.97ns | 0.0384 | 0 | 0 | 2.85 KB |
#6374 | SendAsync |
net472 | 7.29μs | 1.08ns | 4.17ns | 0.496 | 0 | 0 | 3.12 KB |
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 1.51μs | 3.83ns | 14.8ns | 0.0227 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.25μs | 0.994ns | 3.72ns | 0.0226 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
net472 | 2.61μs | 0.894ns | 3.35ns | 0.249 | 0 | 0 | 1.57 KB |
#6374 | EnrichedLog |
net6.0 | 1.56μs | 0.273ns | 0.944ns | 0.0226 | 0 | 0 | 1.64 KB |
#6374 | EnrichedLog |
netcoreapp3.1 | 2.12μs | 0.931ns | 3.36ns | 0.0222 | 0 | 0 | 1.64 KB |
#6374 | EnrichedLog |
net472 | 2.66μs | 3.15ns | 11.8ns | 0.25 | 0 | 0 | 1.57 KB |
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 118μs | 209ns | 811ns | 0.0595 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 125μs | 154ns | 598ns | 0 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 153μs | 164ns | 637ns | 0.689 | 0.23 | 0 | 4.46 KB |
#6374 | EnrichedLog |
net6.0 | 121μs | 185ns | 715ns | 0 | 0 | 0 | 4.28 KB |
#6374 | EnrichedLog |
netcoreapp3.1 | 123μs | 133ns | 498ns | 0 | 0 | 0 | 4.28 KB |
#6374 | EnrichedLog |
net472 | 152μs | 136ns | 528ns | 0.683 | 0.228 | 0 | 4.46 KB |
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 3.14μs | 1.54ns | 5.98ns | 0.0309 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.26μs | 1.48ns | 5.75ns | 0.0296 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.78μs | 2.13ns | 8.23ns | 0.319 | 0 | 0 | 2.02 KB |
#6374 | EnrichedLog |
net6.0 | 3.16μs | 4.53ns | 17.5ns | 0.0316 | 0 | 0 | 2.2 KB |
#6374 | EnrichedLog |
netcoreapp3.1 | 4.21μs | 3.77ns | 14.6ns | 0.0296 | 0 | 0 | 2.2 KB |
#6374 | EnrichedLog |
net472 | 4.98μs | 1.68ns | 6.5ns | 0.32 | 0 | 0 | 2.02 KB |
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendReceive |
net6.0 | 1.32μs | 1.64ns | 6.12ns | 0.0162 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.81μs | 0.814ns | 3.15ns | 0.0154 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.06μs | 1.1ns | 3.96ns | 0.183 | 0 | 0 | 1.16 KB |
#6374 | SendReceive |
net6.0 | 1.38μs | 0.583ns | 2.26ns | 0.0159 | 0 | 0 | 1.14 KB |
#6374 | SendReceive |
netcoreapp3.1 | 1.7μs | 0.48ns | 1.73ns | 0.0153 | 0 | 0 | 1.14 KB |
#6374 | SendReceive |
net472 | 2.14μs | 2.14ns | 8.28ns | 0.184 | 0 | 0 | 1.16 KB |
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 2.75μs | 1.63ns | 6.1ns | 0.0221 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.98μs | 1.86ns | 7.22ns | 0.0217 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.45μs | 2.51ns | 9.74ns | 0.323 | 0 | 0 | 2.04 KB |
#6374 | EnrichedLog |
net6.0 | 2.7μs | 0.967ns | 3.74ns | 0.0216 | 0 | 0 | 1.6 KB |
#6374 | EnrichedLog |
netcoreapp3.1 | 3.88μs | 1.3ns | 4.7ns | 0.0213 | 0 | 0 | 1.65 KB |
#6374 | EnrichedLog |
net472 | 4.33μs | 4.19ns | 16.2ns | 0.322 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6374
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1
1.162
643.70
554.01
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1 | 1.162 | 643.70 | 554.01 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 421ns | 0.693ns | 2.68ns | 0.00816 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 643ns | 1.54ns | 5.95ns | 0.00777 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 669ns | 1.34ns | 5.21ns | 0.0915 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 488ns | 0.756ns | 2.93ns | 0.00976 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 737ns | 0.902ns | 3.37ns | 0.00955 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 819ns | 1.43ns | 5.55ns | 0.105 | 0 | 0 | 658 B |
#6374 | StartFinishSpan |
net6.0 | 391ns | 0.721ns | 2.79ns | 0.008 | 0 | 0 | 576 B |
#6374 | StartFinishSpan |
netcoreapp3.1 | 554ns | 0.972ns | 3.76ns | 0.00793 | 0 | 0 | 576 B |
#6374 | StartFinishSpan |
net472 | 709ns | 1.48ns | 5.75ns | 0.0916 | 0 | 0 | 578 B |
#6374 | StartFinishScope |
net6.0 | 480ns | 0.555ns | 2.08ns | 0.00965 | 0 | 0 | 696 B |
#6374 | StartFinishScope |
netcoreapp3.1 | 680ns | 1.54ns | 5.95ns | 0.00926 | 0 | 0 | 696 B |
#6374 | StartFinishScope |
net472 | 823ns | 0.94ns | 3.64ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 661ns | 0.835ns | 3.24ns | 0.00965 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 897ns | 1.03ns | 3.86ns | 0.00938 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.2μs | 2.45ns | 9.5ns | 0.104 | 0 | 0 | 658 B |
#6374 | RunOnMethodBegin |
net6.0 | 680ns | 1.29ns | 5ns | 0.00976 | 0 | 0 | 696 B |
#6374 | RunOnMethodBegin |
netcoreapp3.1 | 851ns | 1.43ns | 5.53ns | 0.00939 | 0 | 0 | 696 B |
#6374 | RunOnMethodBegin |
net472 | 1.12μs | 1.55ns | 6.01ns | 0.104 | 0 | 0 | 658 B |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you! 🙂
...og.Trace/ClrProfiler/AutoInstrumentation/ManualInstrumentation/Ci/Proxies/ITestParameters.cs
Outdated
Show resolved
Hide resolved
tracer/src/Datadog.Trace/Ci/Agent/MessagePack/EventMessagePackFormatter.cs
Outdated
Show resolved
Hide resolved
tracer/src/Datadog.Trace/Ci/Agent/Payloads/EventPlatformPayload.cs
Outdated
Show resolved
Hide resolved
tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Testing/NUnit/IMethodInfo.cs
Outdated
Show resolved
Hide resolved
/// Gets the parent test, if any. | ||
/// </summary> | ||
/// <value>The parent test or null if none exists.</value> | ||
ITest? Parent { get; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should ITestResult
below be nullable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, MakeTestResult() always returns an instance or throws an exception.
tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Testing/NUnit/ITestCommand.cs
Outdated
Show resolved
Hide resolved
tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Testing/NUnit/IWorkItem.cs
Show resolved
Hide resolved
tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Testing/NUnit/NUnitIntegration.cs
Outdated
Show resolved
Hide resolved
## Summary of changes This PR adds the nullability check to all CI Visibility classes.
Summary of changes
This PR adds the nullability check to all CI Visibility classes.