Skip to content

Conversation

@igoragoli
Copy link
Contributor

@igoragoli igoragoli commented Sep 26, 2025

Summary of changes

  • Add a dd-octo-sts policy allowing GitLab runners to access dd-trace-dotnet contents.
  • Improve and simplify microbenchmarks and macrobenchmarks CI setup.
    • Rename the AMI creation job for build-dd-trace-dotnet-microbenchmarks-ami.
    • Use dd-octo-sts for generating GitHub tokens.
    • Simplify and reduce the number of CI variables, standardizing on the BP_INFRA_* prefix.
    • Make instance cleanup conditional on a CLEANUP variable. This allows us to SSH/RDP into instances after benchmarks are run, if necessary.

Related changes on benchmarking-platform: refactor: simplify dd-trace-dotnet microbenchmarks

Reason for change

https://datadoghq.atlassian.net/browse/APMSP-2282 and https://datadoghq.atlassian.net/browse/APMSP-1908.

Implementation details

Test coverage

Benchmark run on the CI: https://gitlab.ddbuild.io/DataDog/apm-reliability/dd-trace-dotnet/-/jobs/1154611844

Other details

@dd-trace-dotnet-ci-bot
Copy link

dd-trace-dotnet-ci-bot bot commented Sep 26, 2025

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:

  • 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).

gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7571) - mean (72ms)  : 71, 73
     .   : milestone, 72,
    master - mean (72ms)  : 71, 73
     .   : milestone, 72,

    section Baseline
    This PR (7571) - mean (68ms)  : 66, 71
     .   : milestone, 68,
    master - mean (68ms)  : 65, 71
     .   : milestone, 68,

    section CallTarget+Inlining+NGEN
    This PR (7571) - mean (1,056ms)  : 992, 1121
     .   : milestone, 1056,
    master - mean (1,044ms)  : 1011, 1076
     .   : milestone, 1044,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7571) - mean (107ms)  : 106, 108
     .   : milestone, 107,
    master - mean (106ms)  : 105, 108
     .   : milestone, 106,

    section Baseline
    This PR (7571) - mean (106ms)  : 104, 108
     .   : milestone, 106,
    master - mean (106ms)  : 104, 108
     .   : milestone, 106,

    section CallTarget+Inlining+NGEN
    This PR (7571) - mean (743ms)  : 724, 762
     .   : milestone, 743,
    master - mean (746ms)  : 727, 764
     .   : milestone, 746,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET 6) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7571) - mean (101ms)  : 100, 102
     .   : milestone, 101,
    master - mean (100ms)  : 100, 101
     .   : milestone, 100,

    section Baseline
    This PR (7571) - mean (100ms)  : 98, 102
     .   : milestone, 100,
    master - mean (100ms)  : 98, 103
     .   : milestone, 100,

    section CallTarget+Inlining+NGEN
    This PR (7571) - mean (770ms)  : 724, 816
     .   : milestone, 770,
    master - mean (775ms)  : 723, 827
     .   : milestone, 775,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET 8) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7571) - mean (93ms)  : 91, 94
     .   : milestone, 93,
    master - mean (93ms)  : 92, 94
     .   : milestone, 93,

    section Baseline
    This PR (7571) - mean (92ms)  : 90, 95
     .   : milestone, 92,
    master - mean (92ms)  : 89, 95
     .   : milestone, 92,

    section CallTarget+Inlining+NGEN
    This PR (7571) - mean (660ms)  : 646, 673
     .   : milestone, 660,
    master - mean (664ms)  : 649, 678
     .   : milestone, 664,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7571) - mean (208ms)  : 195, 222
     .   : milestone, 208,
    master - mean (200ms)  : 197, 204
     .   : milestone, 200,

    section Baseline
    This PR (7571) - mean (203ms)  : 192, 214
     .   : milestone, 203,
    master - mean (200ms)  : 189, 211
     .   : milestone, 200,

    section CallTarget+Inlining+NGEN
    This PR (7571) - mean (1,211ms)  : 1144, 1277
     .   : milestone, 1211,
    master - mean (1,199ms)  : 1130, 1268
     .   : milestone, 1199,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7571) - mean (295ms)  : 279, 310
     .   : milestone, 295,
    master - mean (286ms)  : 277, 296
     .   : milestone, 286,

    section Baseline
    This PR (7571) - mean (293ms)  : 276, 309
     .   : milestone, 293,
    master - mean (283ms)  : 275, 291
     .   : milestone, 283,

    section CallTarget+Inlining+NGEN
    This PR (7571) - mean (977ms)  : 930, 1025
     .   : milestone, 977,
    master - mean (950ms)  : 902, 998
     .   : milestone, 950,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7571) - mean (296ms)  : 282, 309
     .   : milestone, 296,
    master - mean (289ms)  : 277, 301
     .   : milestone, 289,

    section Baseline
    This PR (7571) - mean (297ms)  : 279, 315
     .   : milestone, 297,
    master - mean (288ms)  : 280, 296
     .   : milestone, 288,

    section CallTarget+Inlining+NGEN
    This PR (7571) - mean (1,030ms)  : 974, 1085
     .   : milestone, 1030,
    master - mean (1,011ms)  : 953, 1069
     .   : milestone, 1011,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7571) - mean (285ms)  : 268, 301
     .   : milestone, 285,
    master - mean (276ms)  : 267, 285
     .   : milestone, 276,

    section Baseline
    This PR (7571) - mean (286ms)  : 267, 304
     .   : milestone, 286,
    master - mean (278ms)  : 269, 287
     .   : milestone, 278,

    section CallTarget+Inlining+NGEN
    This PR (7571) - mean (921ms)  : 820, 1021
     .   : milestone, 921,
    master - mean (875ms)  : 847, 902
     .   : milestone, 875,

Loading

- Renames the AMI cretion job for `build-dd-trace-dotnet-microbenchmarks-ami`.
- Uses `dd-octo-sts` for secure GitHub token generation.
- Simplifies and reduces the number of CI variables, standardizing on the `BP_INFRA_*` prefix.
- Makes instance cleanup conditional on a `CLEANUP` variable. This allows us to SSH/RDP into instances after benchmarks are run, if necessary.
@igoragoli igoragoli force-pushed the augusto/dd-trace-dotnet-micro-bp-ui branch from e85f962 to 34ec104 Compare September 30, 2025 12:42
@igoragoli igoragoli changed the title Augusto/dd trace dotnet micro bp UI Improve and simplify the microbenchmarks CI setup Sep 30, 2025
@pr-commenter
Copy link

pr-commenter bot commented Sep 30, 2025

Benchmarks

Benchmarks Report for benchmark platform 🐌

Benchmarks for #7571 compared to master:

  • All benchmarks have the same speed
  • All benchmarks have the same allocations

The following thresholds were used for comparing the benchmark speeds:

  • Mann–Whitney U test with statistical test for significance of 5%
  • Only results indicating a difference greater than 10% and 0.3 ns are considered.

Allocation changes below 0.5% are ignored.

Benchmark details

Benchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 StartStopWithChild net6.0 10.1μs 56.4ns 348ns 0 0 0 5.5 KB
#7571 StartStopWithChild netcoreapp3.1 13.3μs 69.2ns 339ns 0 0 0 5.7 KB
#7571 StartStopWithChild net472 22μs 105ns 419ns 1.03 0.343 0.114 6.03 KB
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 WriteAndFlushEnrichedTraces net6.0 931μs 110ns 410ns 0 0 0 2.71 KB
#7571 WriteAndFlushEnrichedTraces netcoreapp3.1 1.03ms 155ns 578ns 0 0 0 2.7 KB
#7571 WriteAndFlushEnrichedTraces net472 1.18ms 32.2ns 121ns 0 0 0 3.31 KB
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 AllCycleSimpleBody net6.0 335μs 529ns 1.91μs 0 0 0 175.99 KB
#7571 AllCycleSimpleBody netcoreapp3.1 508μs 167ns 646ns 0 0 0 178.17 KB
#7571 AllCycleSimpleBody net472 446μs 116ns 450ns 31.2 0 0 200.21 KB
#7571 AllCycleMoreComplexBody net6.0 335μs 1.64μs 6.56μs 0 0 0 179.5 KB
#7571 AllCycleMoreComplexBody netcoreapp3.1 475μs 1.63μs 6.3μs 0 0 0 181.58 KB
#7571 AllCycleMoreComplexBody net472 454μs 180ns 623ns 31.2 0 0 203.73 KB
#7571 ObjectExtractorSimpleBody net6.0 333ns 1.74ns 8.89ns 0 0 0 280 B
#7571 ObjectExtractorSimpleBody netcoreapp3.1 401ns 2.27ns 15ns 0 0 0 272 B
#7571 ObjectExtractorSimpleBody net472 299ns 0.0774ns 0.3ns 0.0441 0 0 281 B
#7571 ObjectExtractorMoreComplexBody net6.0 6.27μs 29.6ns 111ns 0 0 0 3.78 KB
#7571 ObjectExtractorMoreComplexBody netcoreapp3.1 7.74μs 39.2ns 180ns 0 0 0 3.69 KB
#7571 ObjectExtractorMoreComplexBody net472 6.76μs 10.4ns 40.2ns 0.572 0 0 3.8 KB
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 EncodeArgs net6.0 77μs 52.7ns 197ns 0 0 0 32.4 KB
#7571 EncodeArgs netcoreapp3.1 101μs 207ns 774ns 0 0 0 32.4 KB
#7571 EncodeArgs net472 110μs 20.3ns 78.5ns 4.93 0 0 32.5 KB
#7571 EncodeLegacyArgs net6.0 148μs 32.9ns 127ns 0 0 0 2.15 KB
#7571 EncodeLegacyArgs netcoreapp3.1 200μs 167ns 646ns 0 0 0 2.15 KB
#7571 EncodeLegacyArgs net472 265μs 29.6ns 115ns 0 0 0 2.16 KB
Benchmarks.Trace.Asm.AppSecWafBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 RunWafRealisticBenchmark net6.0 391μs 102ns 368ns 0 0 0 4.56 KB
#7571 RunWafRealisticBenchmark netcoreapp3.1 784μs 15.3μs 152μs 0 0 0 4.48 KB
#7571 RunWafRealisticBenchmark net472 433μs 53.4ns 200ns 0 0 0 4.66 KB
#7571 RunWafRealisticBenchmarkWithAttack net6.0 287μs 77.5ns 290ns 0 0 0 2.24 KB
#7571 RunWafRealisticBenchmarkWithAttack netcoreapp3.1 672μs 12.9μs 129μs 0 0 0 2.22 KB
#7571 RunWafRealisticBenchmarkWithAttack net472 311μs 25.7ns 96.2ns 0 0 0 2.29 KB
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 SendRequest net6.0 61.9μs 277ns 1.07μs 0 0 0 14.52 KB
#7571 SendRequest netcoreapp3.1 72.3μs 192ns 691ns 0 0 0 17.42 KB
#7571 SendRequest net472 0.00485ns 0.0022ns 0.00851ns 0 0 0 0 b
Benchmarks.Trace.CharSliceBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 OriginalCharSlice net6.0 1.9ms 479ns 1.79μs 0 0 0 640.01 KB
#7571 OriginalCharSlice netcoreapp3.1 2.09ms 9.29μs 32.2μs 0 0 0 640 KB
#7571 OriginalCharSlice net472 2.67ms 830ns 3.21μs 100 0 0 641.95 KB
#7571 OptimizedCharSlice net6.0 1.52ms 303ns 1.17μs 0 0 0 7 B
#7571 OptimizedCharSlice netcoreapp3.1 1.73ms 381ns 1.48μs 0 0 0 32 B
#7571 OptimizedCharSlice net472 1.92ms 372ns 1.34μs 0 0 0 0 b
#7571 OptimizedCharSliceWithPool net6.0 800μs 34.6ns 125ns 0 0 0 1 B
#7571 OptimizedCharSliceWithPool netcoreapp3.1 813μs 132ns 513ns 0 0 0 0 b
#7571 OptimizedCharSliceWithPool net472 1.13ms 82.8ns 321ns 0 0 0 0 b
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 WriteAndFlushEnrichedTraces net6.0 671μs 2.95μs 11.4μs 0 0 0 41.62 KB
#7571 WriteAndFlushEnrichedTraces netcoreapp3.1 755μs 3.92μs 18.8μs 0 0 0 41.79 KB
#7571 WriteAndFlushEnrichedTraces net472 942μs 2.74μs 10.3μs 8.33 0 0 56.59 KB
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 ExecuteNonQuery net6.0 1.86μs 9.02ns 38.2ns 0 0 0 1.02 KB
#7571 ExecuteNonQuery netcoreapp3.1 2.69μs 12.7ns 49.1ns 0 0 0 1.02 KB
#7571 ExecuteNonQuery net472 2.74μs 3.78ns 14.1ns 0.149 0.0136 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
#7571 CallElasticsearch net6.0 1.74μs 8.49ns 37ns 0 0 0 1.03 KB
#7571 CallElasticsearch netcoreapp3.1 2.25μs 11.5ns 52.8ns 0 0 0 1.03 KB
#7571 CallElasticsearch net472 3.46μs 2.76ns 10.3ns 0.154 0 0 1.04 KB
#7571 CallElasticsearchAsync net6.0 1.82μs 8.9ns 37.7ns 0 0 0 1.01 KB
#7571 CallElasticsearchAsync netcoreapp3.1 2.43μs 6.27ns 23.4ns 0 0 0 1.08 KB
#7571 CallElasticsearchAsync net472 3.69μs 1.38ns 5.34ns 0.167 0 0 1.1 KB
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 ExecuteAsync net6.0 1.86μs 6.34ns 24.6ns 0 0 0 952 B
#7571 ExecuteAsync netcoreapp3.1 2.4μs 7.21ns 27.9ns 0 0 0 952 B
#7571 ExecuteAsync net472 2.66μs 1.21ns 4.69ns 0.133 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
#7571 SendAsync net6.0 7.04μs 7.5ns 29ns 0 0 0 2.36 KB
#7571 SendAsync netcoreapp3.1 8.36μs 22.4ns 83.9ns 0 0 0 2.9 KB
#7571 SendAsync net472 12.2μs 11.5ns 44.7ns 0.486 0 0 3.18 KB
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 StringConcatBenchmark net6.0 44.9μs 388ns 3.7μs 0 0 0 44.07 KB
#7571 StringConcatBenchmark netcoreapp3.1 55.3μs 738ns 7.38μs 0 0 0 42.76 KB
#7571 StringConcatBenchmark net472 57.5μs 216ns 836ns 0 0 0 65.54 KB
#7571 StringConcatAspectBenchmark net6.0 473μs 1.53μs 7.17μs 0 0 0 278.95 KB
#7571 StringConcatAspectBenchmark netcoreapp3.1 497μs 2.29μs 8.25μs 0 0 0 257.49 KB
#7571 StringConcatAspectBenchmark net472 406μs 2μs 8.24μs 0 0 0 286.72 KB
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 EnrichedLog net6.0 2.49μs 12.2ns 48.7ns 0 0 0 1.7 KB
#7571 EnrichedLog netcoreapp3.1 3.45μs 5.71ns 22.1ns 0 0 0 1.7 KB
#7571 EnrichedLog net472 3.72μs 4.05ns 15.7ns 0.242 0 0 1.64 KB
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 EnrichedLog net6.0 125μs 132ns 493ns 0 0 0 4.31 KB
#7571 EnrichedLog netcoreapp3.1 128μs 208ns 779ns 0 0 0 4.31 KB
#7571 EnrichedLog net472 168μs 181ns 677ns 0 0 0 4.52 KB
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 EnrichedLog net6.0 4.88μs 10.2ns 39.7ns 0 0 0 2.26 KB
#7571 EnrichedLog netcoreapp3.1 6.59μs 17.7ns 68.5ns 0 0 0 2.26 KB
#7571 EnrichedLog net472 7.25μs 6.63ns 25.7ns 0.326 0 0 2.08 KB
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 SendReceive net6.0 2.03μs 9.41ns 35.2ns 0 0 0 1.2 KB
#7571 SendReceive netcoreapp3.1 2.54μs 12.3ns 49.1ns 0 0 0 1.2 KB
#7571 SendReceive net472 3.23μs 2.8ns 10.8ns 0.178 0 0 1.2 KB
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 EnrichedLog net6.0 4.05μs 18.5ns 74.1ns 0 0 0 1.58 KB
#7571 EnrichedLog netcoreapp3.1 5.42μs 19ns 73.7ns 0 0 0 1.63 KB
#7571 EnrichedLog net472 6.31μs 7.33ns 28.4ns 0.314 0 0 2.03 KB
Benchmarks.Trace.SpanBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
#7571 StartFinishSpan net6.0 744ns 3.59ns 14.8ns 0 0 0 576 B
#7571 StartFinishSpan netcoreapp3.1 931ns 4.76ns 21.3ns 0 0 0 576 B
#7571 StartFinishSpan net472 881ns 0.0253ns 0.0875ns 0.0894 0 0 578 B
#7571 StartFinishScope net6.0 914ns 0.5ns 1.94ns 0 0 0 696 B
#7571 StartFinishScope netcoreapp3.1 1.2μs 6.39ns 34.4ns 0 0 0 696 B
#7571 StartFinishScope net472 1.04μs 0.172ns 0.667ns 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
#7571 RunOnMethodBegin net6.0 1.06μs 5.19ns 22ns 0 0 0 696 B
#7571 RunOnMethodBegin netcoreapp3.1 1.39μs 6.76ns 28.7ns 0 0 0 696 B
#7571 RunOnMethodBegin net472 1.43μs 2.55ns 9.89ns 0.0993 0 0 658 B

@igoragoli igoragoli marked this pull request as ready for review October 1, 2025 07:12
@igoragoli igoragoli requested a review from a team as a code owner October 1, 2025 07:12
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

@igoragoli igoragoli merged commit 6e87745 into master Oct 2, 2025
143 of 148 checks passed
@igoragoli igoragoli deleted the augusto/dd-trace-dotnet-micro-bp-ui branch October 2, 2025 16:33
@github-actions github-actions bot added this to the vNext-v3 milestone Oct 2, 2025
igoragoli added a commit that referenced this pull request Oct 2, 2025
igoragoli added a commit that referenced this pull request Oct 2, 2025
## Summary of changes

Reverts #7571 since it
introduces a bug preventing microbenchmarks to be run.

## Reason for change

## Implementation details

## Test coverage

## Other details
<!-- Fixes #{issue} -->


<!--  ⚠️ Note:

Where possible, please obtain 2 approvals prior to merging. Unless
CODEOWNERS specifies otherwise, for external teams it is typically best
to have one review from a team member, and one review from apm-dotnet.
Trivial changes do not require 2 reviews.

MergeQueue is NOT enabled in this repository. If you have write access
to the repo, the PR has 1-2 approvals (see above), and all of the
required checks have passed, you can use the Squash and Merge button to
merge the PR. If you don't have write access, or you need help, reach
out in the #apm-dotnet channel in Slack.
-->
@bouwkast bouwkast added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Oct 6, 2025
igoragoli added a commit that referenced this pull request Oct 8, 2025
- [x] Revert
[a7749d8](a7749d8)
before merging.

## Summary of changes

- Restore changes from the now-reverted
#7571 PR.
- Fixes the dd-octo-sts GitHub token setup by creating a token targeting
benchmarking-platform instead of dd-trace-dotnet when running
benchmarks.
- Corresponding dd-octo-sts policy on benchmarking-platform:
https://github.com/DataDog/benchmarking-platform/blob/main/.github/chainguard/gitlab.github-access.read-contents.sts.yaml

## Reason for change

- We couldn't clone benchmarking-platform from ephemeral benchmarking
instances with the dd-octo-sts setup introduced on
#7571.

## Implementation details

## Test coverage

Test run on the CI:
https://gitlab.ddbuild.io/DataDog/apm-reliability/dd-trace-dotnet/-/jobs/1161521230

## Other details
<!-- Fixes #{issue} -->


<!--  ⚠️ Note:

Where possible, please obtain 2 approvals prior to merging. Unless
CODEOWNERS specifies otherwise, for external teams it is typically best
to have one review from a team member, and one review from apm-dotnet.
Trivial changes do not require 2 reviews.

MergeQueue is NOT enabled in this repository. If you have write access
to the repo, the PR has 1-2 approvals (see above), and all of the
required checks have passed, you can use the Squash and Merge button to
merge the PR. If you don't have write access, or you need help, reach
out in the #apm-dotnet channel in Slack.
-->
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants