Skip to content

Conversation

@manuel-alvarez-alvarez
Copy link
Member

What Does This Do

Fixes ByteCountingInputStream when reading single bytes past EOF.

Motivation

Additional Notes

This PR was generated with CODEX with the following prompt:

Go through the codebase, find issues and propose one task to fix a typo, one task to fix a bug, one task to fix a code comment or documentation discrepancy, and one task to improve a test.

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@manuel-alvarez-alvarez manuel-alvarez-alvarez requested a review from a team as a code owner June 16, 2025 08:27
@manuel-alvarez-alvarez manuel-alvarez-alvarez added type: bug Bug report and fix comp: profiling Profiling tag: ai generated Largely based on code generated by an AI or LLM labels Jun 16, 2025
@pr-commenter
Copy link

pr-commenter bot commented Jun 16, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master malvarez/fix-byte-counting-is-eof
git_commit_date 1750920169 1750921538
git_commit_sha becbf2a 084a0d0
release_version 1.51.0-SNAPSHOT~becbf2a03c 1.51.0-SNAPSHOT~084a0d0e97
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1750923379 1750923379
ci_job_id 999447677 999447677
ci_pipeline_id 68817197 68817197
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-a1vxyzsw-project-304-concurrent-0-pchll7jr 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-a1vxyzsw-project-304-concurrent-0-pchll7jr 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 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 45 metrics, 8 unstable metrics.

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.51.0-SNAPSHOT~084a0d0e97, baseline=1.51.0-SNAPSHOT~becbf2a03c

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (993.545 ms) : 0, 993545
Total [baseline] (10.79 s) : 0, 10789901
Agent [candidate] (996.333 ms) : 0, 996333
Total [candidate] (10.643 s) : 0, 10642764
section appsec
Agent [baseline] (1.175 s) : 0, 1174949
Total [baseline] (10.686 s) : 0, 10686358
Agent [candidate] (1.174 s) : 0, 1174356
Total [candidate] (10.703 s) : 0, 10702617
section iast
Agent [baseline] (1.13 s) : 0, 1129507
Total [baseline] (10.824 s) : 0, 10824319
Agent [candidate] (1.136 s) : 0, 1135896
Total [candidate] (10.805 s) : 0, 10805473
section profiling
Agent [baseline] (1.244 s) : 0, 1244172
Total [baseline] (10.907 s) : 0, 10906755
Agent [candidate] (1.242 s) : 0, 1242196
Total [candidate] (10.937 s) : 0, 10937171
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 993.545 ms -
Agent appsec 1.175 s 181.403 ms (18.3%)
Agent iast 1.13 s 135.961 ms (13.7%)
Agent profiling 1.244 s 250.627 ms (25.2%)
Total tracing 10.79 s -
Total appsec 10.686 s -103.542 ms (-1.0%)
Total iast 10.824 s 34.419 ms (0.3%)
Total profiling 10.907 s 116.855 ms (1.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 996.333 ms -
Agent appsec 1.174 s 178.023 ms (17.9%)
Agent iast 1.136 s 139.563 ms (14.0%)
Agent profiling 1.242 s 245.863 ms (24.7%)
Total tracing 10.643 s -
Total appsec 10.703 s 59.852 ms (0.6%)
Total iast 10.805 s 162.709 ms (1.5%)
Total profiling 10.937 s 294.407 ms (2.8%)
gantt
    title petclinic - break down per module: candidate=1.51.0-SNAPSHOT~084a0d0e97, baseline=1.51.0-SNAPSHOT~becbf2a03c

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (685.732 ms) : 0, 685732
BytebuddyAgent [candidate] (686.401 ms) : 0, 686401
GlobalTracer [baseline] (241.971 ms) : 0, 241971
GlobalTracer [candidate] (243.597 ms) : 0, 243597
AppSec [baseline] (30.209 ms) : 0, 30209
AppSec [candidate] (30.562 ms) : 0, 30562
Debugger [baseline] (6.08 ms) : 0, 6080
Debugger [candidate] (6.069 ms) : 0, 6069
Remote Config [baseline] (663.99 µs) : 0, 664
Remote Config [candidate] (668.772 µs) : 0, 669
Telemetry [baseline] (8.186 ms) : 0, 8186
Telemetry [candidate] (8.242 ms) : 0, 8242
section appsec
BytebuddyAgent [baseline] (711.46 ms) : 0, 711460
BytebuddyAgent [candidate] (711.188 ms) : 0, 711188
GlobalTracer [baseline] (236.098 ms) : 0, 236098
GlobalTracer [candidate] (236.274 ms) : 0, 236274
AppSec [baseline] (169.806 ms) : 0, 169806
AppSec [candidate] (169.488 ms) : 0, 169488
Debugger [baseline] (5.796 ms) : 0, 5796
Debugger [candidate] (5.76 ms) : 0, 5760
Remote Config [baseline] (636.359 µs) : 0, 636
Remote Config [candidate] (604.383 µs) : 0, 604
Telemetry [baseline] (8.156 ms) : 0, 8156
Telemetry [candidate] (8.142 ms) : 0, 8142
IAST [baseline] (22.099 ms) : 0, 22099
IAST [candidate] (22.058 ms) : 0, 22058
section iast
BytebuddyAgent [baseline] (806.612 ms) : 0, 806612
BytebuddyAgent [candidate] (810.897 ms) : 0, 810897
GlobalTracer [baseline] (232.371 ms) : 0, 232371
GlobalTracer [candidate] (233.92 ms) : 0, 233920
AppSec [baseline] (26.032 ms) : 0, 26032
AppSec [candidate] (27.17 ms) : 0, 27170
Debugger [baseline] (5.818 ms) : 0, 5818
Debugger [candidate] (5.901 ms) : 0, 5901
Remote Config [baseline] (580.111 µs) : 0, 580
Remote Config [candidate] (586.184 µs) : 0, 586
Telemetry [baseline] (7.941 ms) : 0, 7941
Telemetry [candidate] (7.986 ms) : 0, 7986
IAST [baseline] (29.395 ms) : 0, 29395
IAST [candidate] (28.651 ms) : 0, 28651
section profiling
ProfilingAgent [baseline] (103.452 ms) : 0, 103452
ProfilingAgent [candidate] (102.396 ms) : 0, 102396
BytebuddyAgent [baseline] (678.121 ms) : 0, 678121
BytebuddyAgent [candidate] (677.759 ms) : 0, 677759
GlobalTracer [baseline] (361.142 ms) : 0, 361142
GlobalTracer [candidate] (360.647 ms) : 0, 360647
AppSec [baseline] (32.832 ms) : 0, 32832
AppSec [candidate] (31.402 ms) : 0, 31402
Debugger [baseline] (10.534 ms) : 0, 10534
Debugger [candidate] (10.501 ms) : 0, 10501
Remote Config [baseline] (653.311 µs) : 0, 653
Remote Config [candidate] (650.131 µs) : 0, 650
Telemetry [baseline] (8.725 ms) : 0, 8725
Telemetry [candidate] (10.28 ms) : 0, 10280
Profiling [baseline] (103.477 ms) : 0, 103477
Profiling [candidate] (102.42 ms) : 0, 102420
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.51.0-SNAPSHOT~084a0d0e97, baseline=1.51.0-SNAPSHOT~becbf2a03c

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.001 s) : 0, 1000566
Total [baseline] (8.545 s) : 0, 8545483
Agent [candidate] (996.828 ms) : 0, 996828
Total [candidate] (8.565 s) : 0, 8564529
section iast
Agent [baseline] (1.13 s) : 0, 1130019
Total [baseline] (9.29 s) : 0, 9290267
Agent [candidate] (1.147 s) : 0, 1146875
Total [candidate] (9.272 s) : 0, 9271917
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.001 s -
Agent iast 1.13 s 129.453 ms (12.9%)
Total tracing 8.545 s -
Total iast 9.29 s 744.784 ms (8.7%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 996.828 ms -
Agent iast 1.147 s 150.047 ms (15.1%)
Total tracing 8.565 s -
Total iast 9.272 s 707.388 ms (8.3%)
gantt
    title insecure-bank - break down per module: candidate=1.51.0-SNAPSHOT~084a0d0e97, baseline=1.51.0-SNAPSHOT~becbf2a03c

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (691.185 ms) : 0, 691185
BytebuddyAgent [candidate] (687.911 ms) : 0, 687911
GlobalTracer [baseline] (243.022 ms) : 0, 243022
GlobalTracer [candidate] (242.386 ms) : 0, 242386
AppSec [baseline] (30.543 ms) : 0, 30543
AppSec [candidate] (30.612 ms) : 0, 30612
Debugger [baseline] (6.11 ms) : 0, 6110
Debugger [candidate] (6.094 ms) : 0, 6094
Remote Config [baseline] (669.71 µs) : 0, 670
Remote Config [candidate] (668.485 µs) : 0, 668
Telemetry [baseline] (8.223 ms) : 0, 8223
Telemetry [candidate] (8.289 ms) : 0, 8289
section iast
BytebuddyAgent [baseline] (807.406 ms) : 0, 807406
BytebuddyAgent [candidate] (819.43 ms) : 0, 819430
GlobalTracer [baseline] (232.309 ms) : 0, 232309
GlobalTracer [candidate] (235.287 ms) : 0, 235287
IAST [baseline] (27.906 ms) : 0, 27906
IAST [candidate] (25.987 ms) : 0, 25987
AppSec [baseline] (27.477 ms) : 0, 27477
AppSec [candidate] (30.563 ms) : 0, 30563
Debugger [baseline] (5.8 ms) : 0, 5800
Debugger [candidate] (5.849 ms) : 0, 5849
Remote Config [baseline] (582.626 µs) : 0, 583
Remote Config [candidate] (587.591 µs) : 0, 588
Telemetry [baseline] (7.904 ms) : 0, 7904
Telemetry [candidate] (8.14 ms) : 0, 8140
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master malvarez/fix-byte-counting-is-eof
git_commit_date 1750920169 1750921538
git_commit_sha becbf2a 084a0d0
release_version 1.51.0-SNAPSHOT~becbf2a03c 1.51.0-SNAPSHOT~084a0d0e97
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1750923066 1750923066
ci_job_id 999447678 999447678
ci_pipeline_id 68817197 68817197
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-a1vxyzsw-project-304-concurrent-1-u6nv9dmo 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-a1vxyzsw-project-304-concurrent-1-u6nv9dmo 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

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

scenario Δ mean http_req_duration Δ mean throughput candidate mean http_req_duration candidate mean throughput baseline mean http_req_duration baseline mean throughput
scenario:load:petclinic:appsec:high_load better
[-2.645ms; -1.742ms] or [-5.456%; -3.594%]
unstable
[-2.398op/s; +11.573op/s] or [-2.485%; +11.993%]
46.285ms 101.088op/s 48.479ms 96.500op/s
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.51.0-SNAPSHOT~084a0d0e97, baseline=1.51.0-SNAPSHOT~becbf2a03c
    dateFormat X
    axisFormat %s
section baseline
no_agent (37.183 ms) : 36873, 37493
.   : milestone, 37183,
appsec (48.479 ms) : 48044, 48914
.   : milestone, 48479,
code_origins (45.507 ms) : 45126, 45887
.   : milestone, 45507,
iast (44.08 ms) : 43692, 44467
.   : milestone, 44080,
profiling (47.765 ms) : 47319, 48210
.   : milestone, 47765,
tracing (42.747 ms) : 42403, 43090
.   : milestone, 42747,
section candidate
no_agent (37.236 ms) : 36925, 37547
.   : milestone, 37236,
appsec (46.285 ms) : 45882, 46689
.   : milestone, 46285,
code_origins (45.49 ms) : 45120, 45860
.   : milestone, 45490,
iast (44.228 ms) : 43842, 44613
.   : milestone, 44228,
profiling (47.576 ms) : 47118, 48033
.   : milestone, 47576,
tracing (43.32 ms) : 42956, 43684
.   : milestone, 43320,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.183 ms [36.873 ms, 37.493 ms] -
appsec 48.479 ms [48.044 ms, 48.914 ms] 11.296 ms (30.4%)
code_origins 45.507 ms [45.126 ms, 45.887 ms] 8.324 ms (22.4%)
iast 44.08 ms [43.692 ms, 44.467 ms] 6.897 ms (18.5%)
profiling 47.765 ms [47.319 ms, 48.21 ms] 10.582 ms (28.5%)
tracing 42.747 ms [42.403 ms, 43.09 ms] 5.564 ms (15.0%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.236 ms [36.925 ms, 37.547 ms] -
appsec 46.285 ms [45.882 ms, 46.689 ms] 9.049 ms (24.3%)
code_origins 45.49 ms [45.12 ms, 45.86 ms] 8.254 ms (22.2%)
iast 44.228 ms [43.842 ms, 44.613 ms] 6.992 ms (18.8%)
profiling 47.576 ms [47.118 ms, 48.033 ms] 10.339 ms (27.8%)
tracing 43.32 ms [42.956 ms, 43.684 ms] 6.083 ms (16.3%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.51.0-SNAPSHOT~084a0d0e97, baseline=1.51.0-SNAPSHOT~becbf2a03c
    dateFormat X
    axisFormat %s
section baseline
no_agent (4.453 ms) : 4397, 4509
.   : milestone, 4453,
iast (9.102 ms) : 8948, 9257
.   : milestone, 9102,
iast_FULL (13.817 ms) : 13551, 14083
.   : milestone, 13817,
iast_GLOBAL (10.22 ms) : 10041, 10398
.   : milestone, 10220,
profiling (8.752 ms) : 8618, 8886
.   : milestone, 8752,
tracing (7.305 ms) : 7200, 7409
.   : milestone, 7305,
section candidate
no_agent (4.434 ms) : 4378, 4490
.   : milestone, 4434,
iast (9.207 ms) : 9049, 9366
.   : milestone, 9207,
iast_FULL (14.353 ms) : 14073, 14633
.   : milestone, 14353,
iast_GLOBAL (9.92 ms) : 9737, 10104
.   : milestone, 9920,
profiling (9.014 ms) : 8868, 9159
.   : milestone, 9014,
tracing (7.538 ms) : 7434, 7643
.   : milestone, 7538,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.453 ms [4.397 ms, 4.509 ms] -
iast 9.102 ms [8.948 ms, 9.257 ms] 4.649 ms (104.4%)
iast_FULL 13.817 ms [13.551 ms, 14.083 ms] 9.364 ms (210.3%)
iast_GLOBAL 10.22 ms [10.041 ms, 10.398 ms] 5.767 ms (129.5%)
profiling 8.752 ms [8.618 ms, 8.886 ms] 4.299 ms (96.5%)
tracing 7.305 ms [7.2 ms, 7.409 ms] 2.852 ms (64.0%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.434 ms [4.378 ms, 4.49 ms] -
iast 9.207 ms [9.049 ms, 9.366 ms] 4.773 ms (107.6%)
iast_FULL 14.353 ms [14.073 ms, 14.633 ms] 9.919 ms (223.7%)
iast_GLOBAL 9.92 ms [9.737 ms, 10.104 ms] 5.486 ms (123.7%)
profiling 9.014 ms [8.868 ms, 9.159 ms] 4.58 ms (103.3%)
tracing 7.538 ms [7.434 ms, 7.643 ms] 3.104 ms (70.0%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master malvarez/fix-byte-counting-is-eof
git_commit_date 1750920169 1750921538
git_commit_sha becbf2a 084a0d0
release_version 1.51.0-SNAPSHOT~becbf2a03c 1.51.0-SNAPSHOT~084a0d0e97
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1750923539 1750923539
ci_job_id 999447679 999447679
ci_pipeline_id 68817197 68817197
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-a1vxyzsw-project-304-concurrent-2-i0xacyzk 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-a1vxyzsw-project-304-concurrent-2-i0xacyzk 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

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

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.51.0-SNAPSHOT~084a0d0e97, baseline=1.51.0-SNAPSHOT~becbf2a03c
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.473 ms) : 1462, 1485
.   : milestone, 1473,
appsec (2.396 ms) : 2347, 2444
.   : milestone, 2396,
iast (2.183 ms) : 2122, 2245
.   : milestone, 2183,
iast_GLOBAL (2.232 ms) : 2169, 2294
.   : milestone, 2232,
profiling (2.022 ms) : 1973, 2071
.   : milestone, 2022,
tracing (1.999 ms) : 1951, 2046
.   : milestone, 1999,
section candidate
no_agent (1.471 ms) : 1459, 1482
.   : milestone, 1471,
appsec (2.393 ms) : 2344, 2441
.   : milestone, 2393,
iast (2.187 ms) : 2125, 2249
.   : milestone, 2187,
iast_GLOBAL (2.224 ms) : 2162, 2286
.   : milestone, 2224,
profiling (2.011 ms) : 1962, 2060
.   : milestone, 2011,
tracing (1.993 ms) : 1946, 2040
.   : milestone, 1993,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.473 ms [1.462 ms, 1.485 ms] -
appsec 2.396 ms [2.347 ms, 2.444 ms] 922.333 µs (62.6%)
iast 2.183 ms [2.122 ms, 2.245 ms] 710.203 µs (48.2%)
iast_GLOBAL 2.232 ms [2.169 ms, 2.294 ms] 758.279 µs (51.5%)
profiling 2.022 ms [1.973 ms, 2.071 ms] 548.966 µs (37.3%)
tracing 1.999 ms [1.951 ms, 2.046 ms] 525.47 µs (35.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.471 ms [1.459 ms, 1.482 ms] -
appsec 2.393 ms [2.344 ms, 2.441 ms] 921.852 µs (62.7%)
iast 2.187 ms [2.125 ms, 2.249 ms] 716.295 µs (48.7%)
iast_GLOBAL 2.224 ms [2.162 ms, 2.286 ms] 753.482 µs (51.2%)
profiling 2.011 ms [1.962 ms, 2.06 ms] 540.461 µs (36.7%)
tracing 1.993 ms [1.946 ms, 2.04 ms] 521.922 µs (35.5%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.51.0-SNAPSHOT~084a0d0e97, baseline=1.51.0-SNAPSHOT~becbf2a03c
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.571 s) : 15571000, 15571000
.   : milestone, 15571000,
appsec (14.886 s) : 14886000, 14886000
.   : milestone, 14886000,
iast (18.941 s) : 18941000, 18941000
.   : milestone, 18941000,
iast_GLOBAL (18.213 s) : 18213000, 18213000
.   : milestone, 18213000,
profiling (15.813 s) : 15813000, 15813000
.   : milestone, 15813000,
tracing (15.033 s) : 15033000, 15033000
.   : milestone, 15033000,
section candidate
no_agent (14.968 s) : 14968000, 14968000
.   : milestone, 14968000,
appsec (14.883 s) : 14883000, 14883000
.   : milestone, 14883000,
iast (18.237 s) : 18237000, 18237000
.   : milestone, 18237000,
iast_GLOBAL (17.939 s) : 17939000, 17939000
.   : milestone, 17939000,
profiling (15.174 s) : 15174000, 15174000
.   : milestone, 15174000,
tracing (14.967 s) : 14967000, 14967000
.   : milestone, 14967000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.571 s [15.571 s, 15.571 s] -
appsec 14.886 s [14.886 s, 14.886 s] -685.0 ms (-4.4%)
iast 18.941 s [18.941 s, 18.941 s] 3.37 s (21.6%)
iast_GLOBAL 18.213 s [18.213 s, 18.213 s] 2.642 s (17.0%)
profiling 15.813 s [15.813 s, 15.813 s] 242.0 ms (1.6%)
tracing 15.033 s [15.033 s, 15.033 s] -538.0 ms (-3.5%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.968 s [14.968 s, 14.968 s] -
appsec 14.883 s [14.883 s, 14.883 s] -85.0 ms (-0.6%)
iast 18.237 s [18.237 s, 18.237 s] 3.269 s (21.8%)
iast_GLOBAL 17.939 s [17.939 s, 17.939 s] 2.971 s (19.8%)
profiling 15.174 s [15.174 s, 15.174 s] 206.0 ms (1.4%)
tracing 14.967 s [14.967 s, 14.967 s] -1.0 ms (-0.0%)

@manuel-alvarez-alvarez manuel-alvarez-alvarez force-pushed the malvarez/fix-byte-counting-is-eof branch from fef357e to 084a0d0 Compare June 26, 2025 07:05
@manuel-alvarez-alvarez manuel-alvarez-alvarez merged commit 63b52b4 into master Jun 26, 2025
508 checks passed
@manuel-alvarez-alvarez manuel-alvarez-alvarez deleted the malvarez/fix-byte-counting-is-eof branch June 26, 2025 09:34
@github-actions github-actions bot added this to the 1.51.0 milestone Jun 26, 2025
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Jul 10, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
|
[com.google.errorprone:error_prone_annotations](https://errorprone.info)
([source](https://github.com/google/error-prone)) | dependencies |
misk/gradle/libs.versions.toml | gradle | minor | `2.39.0` -> `2.40.0` |
|
[org.apache.commons:commons-lang3](https://commons.apache.org/proper/commons-lang/)
([source](https://gitbox.apache.org/repos/asf/commons-lang.git)) |
dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`3.17.0` -> `3.18.0` |
|
[org.jetbrains.kotlinx.binary-compatibility-validator](https://github.com/Kotlin/binary-compatibility-validator)
| plugin | misk/gradle/libs.versions.toml | gradle | patch | `0.18.0` ->
`0.18.1` |
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.50.1` -> `1.51.0` |
| [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
| [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
|
[software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
| [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
| [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
| [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
| [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |

---

### Release Notes

<details>
<summary>google/error-prone
(com.google.errorprone:error_prone_annotations)</summary>

###
[`v2.40.0`](https://github.com/google/error-prone/releases/tag/v2.40.0):
Error Prone 2.40.0

Changes:

- Bug fixes and improvements
- Releases (including snapshots) have migrated from [OSSRH to the
Central Publisher
Portal](https://central.sonatype.org/pages/ossrh-eol/#process-to-migrate)

Full changelog:
google/error-prone@v2.39.0...v2.40.0

</details>

<details>
<summary>Kotlin/binary-compatibility-validator
(org.jetbrains.kotlinx.binary-compatibility-validator)</summary>

###
[`v0.18.1`](https://github.com/Kotlin/binary-compatibility-validator/releases/tag/0.18.1)

[Compare
Source](Kotlin/binary-compatibility-validator@0.18.0...0.18.1)

#### What's Changed

- Fixed a bug preventing use of cross-compilation support during KLIB
dump validation
\[[#&#8203;304](https://github.com/Kotlin/binary-compatibility-validator/issues/304)]\[[#&#8203;306](https://github.com/Kotlin/binary-compatibility-validator/issues/306)]

</details>

<details>
<summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary>

###
[`v1.51.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.51.0):
1.51.0

### Components

#### Application Security Management (IAST)

- 🐛 Fix verify error when ctor params are used after a call site
([#&#8203;9083](DataDog/dd-trace-java#9083) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- 🐛 Limit the maximum size of the location path in IAST
vulnerabilities
([#&#8203;9028](DataDog/dd-trace-java#9028) -
[@&#8203;jandro996](https://github.com/jandro996))
- 🐛 Fix IAST gRPC handler with null superclass
([#&#8203;8984](DataDog/dd-trace-java#8984) -
[@&#8203;smola](https://github.com/smola))
- ✨ Optimize IAST Vulnerability Detection
([#&#8203;8885](DataDog/dd-trace-java#8885) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Application Security Management (WAF)

- ✨ Upgrade libddwaf-java to 15.0.0
([#&#8203;9022](DataDog/dd-trace-java#9022) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))
- ✨ Extract RestEasy json body response schemas
([#&#8203;9015](DataDog/dd-trace-java#9015) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Extract Jersey json body response schemas
([#&#8203;9014](DataDog/dd-trace-java#9014) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Extract Ratpack json body response schemas
([#&#8203;9013](DataDog/dd-trace-java#9013) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Enable API Security by default and make it lazy loading
([#&#8203;9009](DataDog/dd-trace-java#9009) -
[@&#8203;smola](https://github.com/smola))
- ✨ Extract Vert.x json body response schemas
([#&#8203;9001](DataDog/dd-trace-java#9001) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Extract Play json body response schemas
([#&#8203;8995](DataDog/dd-trace-java#8995) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- 🐛 Fix Jackson nodes introspection for request/response schema
extraction
([#&#8203;8980](DataDog/dd-trace-java#8980) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Extract Spring json body response schemas
([#&#8203;8938](DataDog/dd-trace-java#8938) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))
- ✨ Default obfuscation regexp update
([#&#8203;8937](DataDog/dd-trace-java#8937) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))

#### Build & Tooling

- ✨ Cancel GitLab running pipeline on new PR push
([#&#8203;9023](DataDog/dd-trace-java#9023) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨ Migrate publishing to Maven Central Portal
([#&#8203;8807](DataDog/dd-trace-java#8807) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))

#### Continuous Integration Visibility

- 🐛 Fix Test Optimization to work with JDK 24
([#&#8203;9114](DataDog/dd-trace-java#9114) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨ Add repo root as safe directory on git client creation
([#&#8203;9033](DataDog/dd-trace-java#9033) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Add PR number tag and improve PR information building
([#&#8203;8990](DataDog/dd-trace-java#8990) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Update impacted tests logic
([#&#8203;8923](DataDog/dd-trace-java#8923) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))

#### Data Streams Monitoring

- 🧹 Clean up DSM context injection
([#&#8203;8776](DataDog/dd-trace-java#8776) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Database Monitoring

- 🐛 Set trace\_injected in try block
([#&#8203;9025](DataDog/dd-trace-java#9025) -
[@&#8203;natashadada](https://github.com/natashadada))

#### Dynamic Instrumentation

- 🐛 Add source file tracking enable option
([#&#8203;9115](DataDog/dd-trace-java#9115) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Add java.util.Date support
([#&#8203;9111](DataDog/dd-trace-java#9111) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Update file probe format
([#&#8203;9047](DataDog/dd-trace-java#9047) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ add safe local var hoisting
([#&#8203;9034](DataDog/dd-trace-java#9034) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🧹 Add new config for debugger upload interval
([#&#8203;8959](DataDog/dd-trace-java#8959) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Enable Code Origin with Dynamic instrumentation
([#&#8203;8940](DataDog/dd-trace-java#8940) -
[@&#8203;jpbempel](https://github.com/jpbempel))

#### ML Observability (LLMObs)

- 💡 LLM Observability SDK
([#&#8203;8781](DataDog/dd-trace-java#8781) -
[@&#8203;gary-huang](https://github.com/gary-huang),
[@&#8203;nayeem-kamal](https://github.com/nayeem-kamal))

#### Metrics

- 🐛 Ensure client stat reporter is started when the agent is not
available at bootstrap
([#&#8203;9082](DataDog/dd-trace-java#9082) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Create metric: appsec.waf.config\_errors
([#&#8203;8394](DataDog/dd-trace-java#8394) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))

#### Platform components

- ✨ Introduce environment component
([#&#8203;9071](DataDog/dd-trace-java#9071) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Profiling

- 🐛 Remove annoying warning for smap event parsing
([#&#8203;9119](DataDog/dd-trace-java#9119) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- 🐛 Fix ByteCountingInputStream when reading past EOF
([#&#8203;8988](DataDog/dd-trace-java#8988) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))

#### Realtime User Monitoring

- ✨ Add RUM SDK injection for servlet based web servers
([#&#8203;9110](DataDog/dd-trace-java#9110) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer)
[@&#8203;amarziali](https://github.com/amarziali))

#### Telemetry

- ✨ Update the config origin metric to match what it's mapping
([#&#8203;9045](DataDog/dd-trace-java#9045) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))

#### Testing

- ✨ Add testing for latest stable version (JDK 24)
([#&#8203;8875](DataDog/dd-trace-java#8875) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))

#### Trace context propagation

- 🐛 Fix bug with dropping baggage when
`TracePropagationBehaviorExtract=IGNORE`
([#&#8203;9037](DataDog/dd-trace-java#9037) -
[@&#8203;mhlidd](https://github.com/mhlidd))
- 🐛 Fix ArrayIndexOutOfBoundsException in PercentEscaper
([#&#8203;9032](DataDog/dd-trace-java#9032) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### Tracer core

- 🐛 Fix `Error` handling for trace interceptors
([#&#8203;9097](DataDog/dd-trace-java#9097) -
[@&#8203;AlexeyKuznetsov-DD](https://github.com/AlexeyKuznetsov-DD))
- 💡 Add wildcard feature for `DD_TRACE_HEADER_TAGS` and enabling
for Http Response headers
([#&#8203;9067](DataDog/dd-trace-java#9067) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### Tracer public API

- 💡 Add LLM Observability SDK
([#&#8203;8781](DataDog/dd-trace-java#8781) -
[@&#8203;gary-huang](https://github.com/gary-huang))

### Instrumentations

#### Akka instrumentation

- 🐛 Fix NPE in akka-http and pekko-http integrations
([#&#8203;9019](DataDog/dd-trace-java#9019) -
[@&#8203;mcculls](https://github.com/mcculls))

#### Eclipse Vert.x instrumentation

- ✨ Extract Vert.x json body response schemas
([#&#8203;9001](DataDog/dd-trace-java#9001) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Write http.route tag as soon as possible in vert.x
([#&#8203;8952](DataDog/dd-trace-java#8952) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))

#### JAX-WS instrumentation

- 💡⚠️ Enable jax-ws integration by default
([#&#8203;9030](DataDog/dd-trace-java#9030) -
[@&#8203;bm1549](https://github.com/bm1549))
- ✨ Extract Jersey json body response schemas
([#&#8203;9014](DataDog/dd-trace-java#9014) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Mule instrumentation

- 🐛 Propagate grizzly http span in filters if nothing is active
([#&#8203;9016](DataDog/dd-trace-java#9016) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Play Framework instrumentation

- ✨ Extract Play json body response schemas
([#&#8203;8995](DataDog/dd-trace-java#8995) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))

#### Ratpack instrumentation

- ✨ Extract Ratpack json body response schemas
([#&#8203;9013](DataDog/dd-trace-java#9013) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))

#### Spring instrumentation

- ✨ Extract Spring json body response schemas
([#&#8203;8938](DataDog/dd-trace-java#8938) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, Automerge - At any time
(no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

GitOrigin-RevId: 649b690d4c9d7dcb572c457f0802b42b8e3e682e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: profiling Profiling tag: ai generated Largely based on code generated by an AI or LLM type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants