-
Notifications
You must be signed in to change notification settings - Fork 312
🍒 9135 - Avoid race conditions and multiple agent discovery feature states #9175
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
Merged
daniel-mohedano
merged 1 commit into
release/v1.51.x
from
daniel.mohedano/backport-pr-9135
Jul 15, 2025
Merged
🍒 9135 - Avoid race conditions and multiple agent discovery feature states #9175
daniel-mohedano
merged 1 commit into
release/v1.51.x
from
daniel.mohedano/backport-pr-9135
Jul 15, 2025
Conversation
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
) (cherry picked from commit 956f570)
manuel-alvarez-alvarez
approved these changes
Jul 15, 2025
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 44 metrics, 9 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.52.0-SNAPSHOT~d9b076d0ef, baseline=1.52.0-SNAPSHOT~785ce96272
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.004 s) : 0, 1004026
Total [baseline] (10.797 s) : 0, 10797447
Agent [candidate] (1.005 s) : 0, 1004622
Total [candidate] (10.667 s) : 0, 10667146
section appsec
Agent [baseline] (1.175 s) : 0, 1174580
Total [baseline] (10.793 s) : 0, 10793215
Agent [candidate] (1.179 s) : 0, 1179035
Total [candidate] (10.843 s) : 0, 10842998
section iast
Agent [baseline] (1.131 s) : 0, 1131389
Total [baseline] (10.817 s) : 0, 10817031
Agent [candidate] (1.133 s) : 0, 1132526
Total [candidate] (10.882 s) : 0, 10882127
section profiling
Agent [baseline] (1.246 s) : 0, 1246115
Total [baseline] (11.016 s) : 0, 11015841
Agent [candidate] (1.247 s) : 0, 1247350
Total [candidate] (10.987 s) : 0, 10987273
gantt
title petclinic - break down per module: candidate=1.52.0-SNAPSHOT~d9b076d0ef, baseline=1.52.0-SNAPSHOT~785ce96272
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (691.997 ms) : 0, 691997
BytebuddyAgent [candidate] (692.346 ms) : 0, 692346
GlobalTracer [baseline] (244.949 ms) : 0, 244949
GlobalTracer [candidate] (244.976 ms) : 0, 244976
AppSec [baseline] (31.064 ms) : 0, 31064
AppSec [candidate] (31.111 ms) : 0, 31111
Debugger [baseline] (6.04 ms) : 0, 6040
Debugger [candidate] (6.087 ms) : 0, 6087
Remote Config [baseline] (702.33 µs) : 0, 702
Remote Config [candidate] (709.476 µs) : 0, 709
Telemetry [baseline] (8.341 ms) : 0, 8341
Telemetry [candidate] (8.372 ms) : 0, 8372
section appsec
BytebuddyAgent [baseline] (709.255 ms) : 0, 709255
BytebuddyAgent [candidate] (711.246 ms) : 0, 711246
GlobalTracer [baseline] (235.416 ms) : 0, 235416
GlobalTracer [candidate] (236.796 ms) : 0, 236796
IAST [baseline] (23.455 ms) : 0, 23455
IAST [candidate] (23.487 ms) : 0, 23487
AppSec [baseline] (171.135 ms) : 0, 171135
AppSec [candidate] (171.962 ms) : 0, 171962
Debugger [baseline] (5.739 ms) : 0, 5739
Debugger [candidate] (5.759 ms) : 0, 5759
Remote Config [baseline] (611.418 µs) : 0, 611
Remote Config [candidate] (610.936 µs) : 0, 611
Telemetry [baseline] (8.071 ms) : 0, 8071
Telemetry [candidate] (8.247 ms) : 0, 8247
section iast
BytebuddyAgent [baseline] (805.5 ms) : 0, 805500
BytebuddyAgent [candidate] (807.445 ms) : 0, 807445
GlobalTracer [baseline] (232.594 ms) : 0, 232594
GlobalTracer [candidate] (231.874 ms) : 0, 231874
IAST [baseline] (27.368 ms) : 0, 27368
IAST [candidate] (27.089 ms) : 0, 27089
AppSec [baseline] (30.754 ms) : 0, 30754
AppSec [candidate] (30.935 ms) : 0, 30935
Debugger [baseline] (5.742 ms) : 0, 5742
Debugger [candidate] (5.719 ms) : 0, 5719
Remote Config [baseline] (597.946 µs) : 0, 598
Remote Config [candidate] (575.649 µs) : 0, 576
Telemetry [baseline] (7.934 ms) : 0, 7934
Telemetry [candidate] (7.962 ms) : 0, 7962
section profiling
BytebuddyAgent [baseline] (678.776 ms) : 0, 678776
BytebuddyAgent [candidate] (678.789 ms) : 0, 678789
GlobalTracer [baseline] (362.23 ms) : 0, 362230
GlobalTracer [candidate] (362.747 ms) : 0, 362747
AppSec [baseline] (31.909 ms) : 0, 31909
AppSec [candidate] (31.203 ms) : 0, 31203
Debugger [baseline] (11.103 ms) : 0, 11103
Debugger [candidate] (11.181 ms) : 0, 11181
Remote Config [baseline] (655.745 µs) : 0, 656
Remote Config [candidate] (1.4 ms) : 0, 1400
Telemetry [baseline] (9.441 ms) : 0, 9441
Telemetry [candidate] (9.623 ms) : 0, 9623
ProfilingAgent [baseline] (103.169 ms) : 0, 103169
ProfilingAgent [candidate] (103.624 ms) : 0, 103624
Profiling [baseline] (103.194 ms) : 0, 103194
Profiling [candidate] (103.649 ms) : 0, 103649
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.52.0-SNAPSHOT~d9b076d0ef, baseline=1.52.0-SNAPSHOT~785ce96272
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (994.07 ms) : 0, 994070
Total [baseline] (8.587 s) : 0, 8587379
Agent [candidate] (1.002 s) : 0, 1002277
Total [candidate] (8.587 s) : 0, 8587078
section iast
Agent [baseline] (1.132 s) : 0, 1131559
Total [baseline] (9.273 s) : 0, 9273088
Agent [candidate] (1.133 s) : 0, 1133316
Total [candidate] (9.317 s) : 0, 9317253
gantt
title insecure-bank - break down per module: candidate=1.52.0-SNAPSHOT~d9b076d0ef, baseline=1.52.0-SNAPSHOT~785ce96272
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (685.948 ms) : 0, 685948
BytebuddyAgent [candidate] (692.284 ms) : 0, 692284
GlobalTracer [baseline] (241.992 ms) : 0, 241992
GlobalTracer [candidate] (243.38 ms) : 0, 243380
AppSec [baseline] (30.428 ms) : 0, 30428
AppSec [candidate] (30.681 ms) : 0, 30681
Debugger [baseline] (6.034 ms) : 0, 6034
Debugger [candidate] (5.994 ms) : 0, 5994
Remote Config [baseline] (668.376 µs) : 0, 668
Remote Config [candidate] (682.839 µs) : 0, 683
Telemetry [baseline] (8.224 ms) : 0, 8224
Telemetry [candidate] (8.275 ms) : 0, 8275
section iast
BytebuddyAgent [baseline] (805.762 ms) : 0, 805762
BytebuddyAgent [candidate] (807.5 ms) : 0, 807500
GlobalTracer [baseline] (232.589 ms) : 0, 232589
GlobalTracer [candidate] (232.397 ms) : 0, 232397
IAST [baseline] (26.396 ms) : 0, 26396
IAST [candidate] (27.332 ms) : 0, 27332
AppSec [baseline] (30.846 ms) : 0, 30846
AppSec [candidate] (30.011 ms) : 0, 30011
Debugger [baseline] (6.645 ms) : 0, 6645
Debugger [candidate] (6.636 ms) : 0, 6636
Remote Config [baseline] (587.715 µs) : 0, 588
Remote Config [candidate] (575.345 µs) : 0, 575
Telemetry [baseline] (7.912 ms) : 0, 7912
Telemetry [candidate] (7.972 ms) : 0, 7972
LoadParameters
See matching parameters
SummaryFound 3 performance improvements and 1 performance regressions! Performance is the same for 8 metrics, 12 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.52.0-SNAPSHOT~d9b076d0ef, baseline=1.52.0-SNAPSHOT~785ce96272
dateFormat X
axisFormat %s
section baseline
no_agent (37.77 ms) : 37461, 38079
. : milestone, 37770,
appsec (50.186 ms) : 49743, 50630
. : milestone, 50186,
code_origins (46.074 ms) : 45688, 46460
. : milestone, 46074,
iast (44.444 ms) : 44065, 44822
. : milestone, 44444,
profiling (50.768 ms) : 50294, 51242
. : milestone, 50768,
tracing (45.534 ms) : 45126, 45941
. : milestone, 45534,
section candidate
no_agent (37.97 ms) : 37660, 38281
. : milestone, 37970,
appsec (44.958 ms) : 44545, 45370
. : milestone, 44958,
code_origins (47.464 ms) : 47055, 47873
. : milestone, 47464,
iast (43.909 ms) : 43522, 44296
. : milestone, 43909,
profiling (48.818 ms) : 48352, 49284
. : milestone, 48818,
tracing (43.588 ms) : 43217, 43958
. : milestone, 43588,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.52.0-SNAPSHOT~d9b076d0ef, baseline=1.52.0-SNAPSHOT~785ce96272
dateFormat X
axisFormat %s
section baseline
no_agent (4.279 ms) : 4226, 4333
. : milestone, 4279,
iast (9.34 ms) : 9188, 9491
. : milestone, 9340,
iast_FULL (14.106 ms) : 13824, 14387
. : milestone, 14106,
iast_GLOBAL (10.698 ms) : 10511, 10885
. : milestone, 10698,
profiling (8.74 ms) : 8605, 8875
. : milestone, 8740,
tracing (7.787 ms) : 7677, 7898
. : milestone, 7787,
section candidate
no_agent (4.288 ms) : 4234, 4342
. : milestone, 4288,
iast (9.126 ms) : 8968, 9283
. : milestone, 9126,
iast_FULL (14.127 ms) : 13845, 14409
. : milestone, 14127,
iast_GLOBAL (10.367 ms) : 10185, 10549
. : milestone, 10367,
profiling (8.606 ms) : 8472, 8740
. : milestone, 8606,
tracing (7.525 ms) : 7420, 7629
. : milestone, 7525,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.52.0-SNAPSHOT~d9b076d0ef, baseline=1.52.0-SNAPSHOT~785ce96272
dateFormat X
axisFormat %s
section baseline
no_agent (1.481 ms) : 1470, 1493
. : milestone, 1481,
appsec (2.421 ms) : 2371, 2470
. : milestone, 2421,
iast (2.21 ms) : 2147, 2273
. : milestone, 2210,
iast_GLOBAL (2.247 ms) : 2184, 2309
. : milestone, 2247,
profiling (2.067 ms) : 2015, 2119
. : milestone, 2067,
tracing (2.019 ms) : 1971, 2067
. : milestone, 2019,
section candidate
no_agent (1.481 ms) : 1469, 1492
. : milestone, 1481,
appsec (2.406 ms) : 2356, 2455
. : milestone, 2406,
iast (2.209 ms) : 2147, 2271
. : milestone, 2209,
iast_GLOBAL (2.253 ms) : 2190, 2315
. : milestone, 2253,
profiling (2.054 ms) : 2003, 2104
. : milestone, 2054,
tracing (2.023 ms) : 1975, 2071
. : milestone, 2023,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.52.0-SNAPSHOT~d9b076d0ef, baseline=1.52.0-SNAPSHOT~785ce96272
dateFormat X
axisFormat %s
section baseline
no_agent (15.553 s) : 15553000, 15553000
. : milestone, 15553000,
appsec (14.605 s) : 14605000, 14605000
. : milestone, 14605000,
iast (18.189 s) : 18189000, 18189000
. : milestone, 18189000,
iast_GLOBAL (17.744 s) : 17744000, 17744000
. : milestone, 17744000,
profiling (16.02 s) : 16020000, 16020000
. : milestone, 16020000,
tracing (15.096 s) : 15096000, 15096000
. : milestone, 15096000,
section candidate
no_agent (14.798 s) : 14798000, 14798000
. : milestone, 14798000,
appsec (14.853 s) : 14853000, 14853000
. : milestone, 14853000,
iast (18.07 s) : 18070000, 18070000
. : milestone, 18070000,
iast_GLOBAL (18.112 s) : 18112000, 18112000
. : milestone, 18112000,
profiling (15.056 s) : 15056000, 15056000
. : milestone, 15056000,
tracing (15.011 s) : 15011000, 15011000
. : milestone, 15011000,
|
svc-squareup-copybara
pushed a commit
to cashapp/misk
that referenced
this pull request
Jul 16, 2025
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [app.cash.tempest:tempest-bom](https://github.com/cashapp/tempest) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2025.07.08.171526-e297588` -> `2025.07.15.155806-c1415e3` | | [com.google.cloud:google-cloud-spanner](https://github.com/googleapis/java-spanner) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `6.97.0` -> `6.97.1` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `1.51.0` -> `1.51.1` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.31.78` -> `2.32.1` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.31.78` -> `2.32.1` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.31.78` -> `2.32.1` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.31.78` -> `2.32.1` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.31.78` -> `2.32.1` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.31.78` -> `2.32.1` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.31.78` -> `2.32.1` | | [com.amazonaws:aws-java-sdk-sqs](https://aws.amazon.com/sdkforjava) ([source](https://github.com/aws/aws-sdk-java)) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `1.12.787` -> `1.12.788` | | [com.amazonaws:aws-java-sdk-s3](https://aws.amazon.com/sdkforjava) ([source](https://github.com/aws/aws-sdk-java)) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `1.12.787` -> `1.12.788` | | [com.amazonaws:aws-java-sdk-dynamodb](https://aws.amazon.com/sdkforjava) ([source](https://github.com/aws/aws-sdk-java)) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `1.12.787` -> `1.12.788` | | [com.amazonaws:aws-java-sdk-core](https://aws.amazon.com/sdkforjava) ([source](https://github.com/aws/aws-sdk-java)) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `1.12.787` -> `1.12.788` | --- ### Release Notes <details> <summary>googleapis/java-spanner (com.google.cloud:google-cloud-spanner)</summary> ### [`v6.97.1`](https://github.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6971-2025-07-15) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.50.1 ([#​3992](googleapis/java-spanner#3992)) ([69ffd72](googleapis/java-spanner@69ffd72)) - Update googleapis/sdk-platform-java action to v2.60.1 ([#​3926](googleapis/java-spanner#3926)) ([7001b7f](googleapis/java-spanner@7001b7f)) </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.51.1`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.51.1): 1.51.1 ### Components #### Application Security Management (WAF) - 🐛 Fix NPE in AppSecConfigServiceImpl ([#​9172](DataDog/dd-trace-java#9172) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### Tracer core - 🐛 Avoid race conditions on feature discovery ([#​9175](DataDog/dd-trace-java#9175), [#​9177](DataDog/dd-trace-java#9177) - [@​daniel-mohedano](https://github.com/daniel-mohedano), [@​amarziali](https://github.com/amarziali) ) </details> <details> <summary>aws/aws-sdk-java (com.amazonaws:aws-java-sdk-sqs)</summary> ### [`v1.12.788`](https://github.com/aws/aws-sdk-java/blob/HEAD/CHANGELOG.md#112788-2025-07-11) [Compare Source](aws/aws-sdk-java@1.12.787...1.12.788) #### **AWS SDK for Java** - ### Features - Add account endpoint caching #### **Amazon DynamoDB** - ### Features - Cache account endpoint URIs </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: 27a8b093249f74e7c13544759c5baf5d1acdc371
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.
Backport #9135 to release/v1.51.x