-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Receive test management settings from CIVis settings request #8331
Receive test management settings from CIVis settings request #8331
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 52 metrics, 11 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.47.0-SNAPSHOT~e78edfa92c, baseline=1.47.0-SNAPSHOT~b9533be551
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.044 s) : 0, 1043804
Total [baseline] (8.62 s) : 0, 8620404
Agent [candidate] (1.06 s) : 0, 1059961
Total [candidate] (8.654 s) : 0, 8653988
section iast
Agent [baseline] (1.189 s) : 0, 1188997
Total [baseline] (9.25 s) : 0, 9249691
Agent [candidate] (1.182 s) : 0, 1182367
Total [candidate] (9.246 s) : 0, 9246313
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.172 s) : 0, 1171907
Total [baseline] (9.187 s) : 0, 9187143
Agent [candidate] (1.173 s) : 0, 1172831
Total [candidate] (9.196 s) : 0, 9195914
section iast_TELEMETRY_OFF
Agent [baseline] (1.169 s) : 0, 1168529
Total [baseline] (9.218 s) : 0, 9217608
Agent [candidate] (1.169 s) : 0, 1169015
Total [candidate] (9.197 s) : 0, 9197188
gantt
title insecure-bank - break down per module: candidate=1.47.0-SNAPSHOT~e78edfa92c, baseline=1.47.0-SNAPSHOT~b9533be551
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (717.275 ms) : 0, 717275
BytebuddyAgent [candidate] (726.057 ms) : 0, 726057
GlobalTracer [baseline] (243.738 ms) : 0, 243738
GlobalTracer [candidate] (247.087 ms) : 0, 247087
AppSec [baseline] (55.23 ms) : 0, 55230
AppSec [candidate] (55.943 ms) : 0, 55943
Remote Config [baseline] (720.954 µs) : 0, 721
Remote Config [candidate] (734.444 µs) : 0, 734
Telemetry [baseline] (11.657 ms) : 0, 11657
Telemetry [candidate] (14.754 ms) : 0, 14754
section iast
BytebuddyAgent [baseline] (847.301 ms) : 0, 847301
BytebuddyAgent [candidate] (842.073 ms) : 0, 842073
GlobalTracer [baseline] (236.64 ms) : 0, 236640
GlobalTracer [candidate] (235.7 ms) : 0, 235700
IAST [baseline] (24.475 ms) : 0, 24475
IAST [candidate] (24.872 ms) : 0, 24872
AppSec [baseline] (55.803 ms) : 0, 55803
AppSec [candidate] (54.737 ms) : 0, 54737
Remote Config [baseline] (627.848 µs) : 0, 628
Remote Config [candidate] (626.771 µs) : 0, 627
Telemetry [baseline] (8.688 ms) : 0, 8688
Telemetry [candidate] (8.737 ms) : 0, 8737
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (834.116 ms) : 0, 834116
BytebuddyAgent [candidate] (834.265 ms) : 0, 834265
GlobalTracer [baseline] (233.659 ms) : 0, 233659
GlobalTracer [candidate] (234.209 ms) : 0, 234209
IAST [baseline] (25.638 ms) : 0, 25638
IAST [candidate] (27.41 ms) : 0, 27410
AppSec [baseline] (53.895 ms) : 0, 53895
AppSec [candidate] (52.34 ms) : 0, 52340
Remote Config [baseline] (622.288 µs) : 0, 622
Remote Config [candidate] (615.418 µs) : 0, 615
Telemetry [baseline] (8.745 ms) : 0, 8745
Telemetry [candidate] (8.721 ms) : 0, 8721
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (831.556 ms) : 0, 831556
BytebuddyAgent [candidate] (831.014 ms) : 0, 831014
GlobalTracer [baseline] (233.81 ms) : 0, 233810
GlobalTracer [candidate] (234.5 ms) : 0, 234500
IAST [baseline] (25.881 ms) : 0, 25881
IAST [candidate] (27.064 ms) : 0, 27064
AppSec [baseline] (52.829 ms) : 0, 52829
AppSec [candidate] (52.153 ms) : 0, 52153
Remote Config [baseline] (613.193 µs) : 0, 613
Remote Config [candidate] (612.226 µs) : 0, 612
Telemetry [baseline] (8.653 ms) : 0, 8653
Telemetry [candidate] (8.532 ms) : 0, 8532
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.47.0-SNAPSHOT~e78edfa92c, baseline=1.47.0-SNAPSHOT~b9533be551
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.05 s) : 0, 1050090
Total [baseline] (10.513 s) : 0, 10513013
Agent [candidate] (1.042 s) : 0, 1041665
Total [candidate] (10.491 s) : 0, 10490700
section appsec
Agent [baseline] (1.185 s) : 0, 1184768
Total [baseline] (10.716 s) : 0, 10716277
Agent [candidate] (1.186 s) : 0, 1186486
Total [candidate] (10.786 s) : 0, 10786299
section iast
Agent [baseline] (1.174 s) : 0, 1174061
Total [baseline] (11.0 s) : 0, 10999716
Agent [candidate] (1.171 s) : 0, 1171031
Total [candidate] (10.964 s) : 0, 10964021
section profiling
Agent [baseline] (1.272 s) : 0, 1271874
Total [baseline] (10.901 s) : 0, 10901091
Agent [candidate] (1.264 s) : 0, 1263767
Total [candidate] (10.861 s) : 0, 10860725
gantt
title petclinic - break down per module: candidate=1.47.0-SNAPSHOT~e78edfa92c, baseline=1.47.0-SNAPSHOT~b9533be551
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (721.114 ms) : 0, 721114
BytebuddyAgent [candidate] (714.909 ms) : 0, 714909
GlobalTracer [baseline] (243.429 ms) : 0, 243429
GlobalTracer [candidate] (243.766 ms) : 0, 243766
AppSec [baseline] (55.152 ms) : 0, 55152
AppSec [candidate] (55.534 ms) : 0, 55534
Remote Config [baseline] (716.56 µs) : 0, 717
Remote Config [candidate] (725.806 µs) : 0, 726
Telemetry [baseline] (14.454 ms) : 0, 14454
Telemetry [candidate] (11.541 ms) : 0, 11541
section appsec
BytebuddyAgent [baseline] (732.938 ms) : 0, 732938
BytebuddyAgent [candidate] (734.454 ms) : 0, 734454
GlobalTracer [baseline] (240.553 ms) : 0, 240553
GlobalTracer [candidate] (240.35 ms) : 0, 240350
AppSec [baseline] (176.289 ms) : 0, 176289
AppSec [candidate] (176.778 ms) : 0, 176778
Remote Config [baseline] (654.066 µs) : 0, 654
Remote Config [candidate] (657.551 µs) : 0, 658
Telemetry [baseline] (8.284 ms) : 0, 8284
Telemetry [candidate] (8.28 ms) : 0, 8280
IAST [baseline] (21.621 ms) : 0, 21621
IAST [candidate] (21.425 ms) : 0, 21425
section iast
BytebuddyAgent [baseline] (835.968 ms) : 0, 835968
BytebuddyAgent [candidate] (833.571 ms) : 0, 833571
GlobalTracer [baseline] (233.87 ms) : 0, 233870
GlobalTracer [candidate] (233.692 ms) : 0, 233692
AppSec [baseline] (54.652 ms) : 0, 54652
AppSec [candidate] (53.564 ms) : 0, 53564
Remote Config [baseline] (700.337 µs) : 0, 700
Remote Config [candidate] (616.696 µs) : 0, 617
Telemetry [baseline] (8.707 ms) : 0, 8707
Telemetry [candidate] (8.731 ms) : 0, 8731
IAST [baseline] (24.969 ms) : 0, 24969
IAST [candidate] (25.619 ms) : 0, 25619
section profiling
BytebuddyAgent [baseline] (711.713 ms) : 0, 711713
BytebuddyAgent [candidate] (705.769 ms) : 0, 705769
GlobalTracer [baseline] (355.041 ms) : 0, 355041
GlobalTracer [candidate] (354.27 ms) : 0, 354270
AppSec [baseline] (55.435 ms) : 0, 55435
AppSec [candidate] (54.836 ms) : 0, 54836
Remote Config [baseline] (722.179 µs) : 0, 722
Remote Config [candidate] (719.713 µs) : 0, 720
Telemetry [baseline] (9.063 ms) : 0, 9063
Telemetry [candidate] (9.053 ms) : 0, 9053
ProfilingAgent [baseline] (97.302 ms) : 0, 97302
ProfilingAgent [candidate] (96.858 ms) : 0, 96858
Profiling [baseline] (97.329 ms) : 0, 97329
Profiling [candidate] (96.884 ms) : 0, 96884
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 13 metrics, 15 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.47.0-SNAPSHOT~e78edfa92c, baseline=1.47.0-SNAPSHOT~b9533be551
dateFormat X
axisFormat %s
section baseline
no_agent (1.354 ms) : 1335, 1373
. : milestone, 1354,
appsec (1.777 ms) : 1752, 1803
. : milestone, 1777,
appsec_no_iast (1.763 ms) : 1738, 1787
. : milestone, 1763,
iast (1.534 ms) : 1509, 1559
. : milestone, 1534,
profiling (1.521 ms) : 1497, 1545
. : milestone, 1521,
tracing (1.523 ms) : 1498, 1548
. : milestone, 1523,
section candidate
no_agent (1.351 ms) : 1332, 1370
. : milestone, 1351,
appsec (1.765 ms) : 1741, 1789
. : milestone, 1765,
appsec_no_iast (1.756 ms) : 1731, 1782
. : milestone, 1756,
iast (1.523 ms) : 1498, 1548
. : milestone, 1523,
profiling (1.523 ms) : 1500, 1547
. : milestone, 1523,
tracing (1.496 ms) : 1471, 1521
. : milestone, 1496,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.47.0-SNAPSHOT~e78edfa92c, baseline=1.47.0-SNAPSHOT~b9533be551
dateFormat X
axisFormat %s
section baseline
no_agent (383.23 µs) : 362, 404
. : milestone, 383,
iast (513.352 µs) : 491, 535
. : milestone, 513,
iast_FULL (751.994 µs) : 729, 775
. : milestone, 752,
iast_GLOBAL (573.771 µs) : 550, 598
. : milestone, 574,
iast_HARDCODED_SECRET_DISABLED (514.326 µs) : 493, 536
. : milestone, 514,
iast_INACTIVE (472.702 µs) : 450, 495
. : milestone, 473,
iast_TELEMETRY_OFF (501.291 µs) : 479, 524
. : milestone, 501,
tracing (463.973 µs) : 443, 485
. : milestone, 464,
section candidate
no_agent (386.953 µs) : 367, 407
. : milestone, 387,
iast (521.461 µs) : 499, 544
. : milestone, 521,
iast_FULL (759.848 µs) : 738, 782
. : milestone, 760,
iast_GLOBAL (558.385 µs) : 537, 580
. : milestone, 558,
iast_HARDCODED_SECRET_DISABLED (515.362 µs) : 493, 537
. : milestone, 515,
iast_INACTIVE (459.561 µs) : 438, 481
. : milestone, 460,
iast_TELEMETRY_OFF (505.899 µs) : 483, 528
. : milestone, 506,
tracing (456.329 µs) : 436, 477
. : milestone, 456,
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.47.0-SNAPSHOT~e78edfa92c, baseline=1.47.0-SNAPSHOT~b9533be551
dateFormat X
axisFormat %s
section baseline
no_agent (14.953 s) : 14953000, 14953000
. : milestone, 14953000,
appsec (15.216 s) : 15216000, 15216000
. : milestone, 15216000,
iast (19.0 s) : 19000000, 19000000
. : milestone, 19000000,
iast_GLOBAL (18.057 s) : 18057000, 18057000
. : milestone, 18057000,
profiling (15.713 s) : 15713000, 15713000
. : milestone, 15713000,
tracing (15.356 s) : 15356000, 15356000
. : milestone, 15356000,
section candidate
no_agent (15.147 s) : 15147000, 15147000
. : milestone, 15147000,
appsec (15.256 s) : 15256000, 15256000
. : milestone, 15256000,
iast (18.689 s) : 18689000, 18689000
. : milestone, 18689000,
iast_GLOBAL (18.007 s) : 18007000, 18007000
. : milestone, 18007000,
profiling (15.038 s) : 15038000, 15038000
. : milestone, 15038000,
tracing (14.891 s) : 14891000, 14891000
. : milestone, 14891000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.47.0-SNAPSHOT~e78edfa92c, baseline=1.47.0-SNAPSHOT~b9533be551
dateFormat X
axisFormat %s
section baseline
no_agent (1.478 ms) : 1466, 1489
. : milestone, 1478,
appsec (2.375 ms) : 2331, 2418
. : milestone, 2375,
iast (2.117 ms) : 2062, 2171
. : milestone, 2117,
iast_GLOBAL (2.157 ms) : 2102, 2212
. : milestone, 2157,
profiling (2.475 ms) : 2289, 2660
. : milestone, 2475,
tracing (1.955 ms) : 1913, 1998
. : milestone, 1955,
section candidate
no_agent (1.474 ms) : 1462, 1485
. : milestone, 1474,
appsec (2.358 ms) : 2315, 2402
. : milestone, 2358,
iast (2.133 ms) : 2078, 2188
. : milestone, 2133,
iast_GLOBAL (2.154 ms) : 2099, 2209
. : milestone, 2154,
profiling (1.98 ms) : 1936, 2023
. : milestone, 1980,
tracing (1.951 ms) : 1908, 1993
. : milestone, 1951,
|
Function<Integer, Boolean> overrideCheck, | ||
Consumer<Integer> overrideAction) { | ||
Integer value = valueGetter.apply(config); | ||
if (value != null && overrideCheck.apply(value)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand that we want to apply the overriding local value only if it's different from the -1
default, but the function is so generic that it's takes a bit of effort to comprehend.
Perhaps we could make the Config
field Integer
instead of int
, and apply the override if the value is not null
, dropping the overrideCheck
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought having a very generic way of overriding values might be beneficial in the future, but it might not make much sense for now as it is only used in this specific scenario. Overriding (or, better yet, creating a new instance as the next comment indicates) would be much clearer if the Config field was an Integer with null
as default, I agree
public static final TestManagementSettings DEFAULT = new TestManagementSettings(false, -1); | ||
|
||
private final boolean enabled; | ||
private int attemptToFixRetries; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it'd be better to make the class immutable (marking both fields as final
) and create a new instance if there're overrides. Mutability makes it more difficult to reason about the possible outcomes, and has thread-safety implications
|
||
@Override | ||
public void end(@Nullable Long endTime) { | ||
if (executionStrategy.getExecutionSettings().getTestManagementSettings().isEnabled()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather do this via the propagateModuleTags
method. Not to say there's much difference, but just for the sake of consistency and to avoid having two different ways of doing the same thing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That'd require setting Tags.TEST_TEST_MANAGEMENT_ENABLED
on the module span as well, which you're already doing for the build system module anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, I agree that it will be more consistent with how the rest of the tags are handled.
testManagementSettings = | ||
new TestManagementSettings( | ||
true, config.getCiVisibilityTestManagementAttemptToFixRetries()); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reassigning the value of the same local variable multiple times is often considered bad practice, as it makes the code harder to comprehend.
I think we can do better if we extract this logic into a separate method (that'd also help to get rid of nested ifs):
@Nonnull
private TestManagementSettings getTestManagementSettings(CiVisibilitySettings settings) {
boolean testManagementEnabled =
isFeatureEnabled(
settings,
s -> s.getTestManagementSettings().isEnabled(),
Config::isCiVisibilityTestManagementEnabled);
if (!testManagementEnabled) {
return TestManagementSettings.DEFAULT;
}
Integer retries = config.getCiVisibilityTestManagementAttemptToFixRetries();
if (retries != null) {
return new TestManagementSettings(true, retries);
}
return settings.getTestManagementSettings();
}
...visibility/src/main/java/datadog/trace/civisibility/config/ExecutionSettingsFactoryImpl.java
Outdated
Show resolved
Hide resolved
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.46.1` -> `1.47.0` | | [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.46.1` -> `1.47.0` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | --- ### Release Notes <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.47.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.47.0): 1.47.0 ##### Components ##### Application Security Management (IAST) - 🐛 Exclude com.stripe.net.HttpURLConnectionClient to solve IAST SSRF vulnerability false positives ([#​8483](DataDog/dd-trace-java#8483) - [@​jandro996](https://github.com/jandro996)) - 🐛 Add exclusion to solve IAST weak randomness vulnerability false positives ([#​8462](DataDog/dd-trace-java#8462) - [@​jandro996](https://github.com/jandro996)) - ✨ Fix weak randomness false positive in Kafka client ([#​8408](DataDog/dd-trace-java#8408) - [@​smola](https://github.com/smola)) - ✨ Fix location for SSRF with Kong Unirest ([#​8407](DataDog/dd-trace-java#8407) - [@​smola](https://github.com/smola)) - ✨ Exclude IBM Instana from IAST ([#​8406](DataDog/dd-trace-java#8406) - [@​smola](https://github.com/smola)) - 🐛 Fix org.json iast instrumentation test for latest dependency ([#​8347](DataDog/dd-trace-java#8347) - [@​jandro996](https://github.com/jandro996)) - ✨ Configuration to Disable APM Tracing ([#​8219](DataDog/dd-trace-java#8219) - [@​jandro996](https://github.com/jandro996)) - ✨ Address cookie vulnerability cardinality issues ([#​8210](DataDog/dd-trace-java#8210) - [@​jandro996](https://github.com/jandro996)) - ✨ Email HTML Injection detection in IAST ([#​8205](DataDog/dd-trace-java#8205) - [@​sezen-datadog](https://github.com/sezen-datadog)) ##### Application Security Management (WAF) - 🐛✨ Ensure usr.exists tag is not overridden when UsernameNotFoundException is thrown ([#​8376](DataDog/dd-trace-java#8376) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - 🐛✨ Ensure usr.exists tag is not overridden by auto instrumentation ([#​8374](DataDog/dd-trace-java#8374) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Update appsec metrics with event_rules_version tag ([#​8354](DataDog/dd-trace-java#8354) - [@​sezen-datadog](https://github.com/sezen-datadog)) - ✨ Update metrics: appsec.waf.requests ([#​8353](DataDog/dd-trace-java#8353) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Improve ASM support in vert.x 5.0 ([#​8285](DataDog/dd-trace-java#8285) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Update metrics: appsec.waf.updates and appsec.waf.init ([#​8280](DataDog/dd-trace-java#8280) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Configuration to Disable APM Tracing ([#​8219](DataDog/dd-trace-java#8219) - [@​jandro996](https://github.com/jandro996)) ##### Build & Tooling - 🐛 Do not generate Muzzle references for primitive arrays in method body ([#​8361](DataDog/dd-trace-java#8361) - [@​amarziali](https://github.com/amarziali)) - 📖 Improve dev env setup documentation for Windows ([#​8180](DataDog/dd-trace-java#8180) - [@​lucaspimentel](https://github.com/lucaspimentel)) ##### Continuous Integration Visibility - ✨ Add support for skip-EFD tagging ([#​8487](DataDog/dd-trace-java#8487) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix an NPE in Gradle Android instrumentation ([#​8484](DataDog/dd-trace-java#8484) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Consider modified tests when applying fail-fast tests ordering ([#​8474](DataDog/dd-trace-java#8474) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Implement tests reordering for TestNG ([#​8467](DataDog/dd-trace-java#8467) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix Gradle Launcher instrumentation to not interfere with Gradle Test Kit ([#​8465](DataDog/dd-trace-java#8465) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🧹 Use separate TestEventHandlers per framework in CI Vis instrumentations ([#​8451](DataDog/dd-trace-java#8451) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Remove warning log when JUnit 4 test method cannot be retrieved ([#​8445](DataDog/dd-trace-java#8445) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix Scalatest tracing for tests that are reported asynchronously ([#​8444](DataDog/dd-trace-java#8444) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Implement attempt to fix tests ([#​8393](DataDog/dd-trace-java#8393) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement test disabling ([#​8377](DataDog/dd-trace-java#8377) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Update CODEOWNERS parser to not log errors on comments with leading whitespace ([#​8349](DataDog/dd-trace-java#8349) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Request Test Management tests list ([#​8345](DataDog/dd-trace-java#8345) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Receive test management settings from CIVis settings request ([#​8331](DataDog/dd-trace-java#8331) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement quarantined tests tagging ([#​8326](DataDog/dd-trace-java#8326) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Implement tests quarantining ([#​8320](DataDog/dd-trace-java#8320) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add tag to specify if the user is setting DD_SERVICE ([#​8318](DataDog/dd-trace-java#8318) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) ##### Crash tracking - ✨ Only fork jps when required ([#​8419](DataDog/dd-trace-java#8419) - [@​mcculls](https://github.com/mcculls)) - 🐛 Use Java home of the crashed process to launch crash uploader ([#​8348](DataDog/dd-trace-java#8348) - [@​jbachorik](https://github.com/jbachorik)) ##### Data Streams Monitoring - 🐛 Fix error happening when sqs message attributes are readonly ([#​8473](DataDog/dd-trace-java#8473) - [@​vandonr](https://github.com/vandonr)) - 🐛 Fix bug on proto schema extraction ([#​8403](DataDog/dd-trace-java#8403) - [@​vandonr](https://github.com/vandonr)) - 🐛 Fix service name overrides in consumers ([#​8387](DataDog/dd-trace-java#8387) - [@​piochelepiotr](https://github.com/piochelepiotr)) ##### Database Monitoring - ✨ Add DBMTracePreparedStatements to tracer configuration log ([#​8508](DataDog/dd-trace-java#8508) - [@​cecile75](https://github.com/cecile75)) ##### Dynamic Instrumentation - ✨ Look in another location for grpc service methods ([#​8468](DataDog/dd-trace-java#8468) - [@​evanchooly](https://github.com/evanchooly)) - 🐛 Fix Exception Replay with Lambda proxy classes ([#​8452](DataDog/dd-trace-java#8452) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add code origin support for spring-webmvc ([#​8416](DataDog/dd-trace-java#8416) - [@​evanchooly](https://github.com/evanchooly)) - ✨ Add support for scanning jar from loaded class ([#​8370](DataDog/dd-trace-java#8370) - [@​jpbempel](https://github.com/jpbempel)) - 🐛 Disable capture of entry values ([#​8369](DataDog/dd-trace-java#8369) - [@​jpbempel](https://github.com/jpbempel)) - 🐛 Fix CodeOrigin for `@Trace` annotation ([#​8344](DataDog/dd-trace-java#8344) - [@​jpbempel](https://github.com/jpbempel)) - 🐛 Fix equals/hashCode for CodeOrigin probe ([#​8319](DataDog/dd-trace-java#8319) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add code origin support to kafka message listeners ([#​8301](DataDog/dd-trace-java#8301) - [@​evanchooly](https://github.com/evanchooly)) ##### Metrics - ✨ Create metric: appsec.waf.error ([#​8381](DataDog/dd-trace-java#8381) - [@​sezen-datadog](https://github.com/sezen-datadog)) - ✨ Create metric: appsec.rasp.error ([#​8364](DataDog/dd-trace-java#8364) - [@​sezen-datadog](https://github.com/sezen-datadog)) ##### Profiling - ✨ Bump ddprof library to 1.22.0 ([#​8463](DataDog/dd-trace-java#8463) - [@​jbachorik](https://github.com/jbachorik)) - IBM J9 8u361 corresponds to OpenJDK 8u362 by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#187 - Fix compatibility with musl libc 1.2.4 by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#189 - Modify version extraction by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#179 - Do not write null values to jvminfo event by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#184 - Productize VMStructs-based stack walker by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#177 - A few minor downport issues by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#180 - Enable ASGCT by default on fairly safe J9 JDK versions by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#181 - 🐛 Exclude OrderedThreadPoolExecutor from queue-time measurements ([#​8456](DataDog/dd-trace-java#8456) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Record JVM info on JVMs without JFR ([#​8431](DataDog/dd-trace-java#8431) - [@​jbachorik](https://github.com/jbachorik)) - 🐛 Actually use CleanupTask in TempLocationManager ([#​8420](DataDog/dd-trace-java#8420) - [@​mcculls](https://github.com/mcculls)) - ✨ Only fork jps when required ([#​8419](DataDog/dd-trace-java#8419) - [@​mcculls](https://github.com/mcculls)) - 🐛 Adjust JFR checks for J9 ([#​8405](DataDog/dd-trace-java#8405) - [@​jbachorik](https://github.com/jbachorik)) - 🧹 Disable smap RSS parsing by default ([#​8342](DataDog/dd-trace-java#8342) - [@​MattAlp](https://github.com/MattAlp)) ##### Telemetry - 🐛 Add support for JBoss jar:file format to DependencyResolver ([#​8428](DataDog/dd-trace-java#8428) - [@​jandro996](https://github.com/jandro996)) - ✨ Update metrics: appsec.waf.requests ([#​8353](DataDog/dd-trace-java#8353) - [@​Mariovido](https://github.com/Mariovido)) ##### Trace context propagation - ✨ Introduce tracing propagator ([#​8313](DataDog/dd-trace-java#8313) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) ##### Tracer core - 🐛 Fix Stable Config telemetry source names ([#​8460](DataDog/dd-trace-java#8460) - [@​BaptisteFoy](https://github.com/BaptisteFoy)) - ✨ Probe trace endpoints with a valid payload of empty arrays ([#​8414](DataDog/dd-trace-java#8414) - [@​mcculls](https://github.com/mcculls)) - ✨ Add 1 minute fail-safe to JUL/JMX class-loading callback ([#​8399](DataDog/dd-trace-java#8399) - [@​mcculls](https://github.com/mcculls)) - ✨ Migrate DSM injection calls to context-first APIs ([#​8383](DataDog/dd-trace-java#8383) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - 🧹 Move continuation capture methods from scope to tracer ([#​8371](DataDog/dd-trace-java#8371) - [@​mcculls](https://github.com/mcculls)) - ✨ Migrate context extraction calls to context-first APIs ([#​8368](DataDog/dd-trace-java#8368) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - 🧹 Migrate context injection calls to context-first APIs ([#​8358](DataDog/dd-trace-java#8358) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - 💡 Support reading configurations from files ([#​8338](DataDog/dd-trace-java#8338) - [@​mtoffl01](https://github.com/mtoffl01)) - 💡 Implementation of BaggagePropagator and BaggageContext ([#​8330](DataDog/dd-trace-java#8330) - [@​mhlidd](https://github.com/mhlidd)) - 🧹 Combine continuation implementations into one which supports multiple activations ([#​8324](DataDog/dd-trace-java#8324) - [@​mcculls](https://github.com/mcculls)) - ✨ Introduce tracing propagator ([#​8313](DataDog/dd-trace-java#8313) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨ Remove old context propagation API ([#​8271](DataDog/dd-trace-java#8271) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) ##### Instrumentations ##### AWS Lambda instrumentation - 🐛 Send error message and stack to Lambda extension ([#​8417](DataDog/dd-trace-java#8417) - [@​nhulston](https://github.com/nhulston)) ##### AWS SDK instrumentation - 🐛 Fix error happening when sqs message attributes are readonly ([#​8473](DataDog/dd-trace-java#8473) - [@​vandonr](https://github.com/vandonr)) - 💡 Inject trace context into AWS Step Functions input ([#​7585](DataDog/dd-trace-java#7585) - [@​DylanLovesCoffee](https://github.com/DylanLovesCoffee)) ##### Core Java language instrumentation - ✨ Look in another location for grpc service methods ([#​8468](DataDog/dd-trace-java#8468) - [@​evanchooly](https://github.com/evanchooly)) - ✨ Add code origin support for spring-webmvc ([#​8416](DataDog/dd-trace-java#8416) - [@​evanchooly](https://github.com/evanchooly)) - 💡 Implementation of BaggagePropagator and BaggageContext ([#​8330](DataDog/dd-trace-java#8330) - [@​mhlidd](https://github.com/mhlidd)) - ✨ Add code origin support to kafka message listeners ([#​8301](DataDog/dd-trace-java#8301) - [@​evanchooly](https://github.com/evanchooly)) ##### gRPC instrumentation - ✨ Look in another location for grpc service methods ([#​8468](DataDog/dd-trace-java#8468) - [@​evanchooly](https://github.com/evanchooly)) ##### Kafka instrumentation - ✨ Add messaging.destination.name tag to kafka integrations ([#​8366](DataDog/dd-trace-java#8366) - [@​rarguelloF](https://github.com/rarguelloF)) ##### Protocol Buffer instrumentation - 🐛 Fix bug on proto schema extraction ([#​8403](DataDog/dd-trace-java#8403) - [@​vandonr](https://github.com/vandonr)) </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**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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: 108a0f86aa59ab4c938cbac0688dd4c19cb301fa
What Does This Do
test_management
settings fieldtest.test_management.enabled
tag ontest_session_end
events when feature is enabledMotivation
First step in the implementation of Flaky Test Management.
Additional Notes
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: SDTEST-1530