Skip to content

refactor(test-optimization)!: raise Mocha minimum version to 8.0.0#8245

Merged
juan-fernandez merged 5 commits into
masterfrom
juan-fernandez/mocha-v6-min-version
May 5, 2026
Merged

refactor(test-optimization)!: raise Mocha minimum version to 8.0.0#8245
juan-fernandez merged 5 commits into
masterfrom
juan-fernandez/mocha-v6-min-version

Conversation

@juan-fernandez

@juan-fernandez juan-fernandez commented May 4, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Raises the minimum supported Mocha version to >=8.0.0 for dd-trace v6 while keeping v5 support at >=5.2.0.

This also updates the Test Optimization Mocha matrix to use oldest, maps that selector to 8.0.0 on v6 and 5.2.0 on v5, and limits the plugin externals matrix accordingly.

Motivation

Mocha advanced Test Optimization behavior is simpler with Mocha 8 as the v6 baseline because Mocha 8 introduced parallel mode support. v5 still supports the older versions and now warns users running Mocha <8.0.0 that support will be removed in v6.

@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 5.7 MB
Deduped: 6.54 MB
No deduping: 6.54 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.1 | 82.56 kB | 817.39 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |

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

@codecov

codecov Bot commented May 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.65%. Comparing base (e5e3e4d) to head (a15eeee).

Files with missing lines Patch % Lines
...ackages/datadog-instrumentations/src/mocha/main.js 72.72% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8245   +/-   ##
=======================================
  Coverage   89.64%   89.65%           
=======================================
  Files         829      829           
  Lines       43526    43541   +15     
  Branches     7974     7979    +5     
=======================================
+ Hits        39021    39035   +14     
- Misses       4505     4506    +1     
Flag Coverage Δ
aiguard-integration-active 41.08% <ø> (ø)
aiguard-integration-latest 41.03% <ø> (ø)
aiguard-integration-maintenance 41.08% <ø> (ø)
aiguard-macos 35.60% <ø> (-0.09%) ⬇️
aiguard-ubuntu 35.71% <ø> (-0.09%) ⬇️
aiguard-windows 35.51% <ø> (-0.09%) ⬇️
apm-capabilities-tracing-macos 48.41% <ø> (ø)
apm-capabilities-tracing-ubuntu-active 48.43% <ø> (+<0.01%) ⬆️
apm-capabilities-tracing-ubuntu-latest 48.40% <ø> (ø)
apm-capabilities-tracing-ubuntu-maintenance 48.43% <ø> (ø)
apm-capabilities-tracing-ubuntu-oldest 48.42% <ø> (ø)
apm-capabilities-tracing-windows 48.23% <ø> (-0.01%) ⬇️
apm-integrations-aerospike-18-gte.5.2.0 34.75% <ø> (-0.09%) ⬇️
apm-integrations-aerospike-20-gte.5.5.0 34.77% <ø> (-0.09%) ⬇️
apm-integrations-aerospike-22-gte.5.12.1 34.77% <ø> (-0.09%) ⬇️
apm-integrations-aerospike-22-gte.6.0.0 34.77% <ø> (-0.09%) ⬇️
apm-integrations-aerospike-eol- 34.67% <ø> (-0.09%) ⬇️
apm-integrations-child-process 35.92% <ø> (-0.09%) ⬇️
apm-integrations-confluentinc-kafka-javascript-18 41.58% <ø> (-0.09%) ⬇️
apm-integrations-confluentinc-kafka-javascript-20 41.59% <ø> (-0.09%) ⬇️
apm-integrations-confluentinc-kafka-javascript-22 41.59% <ø> (-0.09%) ⬇️
apm-integrations-confluentinc-kafka-javascript-24 41.53% <ø> (-0.09%) ⬇️
apm-integrations-couchbase-18 34.96% <ø> (-0.12%) ⬇️
apm-integrations-couchbase-eol 35.03% <ø> (-0.09%) ⬇️
apm-integrations-dns 34.78% <ø> (-0.09%) ⬇️
apm-integrations-elasticsearch 35.36% <ø> (-0.09%) ⬇️
apm-integrations-http-latest 42.75% <ø> (-0.08%) ⬇️
apm-integrations-http-maintenance 42.81% <ø> (-0.08%) ⬇️
apm-integrations-http-oldest 42.82% <ø> (-0.08%) ⬇️
apm-integrations-http2 40.10% <ø> (-0.09%) ⬇️
apm-integrations-kafkajs-latest 41.47% <ø> (-0.08%) ⬇️
apm-integrations-kafkajs-oldest 41.52% <ø> (-0.09%) ⬇️
apm-integrations-net 35.44% <ø> (-0.09%) ⬇️
apm-integrations-next-11.1.4 29.30% <ø> (-0.06%) ⬇️
apm-integrations-next-13.2.0 31.12% <ø> (-0.09%) ⬇️
apm-integrations-next-gte.10.2.0.and.lt.11 23.33% <ø> (ø)
apm-integrations-next-gte.11.0.0.and.lt.13 31.13% <ø> (-0.09%) ⬇️
apm-integrations-next-gte.13.0.0.and.lt.14 31.38% <ø> (-0.09%) ⬇️
apm-integrations-next-gte.14.0.0.and.lte.14.2.6 31.19% <ø> (-0.11%) ⬇️
apm-integrations-next-gte.14.2.7.and.lt.15 31.19% <ø> (-0.09%) ⬇️
apm-integrations-next-gte.15.0.0 31.25% <ø> (-0.09%) ⬇️
apm-integrations-oracledb 35.04% <ø> (-0.09%) ⬇️
apm-integrations-prisma-18-gte.6.16.0.and.lt.7.0.0 35.33% <ø> (-0.09%) ⬇️
apm-integrations-prisma-latest-all 35.66% <ø> (-0.09%) ⬇️
apm-integrations-restify 36.88% <ø> (-0.09%) ⬇️
apm-integrations-sharedb 34.36% <ø> (-0.09%) ⬇️
apm-integrations-tedious 34.92% <ø> (-0.09%) ⬇️
appsec-express 52.55% <ø> (-0.07%) ⬇️
appsec-fastify 49.08% <ø> (-0.07%) ⬇️
appsec-graphql 49.25% <ø> (-0.07%) ⬇️
appsec-integration-active 37.44% <46.15%> (+<0.01%) ⬆️
appsec-integration-latest 37.41% <46.15%> (+<0.01%) ⬆️
appsec-integration-maintenance 37.43% <46.15%> (+<0.01%) ⬆️
appsec-integration-oldest 37.43% <46.15%> (+<0.01%) ⬆️
appsec-kafka 41.86% <ø> (-0.09%) ⬇️
appsec-ldapjs 41.09% <ø> (-0.08%) ⬇️
appsec-lodash 41.20% <ø> (-0.08%) ⬇️
appsec-macos 56.59% <54.54%> (-0.07%) ⬇️
appsec-mongodb-core 45.45% <ø> (-0.07%) ⬇️
appsec-mongoose 46.35% <ø> (-0.07%) ⬇️
appsec-mysql 48.52% <ø> (-0.08%) ⬇️
appsec-next-latest-11.1.4 29.45% <ø> (-0.08%) ⬇️
appsec-next-latest-13.2.0 31.32% <ø> (-0.09%) ⬇️
appsec-next-latest-gte.10.2.0.and.lt.11 28.55% <ø> (ø)
appsec-next-latest-gte.11.0.0.and.lt.13 31.31% <ø> (-0.09%) ⬇️
appsec-next-latest-gte.13.0.0.and.lt.14 31.51% <ø> (-0.09%) ⬇️
appsec-next-latest-gte.14.0.0.and.lte.14.2.6 31.35% <ø> (-0.09%) ⬇️
appsec-next-latest-gte.14.2.7.and.lt.15 31.35% <ø> (-0.09%) ⬇️
appsec-next-latest-gte.15.0.0 31.35% <ø> (-0.09%) ⬇️
appsec-next-oldest-11.1.4 29.46% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.2.0 31.56% <ø> (-0.09%) ⬇️
appsec-next-oldest-gte.10.2.0.and.lt.11 28.68% <ø> (ø)
appsec-next-oldest-gte.11.0.0.and.lt.13 31.32% <ø> (-0.09%) ⬇️
appsec-next-oldest-gte.13.0.0.and.lt.14 31.75% <ø> (-0.09%) ⬇️
appsec-next-oldest-gte.14.0.0.and.lte.14.2.6 31.60% <ø> (-0.09%) ⬇️
appsec-next-oldest-gte.14.2.7.and.lt.15 31.60% <ø> (-0.09%) ⬇️
appsec-next-oldest-gte.15.0.0 31.60% <ø> (-0.09%) ⬇️
appsec-node-serialize 40.39% <ø> (-0.08%) ⬇️
appsec-passport 44.33% <ø> (-0.08%) ⬇️
appsec-postgres 48.10% <ø> (-0.07%) ⬇️
appsec-sourcing 39.87% <ø> (-0.08%) ⬇️
appsec-stripe 42.12% <ø> (-0.07%) ⬇️
appsec-template 40.55% <ø> (-0.08%) ⬇️
appsec-ubuntu 56.67% <54.54%> (-0.07%) ⬇️
appsec-windows 56.47% <54.54%> (-0.09%) ⬇️
debugger-ubuntu-active 44.16% <ø> (-0.07%) ⬇️
debugger-ubuntu-latest 44.10% <ø> (-0.07%) ⬇️
debugger-ubuntu-maintenance 44.17% <ø> (-0.07%) ⬇️
debugger-ubuntu-oldest 44.53% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-bluebird 29.70% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-body-parser 37.51% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-child_process 35.30% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-cookie-parser 31.63% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-express 31.84% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-express-mongo-sanitize 31.75% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-express-session 37.15% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-fs 29.39% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-generic-pool 30.30% <54.54%> (+0.04%) ⬆️
instrumentations-instrumentation-http 36.76% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-knex 29.67% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-light-my-request 37.08% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-mongoose 30.76% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-multer 37.29% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-mysql2 35.28% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-passport 40.94% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-passport-http 40.72% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-passport-local 41.23% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-pg 34.81% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-promise 29.64% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-promise-js 29.64% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-q 29.67% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-url 29.64% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-when 29.66% <ø> (-0.09%) ⬇️
instrumentations-integration-esbuild-active 19.65% <46.15%> (+0.01%) ⬆️
instrumentations-integration-esbuild-latest 19.63% <46.15%> (+0.01%) ⬆️
instrumentations-integration-esbuild-maintenance 19.65% <46.15%> (+0.01%) ⬆️
instrumentations-integration-esbuild-oldest 19.64% <46.15%> (+0.01%) ⬆️
llmobs-ai 38.25% <ø> (-0.09%) ⬇️
llmobs-anthropic 37.75% <ø> (-0.09%) ⬇️
llmobs-bedrock 36.97% <ø> (-0.08%) ⬇️
llmobs-google-genai 37.39% <ø> (-0.08%) ⬇️
llmobs-langchain 36.95% <ø> (-0.07%) ⬇️
llmobs-openai 41.07% <ø> (-0.08%) ⬇️
llmobs-sdk-active 45.69% <ø> (-0.09%) ⬇️
llmobs-sdk-latest 45.62% <ø> (-0.09%) ⬇️
llmobs-sdk-maintenance 45.69% <ø> (-0.09%) ⬇️
llmobs-sdk-oldest 45.67% <ø> (-0.09%) ⬇️
llmobs-vertex-ai 37.56% <ø> (-0.09%) ⬇️
openfeature-macos 38.63% <ø> (-0.01%) ⬇️
openfeature-ubuntu 38.72% <ø> (ø)
openfeature-unit-active 50.43% <ø> (-0.52%) ⬇️
openfeature-unit-latest 50.28% <ø> (-0.52%) ⬇️
openfeature-unit-maintenance 50.43% <ø> (-0.52%) ⬇️
openfeature-unit-oldest 50.43% <ø> (-0.52%) ⬇️
openfeature-windows 38.45% <ø> (-0.06%) ⬇️
platform-core 37.45% <ø> (+0.92%) ⬆️
platform-esbuild 40.80% <ø> (ø)
platform-instrumentations-misc 31.17% <ø> (ø)
platform-integration-active 47.76% <ø> (-0.01%) ⬇️
platform-integration-latest 47.73% <ø> (-0.01%) ⬇️
platform-integration-maintenance 47.78% <ø> (+<0.01%) ⬆️
platform-integration-oldest 47.95% <ø> (ø)
platform-shimmer 42.68% <ø> (+0.56%) ⬆️
platform-unit-guardrails 36.55% <ø> (+0.66%) ⬆️
platform-webpack 20.72% <54.54%> (+0.02%) ⬆️
plugins-azure-durable-functions 37.52% <ø> (+0.17%) ⬆️
plugins-azure-event-hubs 35.38% <ø> (ø)
plugins-azure-service-bus 35.82% <ø> (ø)
plugins-bullmq 40.43% <ø> (-0.09%) ⬇️
plugins-cassandra 35.19% <ø> (+0.05%) ⬆️
plugins-cookie 26.91% <ø> (+0.43%) ⬆️
plugins-cookie-parser 26.71% <ø> (+0.43%) ⬆️
plugins-crypto 28.22% <ø> (+0.89%) ⬆️
plugins-dd-trace-api 35.27% <ø> (-0.09%) ⬇️
plugins-express-mongo-sanitize 26.85% <ø> (+0.42%) ⬆️
plugins-express-session 26.67% <ø> (+0.43%) ⬆️
plugins-fastify 39.19% <ø> (-0.09%) ⬇️
plugins-fetch 35.66% <ø> (-0.09%) ⬇️
plugins-fs 35.54% <ø> (-0.09%) ⬇️
plugins-generic-pool 25.83% <ø> (+0.43%) ⬆️
plugins-google-cloud-pubsub 42.84% <ø> (-0.06%) ⬇️
plugins-grpc 37.90% <ø> (-0.09%) ⬇️
plugins-handlebars 26.88% <ø> (+0.42%) ⬆️
plugins-hapi 37.13% <ø> (-0.09%) ⬇️
plugins-hono 37.37% <ø> (-0.09%) ⬇️
plugins-ioredis 35.60% <ø> (-0.09%) ⬇️
plugins-knex 26.55% <ø> (+0.40%) ⬆️
plugins-langgraph 34.93% <ø> (-0.09%) ⬇️
plugins-ldapjs 24.44% <ø> (+0.41%) ⬆️
plugins-light-my-request 26.30% <ø> (+0.41%) ⬆️
plugins-limitd-client 29.95% <ø> (-0.09%) ⬇️
plugins-lodash 25.91% <ø> (+0.43%) ⬆️
plugins-mariadb 36.46% <ø> (-0.09%) ⬇️
plugins-memcached 35.25% <ø> (-0.09%) ⬇️
plugins-microgateway-core 36.23% <ø> (-0.09%) ⬇️
plugins-modelcontextprotocol-sdk 34.17% <ø> (-0.09%) ⬇️
plugins-moleculer 37.92% <ø> (-0.09%) ⬇️
plugins-mongodb 36.44% <ø> (-0.09%) ⬇️
plugins-mongodb-core 36.06% <ø> (-0.09%) ⬇️
plugins-mongoose 35.93% <ø> (-0.09%) ⬇️
plugins-multer 26.67% <ø> (+0.43%) ⬆️
plugins-mysql 36.17% <ø> (-0.24%) ⬇️
plugins-mysql2 36.30% <ø> (-0.09%) ⬇️
plugins-node-serialize 26.95% <ø> (+0.43%) ⬆️
plugins-opensearch 34.91% <ø> (-0.09%) ⬇️
plugins-passport-http 26.72% <ø> (+0.42%) ⬆️
plugins-pino 31.66% <ø> (-0.09%) ⬇️
plugins-postgres 34.45% <54.54%> (-0.07%) ⬇️
plugins-process 28.22% <ø> (+0.89%) ⬆️
plugins-pug 26.91% <ø> (+0.43%) ⬆️
plugins-redis 35.80% <ø> (-0.08%) ⬇️
plugins-router 39.53% <ø> (-0.09%) ⬇️
plugins-sequelize 25.61% <ø> (+0.43%) ⬆️
plugins-test-and-upstream-amqp10 35.57% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-amqplib 40.68% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-apollo 36.41% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-avsc 34.88% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-bunyan 31.07% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-connect 37.73% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-graphql 37.08% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-koa 37.33% <ø> (-0.02%) ⬇️
plugins-test-and-upstream-protobufjs 35.10% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-rhea 40.74% <ø> (-0.12%) ⬇️
plugins-undici 36.43% <ø> (+0.05%) ⬆️
plugins-url 28.22% <ø> (+0.89%) ⬆️
plugins-valkey 35.27% <ø> (-0.09%) ⬇️
plugins-vm 28.22% <ø> (+0.89%) ⬆️
plugins-winston 31.55% <ø> (-0.09%) ⬇️
plugins-ws 38.83% <ø> (-0.09%) ⬇️
profiling-macos 43.66% <ø> (-0.07%) ⬇️
profiling-ubuntu 44.16% <ø> (-0.07%) ⬇️
profiling-windows 40.88% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-aws-sdk 35.25% <54.54%> (-0.07%) ⬇️
serverless-aws-sdk-latest-bedrockruntime 33.68% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-client 22.51% <ø> (+0.39%) ⬆️
serverless-aws-sdk-latest-dynamodb 36.09% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-eventbridge 29.34% <54.54%> (-0.06%) ⬇️
serverless-aws-sdk-latest-kinesis 38.99% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-lambda 36.31% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-s3 34.28% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-serverless-peer-service 40.57% <ø> (-0.09%) ⬇️
serverless-aws-sdk-latest-sns 40.16% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-sqs 39.27% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-stepfunctions 34.92% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-util 47.80% <ø> (ø)
serverless-aws-sdk-oldest-aws-sdk 35.32% <54.54%> (-0.06%) ⬇️
serverless-aws-sdk-oldest-bedrockruntime 33.72% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-client 22.89% <ø> (+0.38%) ⬆️
serverless-aws-sdk-oldest-dynamodb 36.14% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-eventbridge 29.38% <54.54%> (-0.06%) ⬇️
serverless-aws-sdk-oldest-kinesis 39.07% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-lambda 36.36% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-s3 34.34% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-serverless-peer-service 40.64% <ø> (-0.09%) ⬇️
serverless-aws-sdk-oldest-sns 40.35% <ø> (+0.05%) ⬆️
serverless-aws-sdk-oldest-sqs 39.33% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-stepfunctions 34.97% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-util 48.12% <ø> (ø)
serverless-azure-functions-client 39.04% <ø> (ø)
serverless-azure-functions-eventhubs 38.70% <ø> (ø)
serverless-azure-functions-servicebus 38.76% <ø> (ø)
serverless-lambda 33.42% <54.54%> (-0.07%) ⬇️
test-optimization-cucumber-latest-7.0.0 50.36% <ø> (-0.02%) ⬇️
test-optimization-cucumber-latest-latest 53.08% <ø> (+0.12%) ⬆️
test-optimization-cucumber-oldest-7.0.0 50.40% <ø> (+0.12%) ⬆️
test-optimization-cypress-latest-10.2.0-commonJS 47.60% <ø> (+0.05%) ⬆️
test-optimization-cypress-latest-10.2.0-esm 47.64% <ø> (+0.05%) ⬆️
test-optimization-cypress-latest-14.5.4-commonJS 48.22% <ø> (+0.07%) ⬆️
test-optimization-cypress-latest-14.5.4-esm 48.26% <ø> (+0.07%) ⬆️
test-optimization-cypress-latest-latest-commonJS 48.71% <ø> (+0.07%) ⬆️
test-optimization-cypress-latest-latest-esm 48.75% <ø> (+0.02%) ⬆️
test-optimization-cypress-oldest-10.2.0-commonJS 47.64% <ø> (+0.07%) ⬆️
test-optimization-cypress-oldest-10.2.0-esm 47.68% <ø> (+0.07%) ⬆️
test-optimization-cypress-oldest-14.5.4-commonJS 48.26% <ø> (+0.07%) ⬆️
test-optimization-cypress-oldest-14.5.4-esm 48.30% <ø> (+0.07%) ⬆️
test-optimization-jest-latest-24.8.0 53.93% <ø> (+0.18%) ⬆️
test-optimization-jest-latest-latest 54.68% <ø> (+0.08%) ⬆️
test-optimization-jest-oldest-24.8.0 53.85% <ø> (+0.07%) ⬆️
test-optimization-jest-oldest-latest 54.68% <ø> (+0.08%) ⬆️
test-optimization-mocha-latest-5.2.0 ?
test-optimization-mocha-latest-latest 53.17% <80.00%> (+0.11%) ⬆️
test-optimization-mocha-latest-oldest 50.73% <76.92%> (?)
test-optimization-mocha-oldest-5.2.0 ?
test-optimization-mocha-oldest-latest 53.33% <80.00%> (+0.14%) ⬆️
test-optimization-mocha-oldest-oldest 50.75% <76.92%> (?)
test-optimization-playwright-latest-latest-playwright-active-test-span 44.16% <ø> (+0.29%) ⬆️
test-optimization-playwright-latest-latest-playwright-atr 42.87% <ø> (+0.11%) ⬆️
test-optimization-playwright-latest-latest-playwright-efd 43.14% <ø> (+0.09%) ⬆️
test-optimization-playwright-latest-latest-playwright-impacted-tests 42.80% <ø> (ø)
test-optimization-playwright-latest-latest-playwright-reporting 42.93% <ø> (+0.09%) ⬆️
test-optimization-playwright-latest-latest-playwright-test-management 44.93% <ø> (+0.11%) ⬆️
test-optimization-playwright-latest-oldest-playwright-active-test-span 44.21% <ø> (+0.29%) ⬆️
test-optimization-playwright-latest-oldest-playwright-atr 43.05% <ø> (+0.12%) ⬆️
test-optimization-playwright-latest-oldest-playwright-efd 43.17% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-impacted-tests 42.84% <ø> (ø)
test-optimization-playwright-latest-oldest-playwright-reporting 42.98% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-test-management 44.99% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-latest-playwright-active-test-span 44.20% <ø> (+0.29%) ⬆️
test-optimization-playwright-oldest-latest-playwright-atr 42.91% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-latest-playwright-efd 43.16% <ø> (+0.09%) ⬆️
test-optimization-playwright-oldest-latest-playwright-impacted-tests 42.86% <ø> (ø)
test-optimization-playwright-oldest-latest-playwright-reporting 42.95% <ø> (+0.09%) ⬆️
test-optimization-playwright-oldest-latest-playwright-test-management 44.95% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-active-test-span 44.24% <ø> (+0.29%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-atr 43.09% <ø> (+0.12%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-efd 43.18% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-impacted-tests 42.88% <ø> (ø)
test-optimization-playwright-oldest-oldest-playwright-reporting 43.00% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-test-management 45.01% <ø> (+0.11%) ⬆️
test-optimization-selenium-latest 45.98% <76.92%> (+0.09%) ⬆️
test-optimization-selenium-oldest 45.47% <76.92%> (+0.10%) ⬆️
test-optimization-testopt-active 47.29% <76.92%> (+0.16%) ⬆️
test-optimization-testopt-latest 47.25% <76.92%> (+0.16%) ⬆️
test-optimization-testopt-maintenance 47.29% <76.92%> (+0.16%) ⬆️
test-optimization-testopt-oldest 48.10% <76.92%> (+0.17%) ⬆️
test-optimization-vitest-latest 51.39% <ø> (+0.13%) ⬆️
test-optimization-vitest-oldest 47.98% <ø> (+0.37%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 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-official

datadog-official Bot commented May 4, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage (details)
Patch Coverage: 53.85%
Overall Coverage: 86.47% (-0.01%)

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

@pr-commenter

pr-commenter Bot commented May 4, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-04 10:36:57

Comparing candidate commit a15eeee in PR branch juan-fernandez/mocha-v6-min-version with baseline commit e5e3e4d in branch master.

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

@juan-fernandez

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@juan-fernandez
juan-fernandez marked this pull request as ready for review May 4, 2026 13:25
@juan-fernandez
juan-fernandez requested review from a team as code owners May 4, 2026 13:25
@rochdev rochdev added this to the 6.0.0 milestone May 4, 2026
@juan-fernandez
juan-fernandez merged commit afae167 into master May 5, 2026
878 checks passed
@juan-fernandez
juan-fernandez deleted the juan-fernandez/mocha-v6-min-version branch May 5, 2026 08:12
@dd-octo-sts dd-octo-sts Bot mentioned this pull request May 6, 2026
@pabloerhard pabloerhard changed the title [test-optimization] Raise v6 Mocha minimum version refactor(test-optimization)!: raise Mocha minimum version to 8.0.0 Jul 2, 2026
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jul 2, 2026
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.

4 participants