Skip to content

test(ai): cover compatible SDK provider version matrix#9332

Merged
BridgeAR merged 2 commits into
masterfrom
BridgeAR/2026-07-13-pr9299-ci
Jul 16, 2026
Merged

test(ai): cover compatible SDK provider version matrix#9332
BridgeAR merged 2 commits into
masterfrom
BridgeAR/2026-07-13-pr9299-ci

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

Summary

AI SDK releases require matching provider major versions because their model specifications are not interchangeable. This updates the version-matrix tests to pair each supported SDK generation with compatible provider ranges, preventing CI failures caused by SDK/provider mismatches.

@dd-octo-sts

dd-octo-sts Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 6.76 MB
Deduped: 7.42 MB
No deduping: 7.42 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.3.1 | 122.62 kB | 438.86 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@datadog-prod-us1-5

datadog-prod-us1-5 Bot commented Jul 14, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 96.61% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 614d9e4 | Docs | Datadog PR Page | Give us feedback!

@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.63%. Comparing base (1abef82) to head (614d9e4).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9332      +/-   ##
==========================================
- Coverage   96.64%   96.63%   -0.02%     
==========================================
  Files         923      923              
  Lines      122844   122844              
  Branches    20989    21024      +35     
==========================================
- Hits       118723   118708      -15     
- Misses       4121     4136      +15     
Flag Coverage Δ
aiguard 53.65% <ø> (-0.05%) ⬇️
aiguard-integration 57.10% <ø> (ø)
apm-bucket-0 53.88% <ø> (-0.05%) ⬇️
apm-bucket-1 58.45% <ø> (-0.05%) ⬇️
apm-bucket-2 56.18% <ø> (-0.05%) ⬇️
apm-capabilities-tracing 60.62% <ø> (ø)
apm-integrations-aerospike 53.03% <ø> (-0.05%) ⬇️
apm-integrations-confluentinc-kafka-javascript 57.12% <ø> (-0.12%) ⬇️
apm-integrations-couchbase 53.37% <ø> (-0.05%) ⬇️
apm-integrations-http 58.04% <ø> (-0.04%) ⬇️
apm-integrations-kafkajs 57.83% <ø> (-0.05%) ⬇️
apm-integrations-next 54.26% <ø> (-0.05%) ⬇️
apm-integrations-prisma 54.26% <ø> (-0.05%) ⬇️
apm-integrations-tedious 53.14% <ø> (-0.05%) ⬇️
appsec 68.92% <ø> (+0.02%) ⬆️
appsec-express_fastify_graphql 65.74% <ø> (-0.03%) ⬇️
appsec-integration 51.95% <ø> (+<0.01%) ⬆️
appsec-kafka_ldapjs_lodash 59.17% <ø> (-0.04%) ⬇️
appsec-mongodb-core_mongoose_mysql 62.40% <ø> (-0.04%) ⬇️
appsec-next 52.88% <ø> (-0.04%) ⬇️
appsec-node-serialize_passport_postgres 62.04% <ø> (-0.04%) ⬇️
appsec-sourcing_stripe_template 60.43% <ø> (-0.04%) ⬇️
debugger 65.69% <ø> (-0.03%) ⬇️
instrumentations-bucket-0 48.88% <ø> (-0.05%) ⬇️
instrumentations-bucket-1 55.08% <ø> (-0.05%) ⬇️
instrumentations-bucket-10 56.71% <ø> (-0.05%) ⬇️
instrumentations-bucket-11 48.87% <ø> (-0.05%) ⬇️
instrumentations-bucket-12 49.05% <ø> (-0.05%) ⬇️
instrumentations-bucket-13 48.81% <ø> (-0.05%) ⬇️
instrumentations-bucket-2 50.02% <ø> (-0.05%) ⬇️
instrumentations-bucket-3 53.99% <ø> (-0.05%) ⬇️
instrumentations-bucket-4 49.29% <ø> (-0.05%) ⬇️
instrumentations-bucket-5 53.16% <ø> (-0.05%) ⬇️
instrumentations-bucket-6 55.73% <ø> (-0.05%) ⬇️
instrumentations-bucket-7 53.63% <ø> (-0.05%) ⬇️
instrumentations-bucket-8 54.76% <ø> (-0.05%) ⬇️
instrumentations-bucket-9 56.19% <ø> (-0.04%) ⬇️
instrumentations-instrumentation-couchbase 48.27% <ø> (-0.05%) ⬇️
instrumentations-integration-esbuild 34.07% <ø> (ø)
llmobs-ai_anthropic_bedrock 57.77% <ø> (-0.04%) ⬇️
llmobs-bucket-1 57.11% <ø> (-0.04%) ⬇️
llmobs-openai 57.50% <ø> (-0.04%) ⬇️
llmobs-sdk 60.07% <ø> (-0.05%) ⬇️
llmobs-vertex-ai 54.31% <ø> (-0.05%) ⬇️
master-coverage 96.63% <ø> (?)
openfeature 54.70% <ø> (ø)
openfeature-unit 49.91% <ø> (-0.05%) ⬇️
platform-core_esbuild_instrumentations-misc 38.54% <ø> (-0.03%) ⬇️
platform-integration 62.33% <ø> (ø)
platform-shimmer_unit-guardrails_webpack 37.33% <ø> (-0.03%) ⬇️
plugins-bucket-0 53.26% <ø> (-0.04%) ⬇️
plugins-bucket-1 55.20% <ø> (ø)
plugins-bucket-11 57.53% <ø> (-0.04%) ⬇️
plugins-bucket-18 57.14% <ø> (-0.05%) ⬇️
plugins-bucket-19 55.47% <ø> (-0.03%) ⬇️
plugins-bucket-20 57.66% <ø> (-0.05%) ⬇️
plugins-bucket-4 53.87% <ø> (-0.05%) ⬇️
plugins-bullmq_cassandra_cookie 57.47% <ø> (-0.05%) ⬇️
plugins-cookie-parser_crypto_dd-trace-api 52.42% <ø> (-0.05%) ⬇️
plugins-fetch_fs_generic-pool 54.59% <ø> (-0.13%) ⬇️
plugins-google-cloud-pubsub_grpc_handlebars 59.92% <ø> (-0.05%) ⬇️
plugins-hapi_hono_ioredis 55.86% <ø> (-0.05%) ⬇️
plugins-jest_knex_langgraph 51.77% <ø> (-0.05%) ⬇️
plugins-ldapjs_light-my-request_limitd-client 53.51% <ø> (-0.07%) ⬇️
plugins-lodash_mariadb_memcached 54.30% <ø> (-0.05%) ⬇️
plugins-moleculer_mongodb_mongodb-core 57.40% <ø> (-0.05%) ⬇️
plugins-mongoose_multer_mysql 54.79% <ø> (-0.05%) ⬇️
plugins-mysql2_nats_node-serialize 56.33% <ø> (-0.05%) ⬇️
plugins-opensearch_passport-http_pino 55.19% <ø> (-0.05%) ⬇️
plugins-postgres_process_pug 54.38% <ø> (-0.05%) ⬇️
plugins-redis_router_sequelize 57.19% <ø> (-0.04%) ⬇️
plugins-test-and-upstream-rhea_undici_url 57.06% <ø> (-0.02%) ⬇️
plugins-valkey_vm_winston 54.03% <ø> (-0.05%) ⬇️
plugins-ws 54.93% <ø> (-0.04%) ⬇️
profiling 58.26% <ø> (-0.04%) ⬇️
serverless-aws-sdk-aws-sdk 50.78% <ø> (-0.04%) ⬇️
serverless-aws-sdk-bedrockruntime 50.75% <ø> (-0.05%) ⬇️
serverless-aws-sdk-client 52.09% <ø> (-0.05%) ⬇️
serverless-aws-sdk-dynamodb 51.84% <ø> (-0.01%) ⬇️
serverless-aws-sdk-eventbridge 46.46% <ø> (-0.05%) ⬇️
serverless-aws-sdk-kinesis 54.79% <ø> (-0.05%) ⬇️
serverless-aws-sdk-lambda 52.87% <ø> (-0.05%) ⬇️
serverless-aws-sdk-s3 51.59% <ø> (-0.05%) ⬇️
serverless-aws-sdk-serverless-peer-service 54.85% <ø> (-0.01%) ⬇️
serverless-aws-sdk-sns ?
serverless-aws-sdk-sqs 55.96% <ø> (-0.16%) ⬇️
serverless-aws-sdk-stepfunctions 51.36% <ø> (-0.05%) ⬇️
serverless-aws-sdk-util 48.54% <ø> (-0.05%) ⬇️
serverless-bucket-0 55.24% <ø> (ø)
serverless-bucket-1 56.06% <ø> (-0.05%) ⬇️
test-optimization-cucumber 72.94% <ø> (+0.02%) ⬆️
test-optimization-cypress 66.37% <ø> (+0.08%) ⬆️
test-optimization-jest 74.28% <ø> (-0.05%) ⬇️
test-optimization-mocha 74.68% <ø> (+0.04%) ⬆️
test-optimization-playwright-playwright-atr 61.50% <ø> (-0.01%) ⬇️
test-optimization-playwright-playwright-efd 61.68% <ø> (ø)
test-optimization-playwright-playwright-final-status 61.66% <ø> (-0.01%) ⬇️
test-optimization-playwright-playwright-impacted-tests 61.38% <ø> (+0.16%) ⬆️
test-optimization-playwright-playwright-reporting 61.27% <ø> (-0.01%) ⬇️
test-optimization-playwright-playwright-test-management 62.23% <ø> (-0.12%) ⬇️
test-optimization-playwright-playwright-test-span 61.41% <ø> (-0.06%) ⬇️
test-optimization-selenium 60.72% <ø> (-0.10%) ⬇️
test-optimization-testopt 59.16% <ø> (+0.08%) ⬆️
test-optimization-vitest 71.39% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@BridgeAR
BridgeAR marked this pull request as ready for review July 14, 2026 15:22
@BridgeAR
BridgeAR requested review from a team as code owners July 14, 2026 15:22
@BridgeAR
BridgeAR requested review from bojbrook and removed request for a team July 14, 2026 15:22
@pr-commenter

pr-commenter Bot commented Jul 14, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-07-14 21:11:59

Comparing candidate commit 614d9e4 in PR branch BridgeAR/2026-07-13-pr9299-ci with baseline commit 1abef82 in branch master.

📊 Benchmarking dashboard

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

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

Unstable benchmarks

These benchmarks have a confidence interval too wide to call a change; treat them as noise rather than signal.

scenario:appsec-appsec-enabled-24

  • unstable execution_time [-204.206ms; +206.602ms] or [-7.644%; +7.734%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-240629.137µs; +240829.270µs] or [-9.433%; +9.441%]

scenario:appsec-appsec-enabled-with-attacks-24

  • unstable execution_time [-168.170ms; +163.556ms] or [-5.421%; +5.272%]

scenario:appsec-appsec-enabled-with-attacks-26

  • unstable execution_time [-196280.313µs; +196686.179µs] or [-6.750%; +6.764%]

scenario:appsec-control-20

  • unstable execution_time [-138.267ms; +116.684ms] or [-8.403%; +7.091%]

scenario:appsec-control-24

  • unstable execution_time [-115.601ms; +121.051ms] or [-9.307%; +9.746%]

scenario:appsec-control-26

  • unstable execution_time [-133.679ms; +126.473ms] or [-10.716%; +10.138%]

scenario:appsec-iast-no-vulnerability-iast-enabled-always-active-20

  • unstable execution_time [-10.396ms; +16.214ms] or [-4.028%; +6.282%]

scenario:appsec-iast-no-vulnerability-iast-enabled-default-config-20

  • unstable execution_time [-12.113ms; +16.115ms] or [-4.780%; +6.359%]

scenario:appsec-iast-with-vulnerability-iast-enabled-default-config-20

  • unstable execution_time [-26.770ms; +30.814ms] or [-4.879%; +5.616%]

scenario:debugger-line-probe-with-snapshot-default-24

  • unstable cpu_user_time [-2087.406ms; +3243.230ms] or [-25.244%; +39.222%]
  • unstable execution_time [-2099.271ms; +3272.386ms] or [-23.372%; +36.433%]
  • unstable instructions [-17.1G instructions; +27.3G instructions] or [-25.338%; +40.333%]
  • unstable max_rss_usage [-8.412MB; +13.370MB] or [-5.367%; +8.530%]
  • unstable throughput [-862.143op/s; +561.007op/s] or [-23.478%; +15.277%]

scenario:debugger-line-probe-with-snapshot-default-26

  • unstable cpu_user_time [-4557.479ms; +3048.695ms] or [-41.082%; +27.481%]
  • unstable execution_time [-4633.077ms; +3073.996ms] or [-39.188%; +26.001%]
  • unstable instructions [-40.7G instructions; +26.9G instructions] or [-43.574%; +28.863%]
  • unstable max_rss_usage [-13.435MB; +10.272MB] or [-8.134%; +6.219%]
  • unstable throughput [-612.577op/s; +895.709op/s] or [-20.881%; +30.532%]

scenario:debugger-line-probe-with-snapshot-minimal-26

  • unstable cpu_user_time [-3615.239ms; +3632.806ms] or [-35.059%; +35.229%]
  • unstable execution_time [-3630.205ms; +3649.194ms] or [-32.924%; +33.096%]
  • unstable instructions [-32255.0M instructions; +32311.6M instructions] or [-37.282%; +37.348%]
  • unstable max_rss_usage [-10984.757KB; +12239.157KB] or [-6.798%; +7.575%]
  • unstable throughput [-716.440op/s; +713.512op/s] or [-23.260%; +23.165%]

scenario:debugger-line-probe-without-snapshot-24

  • unstable cpu_user_time [-1707.358ms; +589.838ms] or [-20.649%; +7.134%]
  • unstable execution_time [-1724.421ms; +606.603ms] or [-19.161%; +6.740%]
  • unstable instructions [-14.8G instructions; +4.9G instructions] or [-21.942%; +7.219%]
  • unstable throughput [-172.437op/s; +459.418op/s] or [-4.713%; +12.556%]

scenario:debugger-line-probe-without-snapshot-26

  • unstable cpu_user_time [-2565.809ms; +4092.888ms] or [-26.878%; +42.875%]
  • unstable execution_time [-2534.362ms; +4058.608ms] or [-24.610%; +39.411%]
  • unstable instructions [-23.1G instructions; +36.8G instructions] or [-29.077%; +46.246%]
  • unstable max_rss_usage [-7.706MB; +12.244MB] or [-4.803%; +7.631%]
  • unstable throughput [-802.039op/s; +498.954op/s] or [-24.960%; +15.528%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-418.775ms; +266.377ms] or [-8.593%; +5.466%]
  • unstable execution_time [-414.517ms; +264.125ms] or [-8.375%; +5.336%]
  • unstable throughput [-93577.956op/s; +146765.332op/s] or [-5.519%; +8.656%]

scenario:plugin-graphql-long-with-depth-on-max-20

  • unstable cpu_user_time [-735.187ms; +703.890ms] or [-5.719%; +5.475%]
  • unstable execution_time [-742.921ms; +702.569ms] or [-5.652%; +5.345%]
  • unstable throughput [-3.209op/s; +3.413op/s] or [-5.241%; +5.575%]

scenario:plugin-pg-service-20

  • unstable execution_time [-59.153ms; +119.978ms] or [-3.632%; +7.367%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-5248.467KB; +3332.467KB] or [-6.547%; +4.157%]

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7e0cfd9931

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread packages/dd-trace/test/plugins/versions/package.json
@BridgeAR
BridgeAR force-pushed the BridgeAR/2026-07-13-pr9299-ci branch from 7e0cfd9 to 614d9e4 Compare July 14, 2026 20:56
@BridgeAR
BridgeAR merged commit 16a8367 into master Jul 16, 2026
663 of 664 checks passed
@BridgeAR
BridgeAR deleted the BridgeAR/2026-07-13-pr9299-ci branch July 16, 2026 00:13
dd-octo-sts Bot pushed a commit that referenced this pull request Jul 16, 2026
* test(ai): cover compatible SDK provider version matrix

* test(ai): use latest compatible ESM dependencies
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jul 16, 2026
dd-octo-sts Bot pushed a commit that referenced this pull request Jul 16, 2026
* test(ai): cover compatible SDK provider version matrix

* test(ai): use latest compatible ESM dependencies
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jul 16, 2026
juan-fernandez pushed a commit that referenced this pull request Jul 16, 2026
* test(ai): cover compatible SDK provider version matrix

* test(ai): use latest compatible ESM dependencies
juan-fernandez pushed a commit that referenced this pull request Jul 16, 2026
* test(ai): cover compatible SDK provider version matrix

* test(ai): use latest compatible ESM dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants