-
Notifications
You must be signed in to change notification settings - Fork 305
Update impacted tests logic #8923
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
base: master
Are you sure you want to change the base?
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 43 metrics, 10 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.51.0-SNAPSHOT~67cdbe7862, baseline=1.51.0-SNAPSHOT~aa9dd27535
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.026 s) : 0, 1026336
Total [baseline] (10.611 s) : 0, 10610928
Agent [candidate] (1.042 s) : 0, 1041635
Total [candidate] (10.678 s) : 0, 10677603
section appsec
Agent [baseline] (1.181 s) : 0, 1180754
Total [baseline] (10.767 s) : 0, 10766655
Agent [candidate] (1.182 s) : 0, 1182166
Total [candidate] (10.754 s) : 0, 10753795
section iast
Agent [baseline] (1.159 s) : 0, 1158896
Total [baseline] (10.941 s) : 0, 10940590
Agent [candidate] (1.155 s) : 0, 1154857
Total [candidate] (10.858 s) : 0, 10858189
section profiling
Agent [baseline] (1.272 s) : 0, 1271575
Total [baseline] (11.028 s) : 0, 11027822
Agent [candidate] (1.269 s) : 0, 1269021
Total [candidate] (10.971 s) : 0, 10971331
gantt
title petclinic - break down per module: candidate=1.51.0-SNAPSHOT~67cdbe7862, baseline=1.51.0-SNAPSHOT~aa9dd27535
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (687.278 ms) : 0, 687278
BytebuddyAgent [candidate] (698.327 ms) : 0, 698327
GlobalTracer [baseline] (242.597 ms) : 0, 242597
GlobalTracer [candidate] (244.676 ms) : 0, 244676
AppSec [baseline] (58.113 ms) : 0, 58113
AppSec [candidate] (58.41 ms) : 0, 58410
Debugger [baseline] (6.216 ms) : 0, 6216
Debugger [candidate] (6.373 ms) : 0, 6373
Remote Config [baseline] (667.19 µs) : 0, 667
Remote Config [candidate] (690.938 µs) : 0, 691
Telemetry [baseline] (10.543 ms) : 0, 10543
Telemetry [candidate] (11.905 ms) : 0, 11905
section appsec
BytebuddyAgent [baseline] (710.129 ms) : 0, 710129
BytebuddyAgent [candidate] (709.654 ms) : 0, 709654
GlobalTracer [baseline] (235.036 ms) : 0, 235036
GlobalTracer [candidate] (235.601 ms) : 0, 235601
AppSec [baseline] (179.326 ms) : 0, 179326
AppSec [candidate] (180.451 ms) : 0, 180451
Debugger [baseline] (5.764 ms) : 0, 5764
Debugger [candidate] (5.826 ms) : 0, 5826
Remote Config [baseline] (621.421 µs) : 0, 621
Remote Config [candidate] (612.281 µs) : 0, 612
Telemetry [baseline] (7.224 ms) : 0, 7224
Telemetry [candidate] (7.269 ms) : 0, 7269
IAST [baseline] (21.827 ms) : 0, 21827
IAST [candidate] (21.902 ms) : 0, 21902
section iast
BytebuddyAgent [baseline] (810.975 ms) : 0, 810975
BytebuddyAgent [candidate] (807.89 ms) : 0, 807890
GlobalTracer [baseline] (233.328 ms) : 0, 233328
GlobalTracer [candidate] (232.424 ms) : 0, 232424
AppSec [baseline] (52.148 ms) : 0, 52148
AppSec [candidate] (50.664 ms) : 0, 50664
Debugger [baseline] (5.924 ms) : 0, 5924
Debugger [candidate] (5.991 ms) : 0, 5991
Remote Config [baseline] (604.634 µs) : 0, 605
Remote Config [candidate] (610.468 µs) : 0, 610
Telemetry [baseline] (8.042 ms) : 0, 8042
Telemetry [candidate] (7.999 ms) : 0, 7999
IAST [baseline] (26.934 ms) : 0, 26934
IAST [candidate] (28.379 ms) : 0, 28379
section profiling
ProfilingAgent [baseline] (106.994 ms) : 0, 106994
ProfilingAgent [candidate] (106.029 ms) : 0, 106029
BytebuddyAgent [baseline] (677.427 ms) : 0, 677427
BytebuddyAgent [candidate] (676.376 ms) : 0, 676376
GlobalTracer [baseline] (361.174 ms) : 0, 361174
GlobalTracer [candidate] (361.137 ms) : 0, 361137
AppSec [baseline] (62.27 ms) : 0, 62270
AppSec [candidate] (62.04 ms) : 0, 62040
Debugger [baseline] (6.158 ms) : 0, 6158
Debugger [candidate] (6.088 ms) : 0, 6088
Remote Config [baseline] (694.196 µs) : 0, 694
Remote Config [candidate] (692.399 µs) : 0, 692
Telemetry [baseline] (8.165 ms) : 0, 8165
Telemetry [candidate] (8.04 ms) : 0, 8040
Profiling [baseline] (107.02 ms) : 0, 107020
Profiling [candidate] (106.054 ms) : 0, 106054
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.51.0-SNAPSHOT~67cdbe7862, baseline=1.51.0-SNAPSHOT~aa9dd27535
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.03 s) : 0, 1029716
Total [baseline] (8.573 s) : 0, 8573392
Agent [candidate] (1.046 s) : 0, 1045534
Total [candidate] (8.617 s) : 0, 8616609
section iast
Agent [baseline] (1.159 s) : 0, 1159231
Total [baseline] (9.254 s) : 0, 9254440
Agent [candidate] (1.153 s) : 0, 1152740
Total [candidate] (9.258 s) : 0, 9257731
gantt
title insecure-bank - break down per module: candidate=1.51.0-SNAPSHOT~67cdbe7862, baseline=1.51.0-SNAPSHOT~aa9dd27535
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (688.112 ms) : 0, 688112
BytebuddyAgent [candidate] (701.348 ms) : 0, 701348
GlobalTracer [baseline] (242.839 ms) : 0, 242839
GlobalTracer [candidate] (246.59 ms) : 0, 246590
AppSec [baseline] (60.512 ms) : 0, 60512
AppSec [candidate] (59.471 ms) : 0, 59471
Debugger [baseline] (6.215 ms) : 0, 6215
Debugger [candidate] (6.331 ms) : 0, 6331
Remote Config [baseline] (664.255 µs) : 0, 664
Remote Config [candidate] (695.167 µs) : 0, 695
Telemetry [baseline] (10.455 ms) : 0, 10455
Telemetry [candidate] (9.943 ms) : 0, 9943
section iast
BytebuddyAgent [baseline] (811.869 ms) : 0, 811869
BytebuddyAgent [candidate] (806.407 ms) : 0, 806407
GlobalTracer [baseline] (232.424 ms) : 0, 232424
GlobalTracer [candidate] (231.805 ms) : 0, 231805
IAST [baseline] (27.689 ms) : 0, 27689
IAST [candidate] (28.477 ms) : 0, 28477
AppSec [baseline] (51.696 ms) : 0, 51696
AppSec [candidate] (50.688 ms) : 0, 50688
Debugger [baseline] (5.973 ms) : 0, 5973
Debugger [candidate] (5.917 ms) : 0, 5917
Remote Config [baseline] (621.75 µs) : 0, 622
Remote Config [candidate] (603.822 µs) : 0, 604
Telemetry [baseline] (8.041 ms) : 0, 8041
Telemetry [candidate] (8.023 ms) : 0, 8023
LoadParameters
See matching parameters
SummaryFound 1 performance improvements and 2 performance regressions! Performance is the same for 9 metrics, 12 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.51.0-SNAPSHOT~67cdbe7862, baseline=1.51.0-SNAPSHOT~aa9dd27535
dateFormat X
axisFormat %s
section baseline
no_agent (37.06 ms) : 36757, 37363
. : milestone, 37060,
appsec (48.288 ms) : 47859, 48718
. : milestone, 48288,
code_origins (45.141 ms) : 44766, 45515
. : milestone, 45141,
iast (44.983 ms) : 44595, 45371
. : milestone, 44983,
profiling (45.07 ms) : 44655, 45485
. : milestone, 45070,
tracing (43.168 ms) : 42803, 43532
. : milestone, 43168,
section candidate
no_agent (37.873 ms) : 37568, 38178
. : milestone, 37873,
appsec (48.132 ms) : 47704, 48560
. : milestone, 48132,
code_origins (45.587 ms) : 45214, 45961
. : milestone, 45587,
iast (43.05 ms) : 42676, 43424
. : milestone, 43050,
profiling (46.495 ms) : 46091, 46898
. : milestone, 46495,
tracing (43.115 ms) : 42760, 43470
. : milestone, 43115,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.51.0-SNAPSHOT~67cdbe7862, baseline=1.51.0-SNAPSHOT~aa9dd27535
dateFormat X
axisFormat %s
section baseline
no_agent (4.473 ms) : 4422, 4524
. : milestone, 4473,
iast (9.461 ms) : 9297, 9625
. : milestone, 9461,
iast_FULL (13.932 ms) : 13654, 14209
. : milestone, 13932,
iast_GLOBAL (9.708 ms) : 9537, 9879
. : milestone, 9708,
profiling (8.719 ms) : 8576, 8862
. : milestone, 8719,
tracing (7.848 ms) : 7720, 7975
. : milestone, 7848,
section candidate
no_agent (4.564 ms) : 4511, 4617
. : milestone, 4564,
iast (9.509 ms) : 9348, 9670
. : milestone, 9509,
iast_FULL (13.599 ms) : 13327, 13870
. : milestone, 13599,
iast_GLOBAL (9.998 ms) : 9822, 10173
. : milestone, 9998,
profiling (8.488 ms) : 8350, 8626
. : milestone, 8488,
tracing (8.253 ms) : 8127, 8380
. : milestone, 8253,
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 tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.51.0-SNAPSHOT~67cdbe7862, baseline=1.51.0-SNAPSHOT~aa9dd27535
dateFormat X
axisFormat %s
section baseline
no_agent (1.479 ms) : 1468, 1491
. : milestone, 1479,
appsec (2.4 ms) : 2351, 2448
. : milestone, 2400,
iast (2.192 ms) : 2131, 2254
. : milestone, 2192,
iast_GLOBAL (2.234 ms) : 2172, 2295
. : milestone, 2234,
profiling (2.488 ms) : 2312, 2664
. : milestone, 2488,
tracing (2.013 ms) : 1965, 2061
. : milestone, 2013,
section candidate
no_agent (1.477 ms) : 1466, 1489
. : milestone, 1477,
appsec (2.41 ms) : 2361, 2459
. : milestone, 2410,
iast (2.191 ms) : 2130, 2253
. : milestone, 2191,
iast_GLOBAL (2.242 ms) : 2180, 2305
. : milestone, 2242,
profiling (2.025 ms) : 1976, 2074
. : milestone, 2025,
tracing (2.013 ms) : 1966, 2061
. : milestone, 2013,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.51.0-SNAPSHOT~67cdbe7862, baseline=1.51.0-SNAPSHOT~aa9dd27535
dateFormat X
axisFormat %s
section baseline
no_agent (14.973 s) : 14973000, 14973000
. : milestone, 14973000,
appsec (14.643 s) : 14643000, 14643000
. : milestone, 14643000,
iast (18.661 s) : 18661000, 18661000
. : milestone, 18661000,
iast_GLOBAL (17.892 s) : 17892000, 17892000
. : milestone, 17892000,
profiling (15.815 s) : 15815000, 15815000
. : milestone, 15815000,
tracing (14.998 s) : 14998000, 14998000
. : milestone, 14998000,
section candidate
no_agent (15.475 s) : 15475000, 15475000
. : milestone, 15475000,
appsec (14.808 s) : 14808000, 14808000
. : milestone, 14808000,
iast (18.701 s) : 18701000, 18701000
. : milestone, 18701000,
iast_GLOBAL (17.909 s) : 17909000, 17909000
. : milestone, 17909000,
profiling (15.081 s) : 15081000, 15081000
. : milestone, 15081000,
tracing (14.936 s) : 14936000, 14936000
. : milestone, 14936000,
|
...visibility/src/main/java/datadog/trace/civisibility/config/ExecutionSettingsFactoryImpl.java
Show resolved
Hide resolved
...rnal-api/src/main/java/datadog/trace/api/civisibility/telemetry/CiVisibilityCountMetric.java
Show resolved
Hide resolved
...nt/agent-ci-visibility/src/main/java/datadog/trace/civisibility/git/tree/ShellGitClient.java
Outdated
Show resolved
Hide resolved
...nt/agent-ci-visibility/src/main/java/datadog/trace/civisibility/git/tree/ShellGitClient.java
Outdated
Show resolved
Hide resolved
...nt/agent-ci-visibility/src/main/java/datadog/trace/civisibility/git/tree/ShellGitClient.java
Outdated
Show resolved
Hide resolved
...nt/agent-ci-visibility/src/main/java/datadog/trace/civisibility/git/tree/ShellGitClient.java
Outdated
Show resolved
Hide resolved
...nt/agent-ci-visibility/src/main/java/datadog/trace/civisibility/git/tree/ShellGitClient.java
Outdated
Show resolved
Hide resolved
...nt/agent-ci-visibility/src/main/java/datadog/trace/civisibility/git/tree/ShellGitClient.java
Outdated
Show resolved
Hide resolved
...nt/agent-ci-visibility/src/main/java/datadog/trace/civisibility/git/tree/ShellGitClient.java
Outdated
Show resolved
Hide resolved
...nt/agent-ci-visibility/src/main/java/datadog/trace/civisibility/git/tree/ShellGitClient.java
Outdated
Show resolved
Hide resolved
...nt/agent-ci-visibility/src/main/java/datadog/trace/civisibility/git/tree/ShellGitClient.java
Outdated
Show resolved
Hide resolved
itrEnabled = true | ||
codeCoverageEnabled = true | ||
testsSkippingEnabled = true | ||
flakyRetriesEnabled = false | ||
impactedTestsDetectionEnabled = false | ||
knownTestsEnabled = false | ||
testManagementEnabled = false | ||
attemptToFixRetries = 0 |
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.
The mock backend now sets each setting back to its default value before every test run, which was causing some tests to be marked with enabled settings which shouldn't be. Wasn't failing on CI because the only case of this happening just added test_management.enabled
to the traces
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.
About internal API: if you would like to add more feature, can you add the related Javadoc and unit tests for?
@@ -194,6 +194,10 @@ public static boolean isNotBlank(String s) { | |||
return false; | |||
} | |||
|
|||
public static boolean isBlank(String s) { |
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.
If you would like to promote it as internal API rather than using it with not
, could you add Javadoc and add / update the related unit tests?
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.
Resolved in a738112
What Does This Do
Updates the logic behind the impacted tests feature:
default_branch
to the expected response from the Settings endpointContributor 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: [PROJ-IDENT]