Skip to content

test: key plugin version folders by single-digit major#9052

Merged
BridgeAR merged 9 commits into
masterfrom
BridgeAR/2026-06-24-single-digit-version-keys
Jun 26, 2026
Merged

test: key plugin version folders by single-digit major#9052
BridgeAR merged 9 commits into
masterfrom
BridgeAR/2026-06-24-single-digit-version-keys

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

Summary

Key plugin version folders by the bare major again (versions/mongodb@3) rather
than a bounded range (versions/mongodb@>=3.0.0 <4.0.0). The bare major reads
cleanly as a folder name and covers each major's latest, including the floor
major's, which the range form dropped. Follows the shared resolver that landed
in #9019.

Bare keys regressed capped ranges in the original attempt: a key like 3
resolves to the major's newest version, so microgateway-core >=2.1 <=3.0.0
installed 3.3.7 and the span came back web.request instead of
microgateway.request. The top major now keeps the declared range whenever the
range stops short of the major's ceiling (>=2.1 <=3.0.0, >=4.0.0 <4.3.0),
resolving to the newest version the range allows; fully-spanned majors and every
lower major stay bare single-digit keys.

Test plan

  • yarn test:scripts runs the resolver unit spec, including the capped-top and
    sub-major cases.
  • Draft: the broader coverage now tests each major's latest, including floor
    majors not previously installed (e.g. knex 0.x). Holding for the APM
    Integrations matrix to confirm green and to triage any version it surfaces.

BridgeAR added 2 commits June 24, 2026 22:51
Key each expanded major as a bare major (`versions/<name>@3`) instead of a
bounded range (`versions/<name>@>=3.0.0 <4.0.0`). The bare major is the readable
folder name and covers each major's latest, including the floor major's, which
the range form drops. `*` resolves to the latest major, empty entries throw, and
non-consecutive packages (graphql, @redis/client) cover only their floor and top
majors.
A bare-major key resolves to that major's newest published version, so a range
that ends inside its top major overshoots: microgateway-core `>=2.1 <=3.0.0`
keyed `3` installs 3.3.7, which the plugin never supported, so the span comes
back `web.request` instead of `microgateway.request`. The top major now keeps
the declared range whenever the range stops short of the major's ceiling, so it
resolves to the newest version the range still allows; fully-spanned majors and
every lower major stay bare single-digit keys.
@dd-octo-sts

dd-octo-sts Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 6.32 MB
Deduped: 7.39 MB
No deduping: 7.39 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.2.0 | 104.26 kB | 843.44 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

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.54%. Comparing base (ea50dc6) to head (9bf46ed).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9052      +/-   ##
==========================================
- Coverage   93.43%   91.54%   -1.90%     
==========================================
  Files         883      883              
  Lines       50534    50534              
  Branches     9947     9947              
==========================================
- Hits        47217    46260     -957     
- Misses       3317     4274     +957     
Flag Coverage Δ
aiguard-integration-active ?
aiguard-integration-latest 41.77% <ø> (ø)
aiguard-integration-maintenance ?
aiguard-macos 34.59% <ø> (-0.08%) ⬇️
aiguard-ubuntu 34.74% <ø> (-0.08%) ⬇️
aiguard-windows 34.42% <ø> (-0.08%) ⬇️
apm-capabilities-tracing-macos 48.23% <ø> (ø)
apm-capabilities-tracing-ubuntu-active 48.40% <ø> (ø)
apm-capabilities-tracing-ubuntu-latest 48.23% <ø> (ø)
apm-capabilities-tracing-ubuntu-maintenance ?
apm-capabilities-tracing-ubuntu-oldest 48.45% <ø> (ø)
apm-capabilities-tracing-windows 48.22% <ø> (-0.01%) ⬇️
apm-integrations-aerospike-18-gte.5.2.0 33.11% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-20-gte.5.5.0 33.13% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-22-gte.5.12.1 33.14% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-22-gte.6.0.0 33.14% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-eol- 33.04% <ø> (-0.08%) ⬇️
apm-integrations-child-process 34.05% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-18 ?
apm-integrations-confluentinc-kafka-javascript-20 40.08% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-22 40.08% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-24 ?
apm-integrations-couchbase-18 33.13% <ø> (-0.08%) ⬇️
apm-integrations-couchbase-eol 33.17% <ø> (-0.08%) ⬇️
apm-integrations-dns 32.98% <ø> (-0.08%) ⬇️
apm-integrations-elasticsearch 34.17% <ø> (-0.07%) ⬇️
apm-integrations-http-latest 41.89% <ø> (-0.07%) ⬇️
apm-integrations-http-maintenance 41.98% <ø> (-0.07%) ⬇️
apm-integrations-http-oldest 41.92% <ø> (-0.06%) ⬇️
apm-integrations-http2 39.09% <ø> (-0.08%) ⬇️
apm-integrations-kafkajs-latest 40.11% <ø> (-0.17%) ⬇️
apm-integrations-kafkajs-oldest 40.30% <ø> (-0.08%) ⬇️
apm-integrations-net 33.66% <ø> (-0.08%) ⬇️
apm-integrations-next-11.1.4 36.30% <ø> (ø)
apm-integrations-next-12.3.7 36.30% <ø> (ø)
apm-integrations-next-13.0.0 29.11% <ø> (-0.08%) ⬇️
apm-integrations-next-13.2.0 29.11% <ø> (-0.08%) ⬇️
apm-integrations-next-13.5.11 29.25% <ø> (-0.08%) ⬇️
apm-integrations-next-14.0.0 29.18% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.35 29.22% <ø> (-0.04%) ⬇️
apm-integrations-next-14.2.6 29.18% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.7 29.18% <ø> (-0.08%) ⬇️
apm-integrations-next-15.0.0 29.18% <ø> (-0.08%) ⬇️
apm-integrations-next-15.4.0 29.25% <ø> (-0.08%) ⬇️
apm-integrations-next-latest 29.29% <ø> (-0.08%) ⬇️
apm-integrations-oracledb 34.00% <ø> (-0.08%) ⬇️
apm-integrations-prisma-18-gte.6.16.0.and.lt.7.0.0 34.82% <ø> (-0.08%) ⬇️
apm-integrations-prisma-latest-all 34.25% <ø> (-0.07%) ⬇️
apm-integrations-restify 35.65% <ø> (-0.08%) ⬇️
apm-integrations-sharedb 32.57% <ø> (-0.08%) ⬇️
apm-integrations-tedious 33.92% <ø> (-0.08%) ⬇️
appsec-express 50.93% <ø> (-0.11%) ⬇️
appsec-fastify 47.74% <ø> (-0.06%) ⬇️
appsec-graphql 48.03% <ø> (+0.26%) ⬆️
appsec-integration-active 36.13% <ø> (ø)
appsec-integration-latest 36.13% <ø> (ø)
appsec-integration-maintenance 36.19% <ø> (ø)
appsec-integration-oldest ?
appsec-kafka 40.36% <ø> (-0.02%) ⬇️
appsec-ldapjs 39.83% <ø> (-0.07%) ⬇️
appsec-lodash 39.75% <ø> (-0.07%) ⬇️
appsec-macos 57.02% <ø> (-0.08%) ⬇️
appsec-mongodb-core 44.08% <ø> (+0.10%) ⬆️
appsec-mongoose 44.78% <ø> (-0.05%) ⬇️
appsec-mysql ?
appsec-next-latest-11.1.4 27.40% <ø> (-0.07%) ⬇️
appsec-next-latest-12.3.7 27.47% <ø> (ø)
appsec-next-latest-13.0.0 29.19% <ø> (-0.08%) ⬇️
appsec-next-latest-13.2.0 29.22% <ø> (-0.08%) ⬇️
appsec-next-latest-13.5.11 29.31% <ø> (-0.08%) ⬇️
appsec-next-latest-14.0.0 29.24% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.35 29.24% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.6 29.24% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.7 29.24% <ø> (-0.08%) ⬇️
appsec-next-latest-15.0.0 29.24% <ø> (-0.08%) ⬇️
appsec-next-latest-latest 29.28% <ø> (-0.08%) ⬇️
appsec-next-oldest-11.1.4 27.45% <ø> (-0.08%) ⬇️
appsec-next-oldest-12.3.7 29.25% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.0.0 29.25% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.2.0 29.52% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.5.11 29.61% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.0.0 29.55% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.35 ?
appsec-next-oldest-14.2.6 29.55% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.7 29.55% <ø> (-0.08%) ⬇️
appsec-next-oldest-15.0.0 29.55% <ø> (-0.08%) ⬇️
appsec-next-oldest-latest 27.67% <ø> (ø)
appsec-node-serialize 39.04% <ø> (-0.07%) ⬇️
appsec-passport 42.66% <ø> (-0.10%) ⬇️
appsec-postgres 46.75% <ø> (-0.16%) ⬇️
appsec-sourcing 38.51% <ø> (-0.07%) ⬇️
appsec-stripe 40.54% <ø> (-0.06%) ⬇️
appsec-template 39.33% <ø> (-0.07%) ⬇️
appsec-ubuntu 57.13% <ø> (-0.06%) ⬇️
appsec-windows 56.94% <ø> (-0.08%) ⬇️
debugger-ubuntu-active 43.48% <ø> (ø)
debugger-ubuntu-latest 43.48% <ø> (ø)
debugger-ubuntu-maintenance 43.60% <ø> (ø)
debugger-ubuntu-oldest 43.91% <ø> (ø)
instrumentations-instrumentation-ai 45.53% <ø> (ø)
instrumentations-instrumentation-aws-sdk 45.11% <ø> (ø)
instrumentations-instrumentation-bluebird 27.63% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-body-parser 35.67% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-child_process 33.34% <ø> (?)
instrumentations-instrumentation-connect 48.51% <ø> (ø)
instrumentations-instrumentation-cookie-parser 29.53% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-couchbase-18 46.23% <ø> (ø)
instrumentations-instrumentation-couchbase-eol 46.23% <ø> (ø)
instrumentations-instrumentation-crypto 27.59% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express 29.73% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express-mongo-sanitize 29.64% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express-multi-version 41.80% <ø> (ø)
instrumentations-instrumentation-express-session 35.49% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-fastify 48.47% <ø> (ø)
instrumentations-instrumentation-fetch 45.21% <ø> (ø)
instrumentations-instrumentation-fs 27.31% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-generic-pool 27.49% <ø> (ø)
instrumentations-instrumentation-hono 28.84% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-http 37.95% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-http-client-options 37.55% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-kafkajs 49.19% <ø> (ø)
instrumentations-instrumentation-knex 27.61% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-koa 46.11% <ø> (ø)
instrumentations-instrumentation-light-my-request 35.31% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-mongoose 28.82% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-multer 35.34% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-mysql2 33.46% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-openai-lifecycle 46.21% <ø> (ø)
instrumentations-instrumentation-otel-sdk-trace 25.46% <ø> (ø)
instrumentations-instrumentation-passport 39.22% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-passport-http 38.89% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-passport-local 39.34% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-pg 33.19% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-promise 27.57% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-promise-js 27.57% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-q 27.60% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-restify 47.75% <ø> (ø)
instrumentations-instrumentation-router 43.64% <ø> (ø)
instrumentations-instrumentation-stripe 28.12% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-url 27.43% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-when 27.59% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-zlib 27.48% <ø> (-0.08%) ⬇️
instrumentations-integration-esbuild-0.16.12-active 24.77% <ø> (ø)
instrumentations-integration-esbuild-0.16.12-latest 24.77% <ø> (ø)
instrumentations-integration-esbuild-0.16.12-maintenance 18.81% <ø> (ø)
instrumentations-integration-esbuild-0.16.12-oldest 18.80% <ø> (ø)
instrumentations-integration-esbuild-latest-active 24.77% <ø> (ø)
instrumentations-integration-esbuild-latest-latest 24.77% <ø> (ø)
instrumentations-integration-esbuild-latest-maintenance 18.81% <ø> (ø)
instrumentations-integration-esbuild-latest-oldest 18.80% <ø> (ø)
llmobs-ai 35.12% <ø> (-0.07%) ⬇️
llmobs-anthropic 36.55% <ø> (-0.07%) ⬇️
llmobs-bedrock ?
llmobs-google-genai 36.13% <ø> (+0.08%) ⬆️
llmobs-langchain 35.48% <ø> (-0.06%) ⬇️
llmobs-openai-latest 39.45% <ø> (-0.07%) ⬇️
llmobs-openai-oldest 39.53% <ø> (-0.07%) ⬇️
llmobs-sdk-active ?
llmobs-sdk-latest 43.41% <ø> (-0.08%) ⬇️
llmobs-sdk-maintenance 43.51% <ø> (-0.08%) ⬇️
llmobs-sdk-oldest 43.49% <ø> (-0.08%) ⬇️
llmobs-vertex-ai 35.65% <ø> (-0.07%) ⬇️
master-coverage 91.54% <ø> (?)
openfeature-macos 37.51% <ø> (ø)
openfeature-ubuntu 37.65% <ø> (ø)
openfeature-unit-active 50.00% <ø> (ø)
openfeature-unit-latest 50.00% <ø> (ø)
openfeature-unit-maintenance 50.36% <ø> (ø)
openfeature-unit-oldest 50.36% <ø> (ø)
openfeature-windows 37.39% <ø> (?)
platform-core 46.47% <ø> (ø)
platform-esbuild 18.74% <ø> (ø)
platform-instrumentations-misc 29.59% <ø> (ø)
platform-integration-active 47.11% <ø> (ø)
platform-integration-latest 47.10% <ø> (ø)
platform-integration-maintenance 47.21% <ø> (ø)
platform-integration-oldest 47.37% <ø> (ø)
platform-shimmer 47.50% <ø> (ø)
platform-unit-guardrails 44.42% <ø> (ø)
platform-webpack 18.39% <ø> (ø)
plugins-aws-durable-execution-sdk-js ?
plugins-axios 35.48% <ø> (?)
plugins-azure-cosmos 35.82% <ø> (-0.24%) ⬇️
plugins-azure-event-hubs 34.85% <ø> (ø)
plugins-azure-service-bus 35.36% <ø> (ø)
plugins-body-parser 36.45% <ø> (ø)
plugins-bullmq 39.46% <ø> (-0.08%) ⬇️
plugins-cassandra 33.76% <ø> (-0.08%) ⬇️
plugins-cookie 40.72% <ø> (ø)
plugins-cookie-parser 40.55% <ø> (ø)
plugins-crypto 42.71% <ø> (ø)
plugins-dd-trace-api 33.19% <ø> (-0.08%) ⬇️
plugins-express-mongo-sanitize 40.60% <ø> (ø)
plugins-express-session 40.46% <ø> (ø)
plugins-fastify 37.79% <ø> (?)
plugins-fetch 34.55% <ø> (-0.08%) ⬇️
plugins-generic-pool 40.02% <ø> (ø)
plugins-google-cloud-pubsub ?
plugins-grpc 36.50% <ø> (-0.07%) ⬇️
plugins-handlebars 40.60% <ø> (ø)
plugins-hapi 35.78% <ø> (-0.08%) ⬇️
plugins-hono 35.90% <ø> (-0.08%) ⬇️
plugins-ioredis 34.26% <ø> (-0.08%) ⬇️
plugins-jest 27.03% <ø> (ø)
plugins-knex 40.06% <ø> (ø)
plugins-langgraph 32.32% <ø> (-0.08%) ⬇️
plugins-ldapjs 39.02% <ø> (ø)
plugins-light-my-request ?
plugins-limitd-client 27.93% <ø> (-0.08%) ⬇️
plugins-lodash 40.21% <ø> (ø)
plugins-mariadb 35.10% <ø> (-0.08%) ⬇️
plugins-memcached 33.65% <ø> (-0.08%) ⬇️
plugins-microgateway-core 34.73% <ø> (-0.08%) ⬇️
plugins-modelcontextprotocol-sdk 32.28% <ø> (-0.08%) ⬇️
plugins-moleculer 36.56% <ø> (-0.08%) ⬇️
plugins-mongodb 35.85% <ø> (-0.08%) ⬇️
plugins-mongodb-core 35.38% <ø> (-0.08%) ⬇️
plugins-mongoose 34.53% <ø> (-0.08%) ⬇️
plugins-multer 40.52% <ø> (ø)
plugins-mysql 34.59% <ø> (-0.08%) ⬇️
plugins-mysql2 34.96% <ø> (-0.03%) ⬇️
plugins-nats 36.28% <ø> (-0.08%) ⬇️
plugins-node-serialize 40.44% <ø> (ø)
plugins-opensearch 33.76% <ø> (?)
plugins-passport-http 40.02% <ø> (-0.31%) ⬇️
plugins-pino 29.84% <ø> (-0.08%) ⬇️
plugins-postgres 34.63% <ø> (-0.08%) ⬇️
plugins-process 42.71% <ø> (ø)
plugins-pug 40.72% <ø> (ø)
plugins-redis ?
plugins-router 38.18% <ø> (-0.08%) ⬇️
plugins-sequelize 39.98% <ø> (ø)
plugins-test-and-upstream-amqp10 33.79% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-amqplib 39.12% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-apollo 34.80% <ø> (-0.07%) ⬇️
plugins-test-and-upstream-avsc 33.68% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-bunyan 29.06% <ø> (-0.07%) ⬇️
plugins-test-and-upstream-connect 36.29% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-graphql ?
plugins-test-and-upstream-koa 36.00% <ø> (+0.08%) ⬆️
plugins-test-and-upstream-protobufjs 33.91% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-rhea ?
plugins-undici 35.11% <ø> (+0.05%) ⬆️
plugins-url 42.71% <ø> (ø)
plugins-valkey 33.73% <ø> (-0.09%) ⬇️
plugins-vm 42.71% <ø> (ø)
plugins-winston 29.72% <ø> (-0.08%) ⬇️
plugins-ws 37.04% <ø> (-0.08%) ⬇️
profiling-macos 43.05% <ø> (-0.07%) ⬇️
profiling-ubuntu 43.43% <ø> (-0.07%) ⬇️
profiling-windows 40.90% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-aws-sdk 33.09% <ø> (-0.05%) ⬇️
serverless-aws-sdk-latest-bedrockruntime 31.93% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-client 36.33% <ø> (ø)
serverless-aws-sdk-latest-dynamodb ?
serverless-aws-sdk-latest-eventbridge 27.11% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-kinesis 37.11% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-lambda 34.36% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-s3 32.31% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-serverless-peer-service 39.25% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-sns 38.12% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-sqs 37.74% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-stepfunctions 32.95% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-util 46.87% <ø> (ø)
serverless-aws-sdk-oldest-aws-sdk 33.20% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-bedrockruntime 32.02% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-client 36.90% <ø> (ø)
serverless-aws-sdk-oldest-dynamodb 33.97% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-eventbridge ?
serverless-aws-sdk-oldest-kinesis 37.28% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-lambda 34.46% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-s3 32.45% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-serverless-peer-service 39.34% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-sns 38.22% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-sqs 37.82% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-stepfunctions 33.05% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-util 47.64% <ø> (ø)
serverless-azure-durable-functions 36.81% <ø> (ø)
serverless-azure-functions-eventhubs 38.40% <ø> (ø)
serverless-azure-functions-servicebus 38.46% <ø> (ø)
serverless-lambda 34.32% <ø> (-0.09%) ⬇️
test-optimization-cucumber-latest-7.0.0 49.84% <ø> (+0.11%) ⬆️
test-optimization-cucumber-latest-latest 52.55% <ø> (+0.18%) ⬆️
test-optimization-cucumber-oldest-7.0.0 49.92% <ø> (+0.11%) ⬆️
test-optimization-cypress-latest-12.0.0-commonJS 49.15% <ø> (+0.10%) ⬆️
test-optimization-cypress-latest-12.0.0-esm 49.15% <ø> (+0.17%) ⬆️
test-optimization-cypress-latest-14.5.4-commonJS 48.99% <ø> (+0.07%) ⬆️
test-optimization-cypress-latest-14.5.4-esm 49.02% <ø> (+0.37%) ⬆️
test-optimization-cypress-latest-latest-commonJS 49.48% <ø> (+0.58%) ⬆️
test-optimization-cypress-latest-latest-esm 49.51% <ø> (+0.07%) ⬆️
test-optimization-cypress-oldest-12.0.0-commonJS 49.23% <ø> (+0.07%) ⬆️
test-optimization-cypress-oldest-12.0.0-esm 49.20% <ø> (+0.01%) ⬆️
test-optimization-cypress-oldest-14.5.4-commonJS 49.08% <ø> (+0.07%) ⬆️
test-optimization-cypress-oldest-14.5.4-esm 49.11% <ø> (+0.07%) ⬆️
test-optimization-jest-latest-latest 55.24% <ø> (+0.07%) ⬆️
test-optimization-jest-latest-oldest 48.88% <ø> (-5.25%) ⬇️
test-optimization-jest-oldest-latest 55.29% <ø> (+0.07%) ⬆️
test-optimization-jest-oldest-oldest 52.28% <ø> (-1.83%) ⬇️
test-optimization-mocha-latest-latest 53.50% <ø> (+0.08%) ⬆️
test-optimization-mocha-latest-oldest 51.08% <ø> (+0.08%) ⬆️
test-optimization-mocha-oldest-latest 53.63% <ø> (+0.10%) ⬆️
test-optimization-mocha-oldest-oldest 51.06% <ø> (+0.06%) ⬆️
test-optimization-playwright-latest-latest-playwright-active-test-span 44.14% <ø> (+0.26%) ⬆️
test-optimization-playwright-latest-latest-playwright-atr 42.94% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-latest-playwright-efd 43.36% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-latest-playwright-final-status 43.43% <ø> (?)
test-optimization-playwright-latest-latest-playwright-impacted-tests ?
test-optimization-playwright-latest-latest-playwright-reporting 42.98% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-latest-playwright-test-management 44.43% <ø> (+0.12%) ⬆️
test-optimization-playwright-latest-oldest-playwright-active-test-span 44.10% <ø> (+0.26%) ⬆️
test-optimization-playwright-latest-oldest-playwright-atr 43.00% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-efd 43.30% <ø> (+0.09%) ⬆️
test-optimization-playwright-latest-oldest-playwright-final-status 43.36% <ø> (?)
test-optimization-playwright-latest-oldest-playwright-impacted-tests 42.82% <ø> (ø)
test-optimization-playwright-latest-oldest-playwright-reporting 42.78% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-oldest-playwright-test-management 44.39% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-latest-playwright-active-test-span 44.36% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-atr 43.02% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-efd 43.42% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-final-status 43.50% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-impacted-tests 42.97% <ø> (ø)
test-optimization-playwright-oldest-latest-playwright-reporting 43.04% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-test-management 44.52% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-active-test-span 44.18% <ø> (+0.26%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-atr 43.09% <ø> (?)
test-optimization-playwright-oldest-oldest-playwright-efd 43.36% <ø> (+0.09%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-final-status ?
test-optimization-playwright-oldest-oldest-playwright-impacted-tests 42.91% <ø> (ø)
test-optimization-playwright-oldest-oldest-playwright-reporting 42.84% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-test-management 44.45% <ø> (+0.07%) ⬆️
test-optimization-selenium-latest 45.42% <ø> (+0.22%) ⬆️
test-optimization-selenium-oldest 45.27% <ø> (+0.24%) ⬆️
test-optimization-testopt-active 48.25% <ø> (+0.12%) ⬆️
test-optimization-testopt-latest 48.25% <ø> (+0.12%) ⬆️
test-optimization-testopt-maintenance 48.24% <ø> (+0.13%) ⬆️
test-optimization-testopt-oldest 49.33% <ø> (+0.10%) ⬆️
test-optimization-vitest-latest 50.72% <ø> (+0.10%) ⬆️
test-optimization-vitest-oldest 48.08% <ø> (+0.31%) ⬆️

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.

@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jun 24, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

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

@pr-commenter

pr-commenter Bot commented Jun 24, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-25 11:43:10

Comparing candidate commit 9bf46ed in PR branch BridgeAR/2026-06-24-single-digit-version-keys with baseline commit ea50dc6 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1952 metrics, 13 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 [-155764.340µs; +154875.606µs] or [-5.947%; +5.913%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-175.071ms; +161.658ms] or [-7.072%; +6.530%]

scenario:appsec-control-20

  • unstable execution_time [-113.508ms; +142.031ms] or [-6.736%; +8.429%]

scenario:appsec-control-24

  • unstable execution_time [-93.466ms; +87.836ms] or [-7.777%; +7.309%]

scenario:appsec-control-26

  • unstable execution_time [-96606.360µs; +97241.460µs] or [-8.126%; +8.180%]

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

  • unstable max_rss_usage [-15238.044KB; +15578.844KB] or [-5.413%; +5.534%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-170.278ms; +494.079ms] or [-3.424%; +9.936%]
  • unstable execution_time [-172.701ms; +491.435ms] or [-3.422%; +9.738%]

scenario:plugin-graphql-long-with-depth-and-collapse-off-24

  • unstable cpu_user_time [-441.297ms; +311.753ms] or [-9.806%; +6.927%]
  • unstable execution_time [-469.940ms; +334.481ms] or [-9.809%; +6.982%]
  • unstable max_rss_usage [-50.441MB; +35.601MB] or [-9.259%; +6.535%]

scenario:plugin-graphql-long-with-depth-off-20

  • unstable max_rss_usage [-11.737MB; +9.251MB] or [-8.022%; +6.324%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-5203.858KB; +3281.191KB] or [-6.464%; +4.076%]

BridgeAR added 6 commits June 24, 2026 23:44
Widening the matrix to every major surfaces versions that install fine but
cannot run: `versions/ai@4` resolves to the newest 4.x, which has no VCR
cassette, so the test would hit the live API. `brokenVersions` maps a module to
the ranges to skip; `withVersions()` drops a matching resolved version and
surfaces the reason as a pending test instead of a silent gap. Entries are
stop-gaps carrying a TODO so a fixed version drops the entry.
A published manifest that carries a `workspace:` protocol dependency (some
monorepo packages publish it raw) was copied verbatim into a generated
workspace, so yarn failed with "Couldn't find any versions for X that matches
workspace:*". The newly-covered langchain 0.x folders hit this. Fall back to the
pinned compatible version instead of the unresolvable spec.
Single-digit keying renames the folders these specs hard-code by declared range:
express@>=4 <5 -> @4, @langchain/classic@>=1.0 -> @1, and the bedrock runtime
>=3.422.0 -> @3. Update the requires so they resolve the folders that now exist.
The widened matrix newly tests `@langchain/core@0` (the 0.x latest, 0.3.80),
which has no VCR cassette, so the LLMObs langchain specs hit the live API and
fail with 401. Same fixture gap as the ai 4.x latest; skip it with a TODO. The
0.1.0 floor and the 1.x latest keep their coverage.
The "should instrument fetch failure" test decides whether the execute span
carries the error by comparing the `withVersions` folder key with
`version > '2.3.0'`. That is a lexicographic string comparison: it holds while
the key is `>=2.3.0`, but a bare-major key such as `2` makes `'2' > '2.3.0'`
false, so the test takes the no-error branch even though @apollo/gateway 2.14.0
attaches the error to the execute span via `recordExceptions`. Compare the
resolved version (the third `withVersions` argument) with `semver.gt` so the
gate stays correct regardless of how the version folder is keyed.

(cherry picked from commit fdfd2f5)
The bedrock plugin spec requires versions/@aws-sdk/client-bedrock-runtime@<key>
with the `>=3.422.0` key; the single-digit keying renamed that folder to `@3`.
Its `before` had already run `agent.load`, so the missing-module throw left the
tracer and its Remote Config poll running with no `agent.close`, and the job
hung to the 45-minute timeout instead of failing fast (on master the
`@>=3.422.0` folder still exists, so it never threw). The LLMObs bedrock spec
got this fix; this is the matching APM spec the aws-sdk job actually runs.
@BridgeAR
BridgeAR marked this pull request as ready for review June 25, 2026 08:42
@BridgeAR
BridgeAR requested review from a team as code owners June 25, 2026 08:42
@BridgeAR
BridgeAR requested review from wconti27 and removed request for a team June 25, 2026 08:42

@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: 049a756568

ℹ️ 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/index.js
Single-digit version keying renames the folder this spec hard-codes from
`express@>=5.0.0` to `express@5`. `existsSync` then returns false for the
stale path, so the express 4/5 path-to-regexp dialect suite is silently
skipped in the `PLUGINS=express` matrix even though the express 5 workspace
is installed.
@BridgeAR
BridgeAR merged commit 0b5307d into master Jun 26, 2026
805 checks passed
@BridgeAR
BridgeAR deleted the BridgeAR/2026-06-24-single-digit-version-keys branch June 26, 2026 21:01
This was referenced Jun 26, 2026
rochdev pushed a commit that referenced this pull request Jul 2, 2026
Key each expanded major by its bare major (`versions/mongodb@3`) instead of a
bounded range (`versions/mongodb@>=3.0.0 <4.0.0`). The bare major reads cleanly
as a folder name and covers each major's latest, including the floor major's,
which the range form dropped. Follows the shared resolver from #9019.

Widening the matrix to every major's latest surfaced several latent failures:

1. A bare-major key resolves to that major's newest version, so a range ending
   inside its top major overshoots: microgateway-core `>=2.1 <=3.0.0` keyed `3`
   installed 3.3.7 and the span came back `web.request` instead of
   `microgateway.request`. The top major keeps the declared range whenever it
   stops short of the major's ceiling; fully-spanned and lower majors stay bare.
2. `versions/ai@4` and `@langchain/core@0` resolve to versions that have no VCR
   cassette and would hit the live API (401). A central `brokenVersions`
   registry drops a matching resolved version and surfaces the reason as a
   pending test, each entry a stop-gap carrying a TODO.
3. A manifest carrying a `workspace:` protocol dependency was copied verbatim
   into a generated workspace, so yarn failed with "Couldn't find any versions
   for X that matches workspace:*". Fall back to the pinned compatible version.
4. The Apollo fetch-failure test gated the error span on `version > '2.3.0'`, a
   lexicographic compare that breaks once the key is bare (`'2' > '2.3.0'` is
   false). Compare the resolved version with `semver.gt`.
5. Single-digit keying renames folders that several specs hard-code by range
   (express, langchain, bedrock runtime, aws-sdk). The bedrock require threw
   after `agent.load` with no `agent.close`, leaving the Remote Config poll
   running and hanging the job to the 45-minute timeout; the others silently
   skipped suites. Point the requires at the renamed folders.
rochdev pushed a commit that referenced this pull request Jul 2, 2026
Key each expanded major by its bare major (`versions/mongodb@3`) instead of a
bounded range (`versions/mongodb@>=3.0.0 <4.0.0`). The bare major reads cleanly
as a folder name and covers each major's latest, including the floor major's,
which the range form dropped. Follows the shared resolver from #9019.

Widening the matrix to every major's latest surfaced several latent failures:

1. A bare-major key resolves to that major's newest version, so a range ending
   inside its top major overshoots: microgateway-core `>=2.1 <=3.0.0` keyed `3`
   installed 3.3.7 and the span came back `web.request` instead of
   `microgateway.request`. The top major keeps the declared range whenever it
   stops short of the major's ceiling; fully-spanned and lower majors stay bare.
2. `versions/ai@4` and `@langchain/core@0` resolve to versions that have no VCR
   cassette and would hit the live API (401). A central `brokenVersions`
   registry drops a matching resolved version and surfaces the reason as a
   pending test, each entry a stop-gap carrying a TODO.
3. A manifest carrying a `workspace:` protocol dependency was copied verbatim
   into a generated workspace, so yarn failed with "Couldn't find any versions
   for X that matches workspace:*". Fall back to the pinned compatible version.
4. The Apollo fetch-failure test gated the error span on `version > '2.3.0'`, a
   lexicographic compare that breaks once the key is bare (`'2' > '2.3.0'` is
   false). Compare the resolved version with `semver.gt`.
5. Single-digit keying renames folders that several specs hard-code by range
   (express, langchain, bedrock runtime, aws-sdk). The bedrock require threw
   after `agent.load` with no `agent.close`, leaving the Remote Config poll
   running and hanging the job to the 45-minute timeout; the others silently
   skipped suites. Point the requires at the renamed folders.
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