Add custom dependency resolution to JUnit5 avoiding prereleases#10167
Merged
daniel-mohedano merged 2 commits intomasterfrom Dec 11, 2025
Merged
Add custom dependency resolution to JUnit5 avoiding prereleases#10167daniel-mohedano merged 2 commits intomasterfrom
daniel-mohedano merged 2 commits intomasterfrom
Conversation
nikita-tkachenko-datadog
approved these changes
Dec 11, 2025
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 60 metrics, 5 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.57.0-SNAPSHOT~c9b00b2fa6, baseline=1.57.0-SNAPSHOT~f38cc2ee7a
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.086 s) : 0, 1086353
Total [baseline] (10.917 s) : 0, 10917046
Agent [candidate] (1.082 s) : 0, 1082005
Total [candidate] (10.911 s) : 0, 10910787
section appsec
Agent [baseline] (1.263 s) : 0, 1263186
Total [baseline] (11.097 s) : 0, 11096982
Agent [candidate] (1.272 s) : 0, 1271929
Total [candidate] (11.146 s) : 0, 11146027
section iast
Agent [baseline] (1.221 s) : 0, 1220650
Total [baseline] (11.194 s) : 0, 11194218
Agent [candidate] (1.22 s) : 0, 1219916
Total [candidate] (11.205 s) : 0, 11205386
section profiling
Agent [baseline] (1.209 s) : 0, 1208805
Total [baseline] (11.073 s) : 0, 11073105
Agent [candidate] (1.213 s) : 0, 1212939
Total [candidate] (11.095 s) : 0, 11095468
gantt
title petclinic - break down per module: candidate=1.57.0-SNAPSHOT~c9b00b2fa6, baseline=1.57.0-SNAPSHOT~f38cc2ee7a
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.209 ms) : 0, 1209
crashtracking [candidate] (1.208 ms) : 0, 1208
BytebuddyAgent [baseline] (651.809 ms) : 0, 651809
BytebuddyAgent [candidate] (648.97 ms) : 0, 648970
GlobalTracer [baseline] (283.157 ms) : 0, 283157
GlobalTracer [candidate] (282.038 ms) : 0, 282038
AppSec [baseline] (32.508 ms) : 0, 32508
AppSec [candidate] (32.451 ms) : 0, 32451
Debugger [baseline] (68.613 ms) : 0, 68613
Debugger [candidate] (68.376 ms) : 0, 68376
Remote Config [baseline] (636.29 µs) : 0, 636
Remote Config [candidate] (634.863 µs) : 0, 635
Telemetry [baseline] (9.01 ms) : 0, 9010
Telemetry [candidate] (9.079 ms) : 0, 9079
Flare Poller [baseline] (3.71 ms) : 0, 3710
Flare Poller [candidate] (3.731 ms) : 0, 3731
section appsec
crashtracking [baseline] (1.196 ms) : 0, 1196
crashtracking [candidate] (1.201 ms) : 0, 1201
BytebuddyAgent [baseline] (688.132 ms) : 0, 688132
BytebuddyAgent [candidate] (693.169 ms) : 0, 693169
GlobalTracer [baseline] (258.667 ms) : 0, 258667
GlobalTracer [candidate] (260.781 ms) : 0, 260781
AppSec [baseline] (174.643 ms) : 0, 174643
AppSec [candidate] (175.448 ms) : 0, 175448
Debugger [baseline] (66.754 ms) : 0, 66754
Debugger [candidate] (67.26 ms) : 0, 67260
Remote Config [baseline] (714.191 µs) : 0, 714
Remote Config [candidate] (732.805 µs) : 0, 733
Telemetry [baseline] (9.074 ms) : 0, 9074
Telemetry [candidate] (8.954 ms) : 0, 8954
Flare Poller [baseline] (3.926 ms) : 0, 3926
Flare Poller [candidate] (3.935 ms) : 0, 3935
IAST [baseline] (24.575 ms) : 0, 24575
IAST [candidate] (24.8 ms) : 0, 24800
section iast
crashtracking [baseline] (1.209 ms) : 0, 1209
crashtracking [candidate] (1.187 ms) : 0, 1187
BytebuddyAgent [baseline] (789.151 ms) : 0, 789151
BytebuddyAgent [candidate] (788.633 ms) : 0, 788633
GlobalTracer [baseline] (255.303 ms) : 0, 255303
GlobalTracer [candidate] (255.093 ms) : 0, 255093
AppSec [baseline] (35.248 ms) : 0, 35248
AppSec [candidate] (35.246 ms) : 0, 35246
Debugger [baseline] (65.282 ms) : 0, 65282
Debugger [candidate] (65.407 ms) : 0, 65407
Remote Config [baseline] (548.601 µs) : 0, 549
Remote Config [candidate] (537.706 µs) : 0, 538
Telemetry [baseline] (8.423 ms) : 0, 8423
Telemetry [candidate] (8.378 ms) : 0, 8378
Flare Poller [baseline] (3.463 ms) : 0, 3463
Flare Poller [candidate] (3.396 ms) : 0, 3396
IAST [baseline] (26.747 ms) : 0, 26747
IAST [candidate] (26.785 ms) : 0, 26785
section profiling
crashtracking [baseline] (1.204 ms) : 0, 1204
crashtracking [candidate] (1.2 ms) : 0, 1200
BytebuddyAgent [baseline] (703.339 ms) : 0, 703339
BytebuddyAgent [candidate] (707.488 ms) : 0, 707488
GlobalTracer [baseline] (221.789 ms) : 0, 221789
GlobalTracer [candidate] (221.948 ms) : 0, 221948
AppSec [baseline] (32.492 ms) : 0, 32492
AppSec [candidate] (32.531 ms) : 0, 32531
Debugger [baseline] (68.4 ms) : 0, 68400
Debugger [candidate] (68.728 ms) : 0, 68728
Remote Config [baseline] (661.26 µs) : 0, 661
Remote Config [candidate] (623.454 µs) : 0, 623
Telemetry [baseline] (9.058 ms) : 0, 9058
Telemetry [candidate] (8.945 ms) : 0, 8945
Flare Poller [baseline] (3.868 ms) : 0, 3868
Flare Poller [candidate] (3.722 ms) : 0, 3722
ProfilingAgent [baseline] (98.41 ms) : 0, 98410
ProfilingAgent [candidate] (97.685 ms) : 0, 97685
Profiling [baseline] (98.988 ms) : 0, 98988
Profiling [candidate] (98.265 ms) : 0, 98265
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.57.0-SNAPSHOT~c9b00b2fa6, baseline=1.57.0-SNAPSHOT~f38cc2ee7a
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.079 s) : 0, 1079076
Total [baseline] (8.775 s) : 0, 8774612
Agent [candidate] (1.084 s) : 0, 1084303
Total [candidate] (8.775 s) : 0, 8774523
section iast
Agent [baseline] (1.229 s) : 0, 1229365
Total [baseline] (9.497 s) : 0, 9497138
Agent [candidate] (1.226 s) : 0, 1226495
Total [candidate] (9.489 s) : 0, 9488840
gantt
title insecure-bank - break down per module: candidate=1.57.0-SNAPSHOT~c9b00b2fa6, baseline=1.57.0-SNAPSHOT~f38cc2ee7a
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.195 ms) : 0, 1195
crashtracking [candidate] (1.186 ms) : 0, 1186
BytebuddyAgent [baseline] (647.611 ms) : 0, 647611
BytebuddyAgent [candidate] (649.742 ms) : 0, 649742
GlobalTracer [baseline] (281.939 ms) : 0, 281939
GlobalTracer [candidate] (283.506 ms) : 0, 283506
AppSec [baseline] (32.309 ms) : 0, 32309
AppSec [candidate] (32.758 ms) : 0, 32758
Debugger [baseline] (67.056 ms) : 0, 67056
Debugger [candidate] (68.211 ms) : 0, 68211
Remote Config [baseline] (663.875 µs) : 0, 664
Remote Config [candidate] (650.154 µs) : 0, 650
Telemetry [baseline] (9.028 ms) : 0, 9028
Telemetry [candidate] (9.012 ms) : 0, 9012
Flare Poller [baseline] (3.712 ms) : 0, 3712
Flare Poller [candidate] (3.749 ms) : 0, 3749
section iast
crashtracking [baseline] (1.204 ms) : 0, 1204
crashtracking [candidate] (1.191 ms) : 0, 1191
BytebuddyAgent [baseline] (795.85 ms) : 0, 795850
BytebuddyAgent [candidate] (792.314 ms) : 0, 792314
GlobalTracer [baseline] (256.918 ms) : 0, 256918
GlobalTracer [candidate] (257.23 ms) : 0, 257230
AppSec [baseline] (35.338 ms) : 0, 35338
AppSec [candidate] (35.415 ms) : 0, 35415
Debugger [baseline] (64.829 ms) : 0, 64829
Debugger [candidate] (65.104 ms) : 0, 65104
Remote Config [baseline] (565.698 µs) : 0, 566
Remote Config [candidate] (567.664 µs) : 0, 568
Telemetry [baseline] (8.452 ms) : 0, 8452
Telemetry [candidate] (8.485 ms) : 0, 8485
Flare Poller [baseline] (3.465 ms) : 0, 3465
Flare Poller [candidate] (3.504 ms) : 0, 3504
IAST [baseline] (27.162 ms) : 0, 27162
IAST [candidate] (27.295 ms) : 0, 27295
LoadParameters
See matching parameters
SummaryFound 4 performance improvements and 0 performance regressions! Performance is the same for 16 metrics, 16 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~c9b00b2fa6, baseline=1.57.0-SNAPSHOT~f38cc2ee7a
dateFormat X
axisFormat %s
section baseline
no_agent (1.172 ms) : 1161, 1184
. : milestone, 1172,
iast (3.185 ms) : 3138, 3232
. : milestone, 3185,
iast_FULL (5.748 ms) : 5691, 5805
. : milestone, 5748,
iast_GLOBAL (3.631 ms) : 3569, 3694
. : milestone, 3631,
profiling (1.963 ms) : 1943, 1983
. : milestone, 1963,
tracing (1.773 ms) : 1759, 1787
. : milestone, 1773,
section candidate
no_agent (1.181 ms) : 1169, 1193
. : milestone, 1181,
iast (3.258 ms) : 3211, 3306
. : milestone, 3258,
iast_FULL (5.698 ms) : 5641, 5754
. : milestone, 5698,
iast_GLOBAL (3.396 ms) : 3351, 3442
. : milestone, 3396,
profiling (1.933 ms) : 1916, 1950
. : milestone, 1933,
tracing (1.76 ms) : 1746, 1774
. : milestone, 1760,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~c9b00b2fa6, baseline=1.57.0-SNAPSHOT~f38cc2ee7a
dateFormat X
axisFormat %s
section baseline
no_agent (17.871 ms) : 17689, 18053
. : milestone, 17871,
appsec (18.634 ms) : 18448, 18821
. : milestone, 18634,
code_origins (17.634 ms) : 17458, 17809
. : milestone, 17634,
iast (17.424 ms) : 17251, 17597
. : milestone, 17424,
profiling (19.463 ms) : 19266, 19660
. : milestone, 19463,
tracing (18.805 ms) : 18613, 18998
. : milestone, 18805,
section candidate
no_agent (16.998 ms) : 16834, 17163
. : milestone, 16998,
appsec (18.782 ms) : 18590, 18974
. : milestone, 18782,
code_origins (17.647 ms) : 17470, 17823
. : milestone, 17647,
iast (17.443 ms) : 17273, 17612
. : milestone, 17443,
profiling (19.448 ms) : 19254, 19642
. : milestone, 19448,
tracing (17.507 ms) : 17336, 17678
. : milestone, 17507,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~c9b00b2fa6, baseline=1.57.0-SNAPSHOT~f38cc2ee7a
dateFormat X
axisFormat %s
section baseline
no_agent (15.07 s) : 15070000, 15070000
. : milestone, 15070000,
appsec (14.853 s) : 14853000, 14853000
. : milestone, 14853000,
iast (18.364 s) : 18364000, 18364000
. : milestone, 18364000,
iast_GLOBAL (17.855 s) : 17855000, 17855000
. : milestone, 17855000,
profiling (15.114 s) : 15114000, 15114000
. : milestone, 15114000,
tracing (14.905 s) : 14905000, 14905000
. : milestone, 14905000,
section candidate
no_agent (14.934 s) : 14934000, 14934000
. : milestone, 14934000,
appsec (14.537 s) : 14537000, 14537000
. : milestone, 14537000,
iast (18.178 s) : 18178000, 18178000
. : milestone, 18178000,
iast_GLOBAL (17.888 s) : 17888000, 17888000
. : milestone, 17888000,
profiling (14.797 s) : 14797000, 14797000
. : milestone, 14797000,
tracing (14.779 s) : 14779000, 14779000
. : milestone, 14779000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~c9b00b2fa6, baseline=1.57.0-SNAPSHOT~f38cc2ee7a
dateFormat X
axisFormat %s
section baseline
no_agent (1.471 ms) : 1460, 1483
. : milestone, 1471,
appsec (2.458 ms) : 2405, 2510
. : milestone, 2458,
iast (2.21 ms) : 2145, 2275
. : milestone, 2210,
iast_GLOBAL (2.251 ms) : 2186, 2316
. : milestone, 2251,
profiling (2.077 ms) : 2023, 2132
. : milestone, 2077,
tracing (2.044 ms) : 1993, 2095
. : milestone, 2044,
section candidate
no_agent (1.473 ms) : 1462, 1485
. : milestone, 1473,
appsec (3.709 ms) : 3490, 3928
. : milestone, 3709,
iast (2.209 ms) : 2144, 2274
. : milestone, 2209,
iast_GLOBAL (2.245 ms) : 2180, 2310
. : milestone, 2245,
profiling (2.073 ms) : 2019, 2127
. : milestone, 2073,
tracing (2.04 ms) : 1989, 2092
. : milestone, 2040,
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Does This Do
Adds a custom resolution strategy for dependency versions for the JUnit5 instrumentation to avoid using pre-releases as latest versions. The implementation is based on the logic already available for the
scalatestinstrumentation.Tested that the latest
M1version is not used (and instead the latest stable one6.0.1) with the following command:Motivation
This will avoid failing the dependency update jobs for non-release versions if they introduce breaking changes.
Contributor Checklist
type:and (comp:orinst:) labels in addition to any useful labelsclose,fixor any linking keywords when referencing an issue.Use
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]