Skip to content

Report bazel as provider in telemetry for payload-in-files mode#11207

Open
daniel-mohedano wants to merge 22 commits intomasterfrom
daniel.mohedano/bazel-telemetry-provider
Open

Report bazel as provider in telemetry for payload-in-files mode#11207
daniel-mohedano wants to merge 22 commits intomasterfrom
daniel.mohedano/bazel-telemetry-provider

Conversation

@daniel-mohedano
Copy link
Copy Markdown
Contributor

What Does This Do

  • Reports the CI provider as bazel in test session telemetry.

Additional Notes

test-environment-trigger: skip

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Apr 27, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master daniel.mohedano/bazel-telemetry-provider
git_commit_date 1777379592 1777386308
git_commit_sha 9d73760 d2a99ac
release_version 1.62.0-SNAPSHOT~9d737609c4 1.62.0-SNAPSHOT~d2a99acb95
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1777388187 1777388187
ci_job_id 1638056099 1638056099
ci_pipeline_id 110160271 110160271
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-1-pgkw8vgp 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-1-pgkw8vgp 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 61 metrics, 10 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.62.0-SNAPSHOT~d2a99acb95, baseline=1.62.0-SNAPSHOT~9d737609c4

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.069 s) : 0, 1069484
Total [baseline] (8.889 s) : 0, 8888574
Agent [candidate] (1.066 s) : 0, 1066165
Total [candidate] (8.843 s) : 0, 8842504
section iast
Agent [baseline] (1.251 s) : 0, 1251474
Total [baseline] (9.565 s) : 0, 9564951
Agent [candidate] (1.246 s) : 0, 1245752
Total [candidate] (9.548 s) : 0, 9547681
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.069 s -
Agent iast 1.251 s 181.989 ms (17.0%)
Total tracing 8.889 s -
Total iast 9.565 s 676.377 ms (7.6%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.066 s -
Agent iast 1.246 s 179.586 ms (16.8%)
Total tracing 8.843 s -
Total iast 9.548 s 705.177 ms (8.0%)
gantt
    title insecure-bank - break down per module: candidate=1.62.0-SNAPSHOT~d2a99acb95, baseline=1.62.0-SNAPSHOT~9d737609c4

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.23 ms) : 0, 1230
crashtracking [candidate] (1.228 ms) : 0, 1228
BytebuddyAgent [baseline] (638.182 ms) : 0, 638182
BytebuddyAgent [candidate] (640.476 ms) : 0, 640476
AgentMeter [baseline] (29.746 ms) : 0, 29746
AgentMeter [candidate] (29.799 ms) : 0, 29799
GlobalTracer [baseline] (249.976 ms) : 0, 249976
GlobalTracer [candidate] (248.994 ms) : 0, 248994
AppSec [baseline] (33.275 ms) : 0, 33275
AppSec [candidate] (32.72 ms) : 0, 32720
Debugger [baseline] (61.001 ms) : 0, 61001
Debugger [candidate] (59.681 ms) : 0, 59681
Remote Config [baseline] (608.531 µs) : 0, 609
Remote Config [candidate] (594.615 µs) : 0, 595
Telemetry [baseline] (10.183 ms) : 0, 10183
Telemetry [candidate] (8.386 ms) : 0, 8386
Flare Poller [baseline] (9.088 ms) : 0, 9088
Flare Poller [candidate] (8.11 ms) : 0, 8110
section iast
crashtracking [baseline] (1.26 ms) : 0, 1260
crashtracking [candidate] (1.229 ms) : 0, 1229
BytebuddyAgent [baseline] (828.346 ms) : 0, 828346
BytebuddyAgent [candidate] (825.008 ms) : 0, 825008
AgentMeter [baseline] (11.44 ms) : 0, 11440
AgentMeter [candidate] (11.338 ms) : 0, 11338
GlobalTracer [baseline] (239.617 ms) : 0, 239617
GlobalTracer [candidate] (238.341 ms) : 0, 238341
IAST [baseline] (29.413 ms) : 0, 29413
IAST [candidate] (29.824 ms) : 0, 29824
AppSec [baseline] (30.676 ms) : 0, 30676
AppSec [candidate] (29.676 ms) : 0, 29676
Debugger [baseline] (62.698 ms) : 0, 62698
Debugger [candidate] (62.49 ms) : 0, 62490
Remote Config [baseline] (529.548 µs) : 0, 530
Remote Config [candidate] (526.732 µs) : 0, 527
Telemetry [baseline] (7.899 ms) : 0, 7899
Telemetry [candidate] (7.921 ms) : 0, 7921
Flare Poller [baseline] (3.371 ms) : 0, 3371
Flare Poller [candidate] (3.342 ms) : 0, 3342
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.62.0-SNAPSHOT~d2a99acb95, baseline=1.62.0-SNAPSHOT~9d737609c4

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.066 s) : 0, 1066420
Total [baseline] (11.099 s) : 0, 11098645
Agent [candidate] (1.065 s) : 0, 1065444
Total [candidate] (11.117 s) : 0, 11117259
section appsec
Agent [baseline] (1.265 s) : 0, 1264539
Total [baseline] (11.041 s) : 0, 11041465
Agent [candidate] (1.271 s) : 0, 1270631
Total [candidate] (11.045 s) : 0, 11045269
section iast
Agent [baseline] (1.244 s) : 0, 1243879
Total [baseline] (11.349 s) : 0, 11348554
Agent [candidate] (1.246 s) : 0, 1246322
Total [candidate] (11.222 s) : 0, 11222125
section profiling
Agent [baseline] (1.196 s) : 0, 1195660
Total [baseline] (11.104 s) : 0, 11103668
Agent [candidate] (1.196 s) : 0, 1196232
Total [candidate] (11.152 s) : 0, 11152024
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.066 s -
Agent appsec 1.265 s 198.119 ms (18.6%)
Agent iast 1.244 s 177.459 ms (16.6%)
Agent profiling 1.196 s 129.24 ms (12.1%)
Total tracing 11.099 s -
Total appsec 11.041 s -57.18 ms (-0.5%)
Total iast 11.349 s 249.908 ms (2.3%)
Total profiling 11.104 s 5.023 ms (0.0%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.065 s -
Agent appsec 1.271 s 205.187 ms (19.3%)
Agent iast 1.246 s 180.878 ms (17.0%)
Agent profiling 1.196 s 130.787 ms (12.3%)
Total tracing 11.117 s -
Total appsec 11.045 s -71.99 ms (-0.6%)
Total iast 11.222 s 104.865 ms (0.9%)
Total profiling 11.152 s 34.764 ms (0.3%)
gantt
    title petclinic - break down per module: candidate=1.62.0-SNAPSHOT~d2a99acb95, baseline=1.62.0-SNAPSHOT~9d737609c4

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.219 ms) : 0, 1219
crashtracking [candidate] (1.238 ms) : 0, 1238
BytebuddyAgent [baseline] (636.428 ms) : 0, 636428
BytebuddyAgent [candidate] (635.85 ms) : 0, 635850
AgentMeter [baseline] (29.587 ms) : 0, 29587
AgentMeter [candidate] (29.495 ms) : 0, 29495
GlobalTracer [baseline] (249.091 ms) : 0, 249091
GlobalTracer [candidate] (248.983 ms) : 0, 248983
AppSec [baseline] (32.781 ms) : 0, 32781
AppSec [candidate] (32.832 ms) : 0, 32832
Debugger [baseline] (60.82 ms) : 0, 60820
Debugger [candidate] (60.565 ms) : 0, 60565
Remote Config [baseline] (601.366 µs) : 0, 601
Remote Config [candidate] (594.106 µs) : 0, 594
Telemetry [baseline] (8.431 ms) : 0, 8431
Telemetry [candidate] (9.905 ms) : 0, 9905
Flare Poller [baseline] (11.378 ms) : 0, 11378
Flare Poller [candidate] (9.84 ms) : 0, 9840
section appsec
crashtracking [baseline] (1.215 ms) : 0, 1215
crashtracking [candidate] (1.241 ms) : 0, 1241
BytebuddyAgent [baseline] (675.233 ms) : 0, 675233
BytebuddyAgent [candidate] (677.973 ms) : 0, 677973
AgentMeter [baseline] (12.224 ms) : 0, 12224
AgentMeter [candidate] (12.316 ms) : 0, 12316
GlobalTracer [baseline] (249.498 ms) : 0, 249498
GlobalTracer [candidate] (251.015 ms) : 0, 251015
AppSec [baseline] (185.048 ms) : 0, 185048
AppSec [candidate] (185.822 ms) : 0, 185822
Debugger [baseline] (64.829 ms) : 0, 64829
Debugger [candidate] (64.875 ms) : 0, 64875
Remote Config [baseline] (566.625 µs) : 0, 567
Remote Config [candidate] (565.2 µs) : 0, 565
Telemetry [baseline] (7.851 ms) : 0, 7851
Telemetry [candidate] (7.816 ms) : 0, 7816
Flare Poller [baseline] (6.77 ms) : 0, 6770
Flare Poller [candidate] (6.768 ms) : 0, 6768
IAST [baseline] (24.643 ms) : 0, 24643
IAST [candidate] (24.894 ms) : 0, 24894
section iast
crashtracking [baseline] (1.221 ms) : 0, 1221
crashtracking [candidate] (1.224 ms) : 0, 1224
BytebuddyAgent [baseline] (822.868 ms) : 0, 822868
BytebuddyAgent [candidate] (824.757 ms) : 0, 824757
AgentMeter [baseline] (11.323 ms) : 0, 11323
AgentMeter [candidate] (11.324 ms) : 0, 11324
GlobalTracer [baseline] (237.918 ms) : 0, 237918
GlobalTracer [candidate] (238.281 ms) : 0, 238281
AppSec [baseline] (32.315 ms) : 0, 32315
AppSec [candidate] (30.58 ms) : 0, 30580
Debugger [baseline] (63.145 ms) : 0, 63145
Debugger [candidate] (62.997 ms) : 0, 62997
Remote Config [baseline] (513.873 µs) : 0, 514
Remote Config [candidate] (515.604 µs) : 0, 516
Telemetry [baseline] (7.91 ms) : 0, 7910
Telemetry [candidate] (7.863 ms) : 0, 7863
Flare Poller [baseline] (3.362 ms) : 0, 3362
Flare Poller [candidate] (3.448 ms) : 0, 3448
IAST [baseline] (27.224 ms) : 0, 27224
IAST [candidate] (29.153 ms) : 0, 29153
section profiling
ProfilingAgent [baseline] (94.105 ms) : 0, 94105
ProfilingAgent [candidate] (94.668 ms) : 0, 94668
crashtracking [baseline] (1.19 ms) : 0, 1190
crashtracking [candidate] (1.18 ms) : 0, 1180
BytebuddyAgent [baseline] (697.576 ms) : 0, 697576
BytebuddyAgent [candidate] (697.922 ms) : 0, 697922
AgentMeter [baseline] (8.979 ms) : 0, 8979
AgentMeter [candidate] (9.004 ms) : 0, 9004
GlobalTracer [baseline] (209.854 ms) : 0, 209854
GlobalTracer [candidate] (209.906 ms) : 0, 209906
AppSec [baseline] (33.185 ms) : 0, 33185
AppSec [candidate] (33.046 ms) : 0, 33046
Debugger [baseline] (66.609 ms) : 0, 66609
Debugger [candidate] (65.462 ms) : 0, 65462
Remote Config [baseline] (571.403 µs) : 0, 571
Remote Config [candidate] (579.944 µs) : 0, 580
Telemetry [baseline] (8.038 ms) : 0, 8038
Telemetry [candidate] (8.844 ms) : 0, 8844
Flare Poller [baseline] (3.559 ms) : 0, 3559
Flare Poller [candidate] (3.579 ms) : 0, 3579
Profiling [baseline] (94.661 ms) : 0, 94661
Profiling [candidate] (95.223 ms) : 0, 95223
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master daniel.mohedano/bazel-telemetry-provider
git_commit_date 1777379592 1777386308
git_commit_sha 9d73760 d2a99ac
release_version 1.62.0-SNAPSHOT~9d737609c4 1.62.0-SNAPSHOT~d2a99acb95
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1777388593 1777388593
ci_job_id 1638056100 1638056100
ci_pipeline_id 110160271 110160271
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-2pyo60av 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-2pyo60av 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 1 performance improvements and 1 performance regressions! Performance is the same for 18 metrics, 16 unstable metrics.

scenario Δ mean agg_http_req_duration_p50 Δ mean agg_http_req_duration_p95 Δ mean throughput candidate mean agg_http_req_duration_p50 candidate mean agg_http_req_duration_p95 candidate mean throughput baseline mean agg_http_req_duration_p50 baseline mean agg_http_req_duration_p95 baseline mean throughput
scenario:load:insecure-bank:iast:high_load better
[-168.402µs; -70.707µs] or [-6.456%; -2.711%]
unsure
[-552.428µs; -93.805µs] or [-7.277%; -1.236%]
unstable
[-67.731op/s; +194.668op/s] or [-4.962%; +14.261%]
2.489ms 7.268ms 1428.469op/s 2.608ms 7.591ms 1365.000op/s
scenario:load:petclinic:no_agent:high_load worse
[+0.695ms; +2.066ms] or [+3.966%; +11.789%]
unstable
[+0.916ms; +4.129ms] or [+3.119%; +14.060%]
unstable
[-44.496op/s; +8.933op/s] or [-17.236%; +3.460%]
18.904ms 31.888ms 240.375op/s 17.524ms 29.366ms 258.156op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.62.0-SNAPSHOT~d2a99acb95, baseline=1.62.0-SNAPSHOT~9d737609c4
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.247 ms) : 1235, 1259
.   : milestone, 1247,
iast (3.353 ms) : 3304, 3403
.   : milestone, 3353,
iast_FULL (6.072 ms) : 6010, 6135
.   : milestone, 6072,
iast_GLOBAL (3.72 ms) : 3654, 3787
.   : milestone, 3720,
profiling (2.481 ms) : 2456, 2507
.   : milestone, 2481,
tracing (1.884 ms) : 1868, 1900
.   : milestone, 1884,
section candidate
no_agent (1.259 ms) : 1246, 1271
.   : milestone, 1259,
iast (3.201 ms) : 3160, 3242
.   : milestone, 3201,
iast_FULL (6.094 ms) : 6031, 6156
.   : milestone, 6094,
iast_GLOBAL (3.7 ms) : 3640, 3759
.   : milestone, 3700,
profiling (2.356 ms) : 2332, 2379
.   : milestone, 2356,
tracing (1.905 ms) : 1889, 1921
.   : milestone, 1905,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.247 ms [1.235 ms, 1.259 ms] -
iast 3.353 ms [3.304 ms, 3.403 ms] 2.106 ms (168.9%)
iast_FULL 6.072 ms [6.01 ms, 6.135 ms] 4.826 ms (387.0%)
iast_GLOBAL 3.72 ms [3.654 ms, 3.787 ms] 2.474 ms (198.4%)
profiling 2.481 ms [2.456 ms, 2.507 ms] 1.234 ms (99.0%)
tracing 1.884 ms [1.868 ms, 1.9 ms] 636.917 µs (51.1%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.259 ms [1.246 ms, 1.271 ms] -
iast 3.201 ms [3.16 ms, 3.242 ms] 1.942 ms (154.3%)
iast_FULL 6.094 ms [6.031 ms, 6.156 ms] 4.835 ms (384.1%)
iast_GLOBAL 3.7 ms [3.64 ms, 3.759 ms] 2.441 ms (193.9%)
profiling 2.356 ms [2.332 ms, 2.379 ms] 1.097 ms (87.1%)
tracing 1.905 ms [1.889 ms, 1.921 ms] 646.182 µs (51.3%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.62.0-SNAPSHOT~d2a99acb95, baseline=1.62.0-SNAPSHOT~9d737609c4
    dateFormat X
    axisFormat %s
section baseline
no_agent (18.076 ms) : 17894, 18259
.   : milestone, 18076,
appsec (18.982 ms) : 18789, 19176
.   : milestone, 18982,
code_origins (17.991 ms) : 17812, 18170
.   : milestone, 17991,
iast (18.204 ms) : 18026, 18383
.   : milestone, 18204,
profiling (18.486 ms) : 18302, 18670
.   : milestone, 18486,
tracing (18.271 ms) : 18089, 18454
.   : milestone, 18271,
section candidate
no_agent (19.417 ms) : 19214, 19619
.   : milestone, 19417,
appsec (18.74 ms) : 18554, 18926
.   : milestone, 18740,
code_origins (18.104 ms) : 17926, 18283
.   : milestone, 18104,
iast (17.937 ms) : 17764, 18110
.   : milestone, 17937,
profiling (18.649 ms) : 18463, 18834
.   : milestone, 18649,
tracing (17.922 ms) : 17743, 18100
.   : milestone, 17922,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.076 ms [17.894 ms, 18.259 ms] -
appsec 18.982 ms [18.789 ms, 19.176 ms] 906.343 µs (5.0%)
code_origins 17.991 ms [17.812 ms, 18.17 ms] -84.676 µs (-0.5%)
iast 18.204 ms [18.026 ms, 18.383 ms] 128.219 µs (0.7%)
profiling 18.486 ms [18.302 ms, 18.67 ms] 410.292 µs (2.3%)
tracing 18.271 ms [18.089 ms, 18.454 ms] 195.404 µs (1.1%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.417 ms [19.214 ms, 19.619 ms] -
appsec 18.74 ms [18.554 ms, 18.926 ms] -676.556 µs (-3.5%)
code_origins 18.104 ms [17.926 ms, 18.283 ms] -1.312 ms (-6.8%)
iast 17.937 ms [17.764 ms, 18.11 ms] -1.479 ms (-7.6%)
profiling 18.649 ms [18.463 ms, 18.834 ms] -768.025 µs (-4.0%)
tracing 17.922 ms [17.743 ms, 18.1 ms] -1.495 ms (-7.7%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master daniel.mohedano/bazel-telemetry-provider
git_commit_date 1777379592 1777386308
git_commit_sha 9d73760 d2a99ac
release_version 1.62.0-SNAPSHOT~9d737609c4 1.62.0-SNAPSHOT~d2a99acb95
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1777388311 1777388311
ci_job_id 1638056102 1638056102
ci_pipeline_id 110160271 110160271
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-2-2w52g1jf 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-2-2w52g1jf 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

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

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.62.0-SNAPSHOT~d2a99acb95, baseline=1.62.0-SNAPSHOT~9d737609c4
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.493 ms) : 1481, 1505
.   : milestone, 1493,
appsec (3.857 ms) : 3634, 4080
.   : milestone, 3857,
iast (2.29 ms) : 2220, 2360
.   : milestone, 2290,
iast_GLOBAL (2.332 ms) : 2262, 2402
.   : milestone, 2332,
profiling (2.131 ms) : 2076, 2186
.   : milestone, 2131,
tracing (2.108 ms) : 2054, 2163
.   : milestone, 2108,
section candidate
no_agent (1.498 ms) : 1487, 1510
.   : milestone, 1498,
appsec (3.849 ms) : 3625, 4072
.   : milestone, 3849,
iast (2.292 ms) : 2222, 2362
.   : milestone, 2292,
iast_GLOBAL (2.335 ms) : 2264, 2406
.   : milestone, 2335,
profiling (2.113 ms) : 2058, 2168
.   : milestone, 2113,
tracing (2.09 ms) : 2036, 2144
.   : milestone, 2090,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.493 ms [1.481 ms, 1.505 ms] -
appsec 3.857 ms [3.634 ms, 4.08 ms] 2.364 ms (158.3%)
iast 2.29 ms [2.22 ms, 2.36 ms] 797.112 µs (53.4%)
iast_GLOBAL 2.332 ms [2.262 ms, 2.402 ms] 838.836 µs (56.2%)
profiling 2.131 ms [2.076 ms, 2.186 ms] 638.025 µs (42.7%)
tracing 2.108 ms [2.054 ms, 2.163 ms] 615.193 µs (41.2%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.498 ms [1.487 ms, 1.51 ms] -
appsec 3.849 ms [3.625 ms, 4.072 ms] 2.35 ms (156.9%)
iast 2.292 ms [2.222 ms, 2.362 ms] 794.105 µs (53.0%)
iast_GLOBAL 2.335 ms [2.264 ms, 2.406 ms] 836.649 µs (55.8%)
profiling 2.113 ms [2.058 ms, 2.168 ms] 614.876 µs (41.0%)
tracing 2.09 ms [2.036 ms, 2.144 ms] 591.833 µs (39.5%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.62.0-SNAPSHOT~d2a99acb95, baseline=1.62.0-SNAPSHOT~9d737609c4
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.246 s) : 15246000, 15246000
.   : milestone, 15246000,
appsec (14.825 s) : 14825000, 14825000
.   : milestone, 14825000,
iast (18.188 s) : 18188000, 18188000
.   : milestone, 18188000,
iast_GLOBAL (18.069 s) : 18069000, 18069000
.   : milestone, 18069000,
profiling (14.874 s) : 14874000, 14874000
.   : milestone, 14874000,
tracing (14.921 s) : 14921000, 14921000
.   : milestone, 14921000,
section candidate
no_agent (15.117 s) : 15117000, 15117000
.   : milestone, 15117000,
appsec (14.471 s) : 14471000, 14471000
.   : milestone, 14471000,
iast (18.824 s) : 18824000, 18824000
.   : milestone, 18824000,
iast_GLOBAL (17.952 s) : 17952000, 17952000
.   : milestone, 17952000,
profiling (15.087 s) : 15087000, 15087000
.   : milestone, 15087000,
tracing (14.96 s) : 14960000, 14960000
.   : milestone, 14960000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.246 s [15.246 s, 15.246 s] -
appsec 14.825 s [14.825 s, 14.825 s] -421.0 ms (-2.8%)
iast 18.188 s [18.188 s, 18.188 s] 2.942 s (19.3%)
iast_GLOBAL 18.069 s [18.069 s, 18.069 s] 2.823 s (18.5%)
profiling 14.874 s [14.874 s, 14.874 s] -372.0 ms (-2.4%)
tracing 14.921 s [14.921 s, 14.921 s] -325.0 ms (-2.1%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.117 s [15.117 s, 15.117 s] -
appsec 14.471 s [14.471 s, 14.471 s] -646.0 ms (-4.3%)
iast 18.824 s [18.824 s, 18.824 s] 3.707 s (24.5%)
iast_GLOBAL 17.952 s [17.952 s, 17.952 s] 2.835 s (18.8%)
profiling 15.087 s [15.087 s, 15.087 s] -30.0 ms (-0.2%)
tracing 14.96 s [14.96 s, 14.96 s] -157.0 ms (-1.0%)

@daniel-mohedano daniel-mohedano added type: enhancement Enhancements and improvements comp: ci visibility Continuous Integration Visibility labels Apr 27, 2026
Base automatically changed from daniel.mohedano/bazel-support to master April 27, 2026 15:19
@daniel-mohedano daniel-mohedano marked this pull request as ready for review April 28, 2026 14:24
@daniel-mohedano daniel-mohedano requested review from a team as code owners April 28, 2026 14:24
@daniel-mohedano daniel-mohedano removed the request for review from a team April 28, 2026 14:24
@chatgpt-codex-connector
Copy link
Copy Markdown

💡 Codex Review

resolved = Paths.get(undeclaredOutputsDir).resolve("payloads");

P1 Badge Avoid java.nio during premain

When DD_TEST_OPTIMIZATION_PAYLOADS_IN_FILES is enabled, BazelMode is initialized from tracer startup paths such as CoreTracer/WriterFactory, so this Paths.get(...).resolve(...) runs during the agent's premain phase. The root AGENTS.md bootstrap constraints explicitly say premain code must not use java.nio.* because it triggers premature provider initialization; payload-in-files under -javaagent can therefore initialize NIO before the application is ready. Please use java.io.File/string path handling here or defer this resolution until after premain.


if (config.isCiVisibilityEnabled()
&& (config.isCiVisibilityAgentlessEnabled()
|| featuresDiscovery.supportsEvpProxy()
|| BazelMode.get().isPayloadFilesEnabled())) {

P1 Badge Short-circuit before agent discovery in file mode

In CI Visibility payloads-in-files mode, this branch is reached only after the constructor has already created sharedCommunicationObjects.featuresDiscovery(config) and called featuresDiscovery.discoverIfOutdated() above. In Bazel hermetic runs where this mode is selected specifically to avoid network, startup will still probe the Datadog Agent before switching to the file writer (and WriterFactory also creates discovery before its file-mode branch). Please detect payload-file mode before feature discovery and skip the agent probe when no network writer is needed.

ℹ️ 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".

@gh-worker-ownership-write-b05516 gh-worker-ownership-write-b05516 Bot removed the request for review from a team April 28, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: ci visibility Continuous Integration Visibility type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants