Skip to content

[Iast] Fix GetModuleInfo freezes#7947

Merged
daniel-romano-DD merged 3 commits intomasterfrom
dani/iast/flow_traces
Jan 14, 2026
Merged

[Iast] Fix GetModuleInfo freezes#7947
daniel-romano-DD merged 3 commits intomasterfrom
dani/iast/flow_traces

Conversation

@daniel-romano-DD
Copy link
Contributor

@daniel-romano-DD daniel-romano-DD commented Dec 11, 2025

Summary of changes

Move all GetModuleInfo calls to the ModuleLoadeFinished profiler event.

Reason for change

Some freezes could happen in Linux

Implementation details

Calling GetAssemblyInfo outside of the Module and Assembly events may corrupt the process

Test coverage

Other details

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

dd-trace-dotnet-ci-bot bot commented Dec 11, 2025

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (7947) 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
duration68.18 ± (68.16 - 68.35) ms68.17 ± (68.19 - 68.47) ms-0.0%
.NET Framework 4.8 - Bailout
duration72.03 ± (71.95 - 72.18) ms72.05 ± (71.99 - 72.20) ms+0.0%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1004.75 ± (1005.26 - 1010.43) ms1002.52 ± (1004.07 - 1009.56) ms-0.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms21.93 ± (21.90 - 21.95) ms21.95 ± (21.92 - 21.98) ms+0.1%✅⬆️
process.time_to_main_ms78.52 ± (78.37 - 78.66) ms78.87 ± (78.70 - 79.04) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.91) MB10.93 ± (10.92 - 10.93) MB+0.2%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms21.87 ± (21.85 - 21.90) ms21.85 ± (21.83 - 21.87) ms-0.1%
process.time_to_main_ms79.65 ± (79.56 - 79.75) ms79.93 ± (79.84 - 80.03) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.94 - 10.95) MB10.97 ± (10.96 - 10.98) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms234.70 ± (230.58 - 238.82) ms234.65 ± (230.70 - 238.60) ms-0.0%
process.time_to_main_ms469.45 ± (468.95 - 469.95) ms470.84 ± (470.32 - 471.36) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.26 ± (48.24 - 48.28) MB48.40 ± (48.37 - 48.42) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.3%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms20.76 ± (20.73 - 20.78) ms20.51 ± (20.47 - 20.54) ms-1.2%
process.time_to_main_ms68.06 ± (67.95 - 68.17) ms67.80 ± (67.70 - 67.91) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.62 ± (10.61 - 10.62) MB10.66 ± (10.65 - 10.66) MB+0.4%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.69 ± (20.67 - 20.71) ms20.52 ± (20.49 - 20.56) ms-0.8%
process.time_to_main_ms69.01 ± (68.97 - 69.06) ms68.98 ± (68.92 - 69.05) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.72 ± (10.71 - 10.73) MB10.76 ± (10.75 - 10.76) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms248.83 ± (247.96 - 249.70) ms242.71 ± (240.00 - 245.43) ms-2.5%
process.time_to_main_ms442.53 ± (442.07 - 442.99) ms442.12 ± (441.70 - 442.54) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.92 ± (48.90 - 48.95) MB48.89 ± (48.86 - 48.92) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.2%
.NET 8 - Baseline
process.internal_duration_ms18.85 ± (18.82 - 18.88) ms18.78 ± (18.76 - 18.81) ms-0.3%
process.time_to_main_ms67.48 ± (67.38 - 67.58) ms67.08 ± (66.96 - 67.19) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.67 - 7.69) MB7.70 ± (7.69 - 7.70) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms18.87 ± (18.85 - 18.89) ms18.86 ± (18.83 - 18.88) ms-0.1%
process.time_to_main_ms68.36 ± (68.29 - 68.42) ms68.25 ± (68.19 - 68.32) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.70 - 7.72) MB7.74 ± (7.74 - 7.75) MB+0.4%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms179.30 ± (178.41 - 180.18) ms179.24 ± (178.18 - 180.30) ms-0.0%
process.time_to_main_ms427.39 ± (426.72 - 428.06) ms426.16 ± (425.51 - 426.81) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.41 ± (36.38 - 36.44) MB36.49 ± (36.47 - 36.52) MB+0.2%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.5%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration192.80 ± (192.50 - 193.30) ms192.53 ± (192.54 - 193.37) ms-0.1%
.NET Framework 4.8 - Bailout
duration195.65 ± (195.50 - 196.04) ms198.07 ± (198.10 - 199.17) ms+1.2%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1107.83 ± (1109.41 - 1117.83) ms1105.35 ± (1107.75 - 1114.68) ms-0.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms187.15 ± (186.83 - 187.48) ms188.11 ± (187.74 - 188.47) ms+0.5%✅⬆️
process.time_to_main_ms79.98 ± (79.78 - 80.19) ms80.20 ± (79.99 - 80.42) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.10 ± (16.07 - 16.13) MB16.03 ± (16.01 - 16.06) MB-0.4%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.1%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms187.47 ± (187.11 - 187.82) ms186.95 ± (186.64 - 187.26) ms-0.3%
process.time_to_main_ms81.57 ± (81.35 - 81.79) ms81.46 ± (81.32 - 81.60) ms-0.1%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.16 ± (16.13 - 16.19) MB16.20 ± (16.17 - 16.23) MB+0.3%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)+0.1%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms419.95 ± (416.45 - 423.45) ms427.72 ± (424.71 - 430.73) ms+1.9%✅⬆️
process.time_to_main_ms471.43 ± (470.89 - 471.97) ms473.31 ± (472.77 - 473.85) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.83 ± (58.70 - 58.95) MB58.79 ± (58.67 - 58.91) MB-0.1%
runtime.dotnet.threads.count29 ± (29 - 30)29 ± (29 - 30)+0.1%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms191.77 ± (191.40 - 192.15) ms191.70 ± (191.33 - 192.06) ms-0.0%
process.time_to_main_ms69.27 ± (69.09 - 69.45) ms69.29 ± (69.11 - 69.48) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.96 ± (15.80 - 16.12) MB16.27 ± (16.17 - 16.37) MB+1.9%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)19 ± (19 - 19)+3.7%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms191.14 ± (190.86 - 191.41) ms190.65 ± (190.44 - 190.86) ms-0.3%
process.time_to_main_ms70.15 ± (70.07 - 70.23) ms70.22 ± (70.14 - 70.30) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.93 ± (15.77 - 16.10) MB15.90 ± (15.73 - 16.07) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.4%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms448.15 ± (445.36 - 450.94) ms449.43 ± (446.36 - 452.49) ms+0.3%✅⬆️
process.time_to_main_ms444.39 ± (443.91 - 444.87) ms445.82 ± (445.28 - 446.35) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed58.64 ± (58.52 - 58.76) MB58.55 ± (58.43 - 58.67) MB-0.2%
runtime.dotnet.threads.count30 ± (29 - 30)29 ± (29 - 29)-0.4%
.NET 8 - Baseline
process.internal_duration_ms189.97 ± (189.62 - 190.32) ms189.74 ± (189.50 - 189.98) ms-0.1%
process.time_to_main_ms68.86 ± (68.68 - 69.03) ms68.72 ± (68.58 - 68.86) ms-0.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.74 ± (11.71 - 11.76) MB11.71 ± (11.68 - 11.75) MB-0.2%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.3%
.NET 8 - Bailout
process.internal_duration_ms188.75 ± (188.49 - 189.01) ms189.58 ± (189.17 - 189.99) ms+0.4%✅⬆️
process.time_to_main_ms69.75 ± (69.65 - 69.85) ms70.00 ± (69.86 - 70.14) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.80 ± (11.77 - 11.83) MB11.78 ± (11.74 - 11.81) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.5%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms363.68 ± (362.13 - 365.23) ms364.14 ± (362.70 - 365.58) ms+0.1%✅⬆️
process.time_to_main_ms427.33 ± (426.77 - 427.88) ms429.86 ± (429.34 - 430.39) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed48.01 ± (47.97 - 48.05) MB48.07 ± (48.04 - 48.11) MB+0.1%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)-0.8%
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 (7947) - mean (68ms)  : 67, 70
    master - mean (68ms)  : 67, 70

    section Bailout
    This PR (7947) - mean (72ms)  : 71, 73
    master - mean (72ms)  : 71, 73

    section CallTarget+Inlining+NGEN
    This PR (7947) - mean (1,007ms)  : 968, 1046
    master - mean (1,008ms)  : 971, 1045

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 (7947) - mean (106ms)  : 104, 108
    master - mean (106ms)  : 103, 108

    section Bailout
    This PR (7947) - mean (107ms)  : 105, 108
    master - mean (107ms)  : 105, 108

    section CallTarget+Inlining+NGEN
    This PR (7947) - mean (733ms)  : 676, 790
    master - mean (732ms)  : 664, 799

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7947) - mean (93ms)  : 91, 95
    master - mean (94ms)  : 92, 96

    section Bailout
    This PR (7947) - mean (94ms)  : 93, 95
    master - mean (94ms)  : 94, 95

    section CallTarget+Inlining+NGEN
    This PR (7947) - mean (711ms)  : 676, 746
    master - mean (716ms)  : 697, 735

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7947) - mean (92ms)  : 89, 95
    master - mean (92ms)  : 90, 94

    section Bailout
    This PR (7947) - mean (93ms)  : 91, 95
    master - mean (93ms)  : 92, 95

    section CallTarget+Inlining+NGEN
    This PR (7947) - mean (634ms)  : 621, 648
    master - mean (636ms)  : 615, 658

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 (7947) - mean (193ms)  : 189, 197
    master - mean (193ms)  : 189, 197

    section Bailout
    This PR (7947) - mean (199ms)  : 192, 206
    master - mean (196ms)  : 193, 198

    section CallTarget+Inlining+NGEN
    This PR (7947) - mean (1,111ms)  : 1062, 1161
    master - mean (1,114ms)  : 1052, 1176

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 (7947) - mean (276ms)  : 270, 282
    master - mean (275ms)  : 271, 280

    section Bailout
    This PR (7947) - mean (277ms)  : 272, 281
    master - mean (277ms)  : 272, 282

    section CallTarget+Inlining+NGEN
    This PR (7947) - mean (929ms)  : 889, 969
    master - mean (919ms)  : 857, 980

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7947) - mean (269ms)  : 262, 277
    master - mean (269ms)  : 264, 275

    section Bailout
    This PR (7947) - mean (269ms)  : 266, 271
    master - mean (269ms)  : 266, 273

    section CallTarget+Inlining+NGEN
    This PR (7947) - mean (924ms)  : 878, 971
    master - mean (922ms)  : 877, 966

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

    section Bailout
    This PR (7947) - mean (269ms)  : 263, 275
    master - mean (268ms)  : 264, 272

    section CallTarget+Inlining+NGEN
    This PR (7947) - mean (825ms)  : 800, 850
    master - mean (822ms)  : 802, 841

Loading

@pr-commenter
Copy link

pr-commenter bot commented Dec 11, 2025

Benchmarks

Benchmark execution time: 2026-01-13 11:13:15

Comparing candidate commit b0ba046 in PR branch dani/iast/flow_traces with baseline commit c26f271 in branch master.

Found 11 performance improvements and 12 performance regressions! Performance is the same for 152 metrics, 11 unstable metrics.

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-12418.816op/s; -12016.324op/s] or [-15.880%; -15.366%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0

  • 🟥 execution_time [+10.123ms; +13.871ms] or [+5.404%; +7.405%]
  • 🟥 throughput [-12172.380op/s; -9989.592op/s] or [-10.617%; -8.713%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • 🟥 throughput [-18869.353op/s; -17873.725op/s] or [-21.198%; -20.079%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net6.0

  • 🟩 execution_time [-18.463ms; -12.811ms] or [-8.630%; -5.989%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody netcoreapp3.1

  • 🟥 execution_time [+11.645ms; +16.335ms] or [+5.869%; +8.232%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟥 execution_time [+20.537ms; +26.197ms] or [+10.351%; +13.204%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1

  • 🟩 execution_time [-26.166ms; -19.828ms] or [-12.117%; -9.182%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • 🟥 execution_time [+18.015ms; +24.076ms] or [+9.088%; +12.146%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • 🟥 execution_time [+20.494ms; +20.753ms] or [+11.358%; +11.501%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest netcoreapp3.1

  • 🟩 execution_time [-98.201ms; -87.833ms] or [-48.472%; -43.354%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟩 execution_time [-21.084ms; -16.237ms] or [-9.259%; -7.130%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 throughput [-265.585op/s; -241.310op/s] or [-17.840%; -16.210%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0

  • 🟥 execution_time [+410.514µs; +427.393µs] or [+28.016%; +29.167%]
  • 🟥 throughput [-154.212op/s; -149.200op/s] or [-22.597%; -21.862%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0

  • 🟩 execution_time [-110.652µs; -99.548µs] or [-9.565%; -8.605%]
  • 🟩 throughput [+81.509op/s; +91.423op/s] or [+9.429%; +10.576%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟩 throughput [+16218.466op/s; +18528.390op/s] or [+5.864%; +6.699%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync netcoreapp3.1

  • 🟩 throughput [+26926.965op/s; +37794.571op/s] or [+6.658%; +9.345%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+17.328ms; +21.357ms] or [+8.793%; +10.838%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • 🟩 execution_time [-35.537ms; -33.656ms] or [-17.656%; -16.721%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog netcoreapp3.1

  • 🟩 throughput [+9030.312op/s; +11598.537op/s] or [+5.382%; +6.913%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1

  • 🟩 execution_time [-16.942ms; -11.207ms] or [-8.055%; -5.328%]

@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Dec 11, 2025

⚠️ Tests

Fix all issues with Cursor

⚠️ Warnings

❄️ 1 New flaky test detected

FiresCallbackOnRecheckIfHasChangesToConfig from Datadog.Trace.Tests.Agent.DiscoveryServiceTests (Datadog) (Fix with Cursor)
Expected mutex3.Wait(30_000) to be True because Should make third request to api, but found False.

ℹ️ Info

🧪 All tests passed

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

@daniel-romano-DD daniel-romano-DD changed the title Added flow traces to dataflow to try to pinpoint ocasional freezes [Iast] Fix GetModuleInfo crashes Jan 12, 2026
@daniel-romano-DD daniel-romano-DD changed the title [Iast] Fix GetModuleInfo crashes [Iast] Fix GetModuleInfo freezes Jan 12, 2026
@daniel-romano-DD daniel-romano-DD marked this pull request as ready for review January 12, 2026 22:14
@daniel-romano-DD daniel-romano-DD requested review from a team as code owners January 12, 2026 22:14
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.

Reviewed commit: d52c4f1beb

ℹ️ 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 "@codex address that feedback".

}

// Retrieve module information if not found
const int pathLen = 2048;
Copy link
Member

Choose a reason for hiding this comment

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

why the change on the length? you had 300 before.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just to erase the shadow of a buffer overrun

Copy link
Member

@andrewlock andrewlock left a comment

Choose a reason for hiding this comment

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

Thanks!

@daniel-romano-DD daniel-romano-DD merged commit 3ad282c into master Jan 14, 2026
151 checks passed
@daniel-romano-DD daniel-romano-DD deleted the dani/iast/flow_traces branch January 14, 2026 16:44
@github-actions github-actions bot added this to the vNext-v3 milestone Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants