Skip to content

refactor(test-optimization)!: raise Jest minimum version to 28.0.0#8246

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

refactor(test-optimization)!: raise Jest minimum version to 28.0.0#8246
juan-fernandez merged 3 commits into
masterfrom
juan-fernandez/jest-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 Jest version to >=28.0.0 for dd-trace v6 while keeping v5 support at >=24.8.0.

Updates the Test Optimization Jest matrix to use the oldest selector, maps that selector to 28.0.0 on v6 and 24.8.0 on v5, and installs jest-environment-jsdom for Jest versions that require it.

Motivation

Jest 28 supports the advanced Test Optimization behavior needed for v6, while v5 will continue supporting older Jest versions. Users running v5 with Jest <28.0.0 will see a deprecation warning so they can upgrade before 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

@datadog-prod-us1-6

This comment has been minimized.

@codecov

codecov Bot commented May 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.62%. Comparing base (925bd0a) to head (095f7e8).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
packages/datadog-instrumentations/src/jest.js 80.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8246      +/-   ##
==========================================
- Coverage   89.62%   89.62%   -0.01%     
==========================================
  Files         829      829              
  Lines       43358    43545     +187     
  Branches     7916     7984      +68     
==========================================
+ Hits        38861    39027     +166     
- Misses       4497     4518      +21     
Flag Coverage Δ
aiguard-integration-active 41.08% <ø> (-0.24%) ⬇️
aiguard-integration-latest 41.03% <ø> (-0.24%) ⬇️
aiguard-integration-maintenance 41.08% <ø> (-0.24%) ⬇️
aiguard-macos 35.60% <ø> (-0.31%) ⬇️
aiguard-ubuntu 35.71% <ø> (-0.31%) ⬇️
aiguard-windows 35.51% <ø> (-0.31%) ⬇️
apm-capabilities-tracing-macos 48.41% <ø> (+0.20%) ⬆️
apm-capabilities-tracing-ubuntu-active 48.43% <ø> (+0.20%) ⬆️
apm-capabilities-tracing-ubuntu-latest 48.40% <ø> (+0.20%) ⬆️
apm-capabilities-tracing-ubuntu-maintenance 48.43% <ø> (+0.20%) ⬆️
apm-capabilities-tracing-ubuntu-oldest 48.42% <ø> (+0.20%) ⬆️
apm-capabilities-tracing-windows 48.23% <ø> (+0.24%) ⬆️
apm-integrations-aerospike-18-gte.5.2.0 34.75% <ø> (-0.30%) ⬇️
apm-integrations-aerospike-20-gte.5.5.0 34.77% <ø> (-0.30%) ⬇️
apm-integrations-aerospike-22-gte.5.12.1 34.77% <ø> (-0.30%) ⬇️
apm-integrations-aerospike-22-gte.6.0.0 34.77% <ø> (-0.30%) ⬇️
apm-integrations-aerospike-eol- 34.67% <ø> (-0.30%) ⬇️
apm-integrations-child-process 35.92% <ø> (-0.32%) ⬇️
apm-integrations-confluentinc-kafka-javascript-18 41.58% <ø> (-0.34%) ⬇️
apm-integrations-confluentinc-kafka-javascript-20 41.59% <ø> (-0.34%) ⬇️
apm-integrations-confluentinc-kafka-javascript-22 41.59% <ø> (-0.34%) ⬇️
apm-integrations-confluentinc-kafka-javascript-24 41.53% <ø> (-0.34%) ⬇️
apm-integrations-couchbase-18 34.96% <ø> (-0.30%) ⬇️
apm-integrations-couchbase-eol 34.86% <ø> (-0.45%) ⬇️
apm-integrations-dns 34.78% <ø> (-0.31%) ⬇️
apm-integrations-elasticsearch 35.36% <ø> (-0.29%) ⬇️
apm-integrations-http-latest 42.75% <ø> (-0.31%) ⬇️
apm-integrations-http-maintenance 42.81% <ø> (-0.31%) ⬇️
apm-integrations-http-oldest 42.82% <ø> (-0.31%) ⬇️
apm-integrations-http2 40.10% <ø> (-0.34%) ⬇️
apm-integrations-kafkajs-latest 41.47% <ø> (-0.33%) ⬇️
apm-integrations-kafkajs-oldest 41.52% <ø> (-0.34%) ⬇️
apm-integrations-net 35.44% <ø> (-0.31%) ⬇️
apm-integrations-next-11.1.4 29.60% <34.61%> (+0.07%) ⬆️
apm-integrations-next-13.2.0 31.12% <ø> (-0.27%) ⬇️
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.27%) ⬇️
apm-integrations-next-gte.13.0.0.and.lt.14 31.38% <ø> (-0.26%) ⬇️
apm-integrations-next-gte.14.0.0.and.lte.14.2.6 31.19% <ø> (-0.27%) ⬇️
apm-integrations-next-gte.14.2.7.and.lt.15 31.23% <ø> (-0.23%) ⬇️
apm-integrations-next-gte.15.0.0 31.25% <ø> (-0.26%) ⬇️
apm-integrations-oracledb 35.04% <ø> (-0.29%) ⬇️
apm-integrations-prisma-18-gte.6.16.0.and.lt.7.0.0 35.33% <ø> (-0.29%) ⬇️
apm-integrations-prisma-latest-all 35.66% <ø> (-0.29%) ⬇️
apm-integrations-restify 36.88% <ø> (-0.30%) ⬇️
apm-integrations-sharedb 34.36% <ø> (-0.31%) ⬇️
apm-integrations-tedious 34.92% <ø> (-0.29%) ⬇️
appsec-express 52.54% <ø> (-0.34%) ⬇️
appsec-fastify 49.08% <ø> (-0.29%) ⬇️
appsec-graphql 49.25% <ø> (-0.40%) ⬇️
appsec-integration-active 37.44% <30.00%> (-0.17%) ⬇️
appsec-integration-latest 37.41% <30.00%> (-0.17%) ⬇️
appsec-integration-maintenance 37.43% <30.00%> (-0.17%) ⬇️
appsec-integration-oldest 37.43% <30.00%> (-0.17%) ⬇️
appsec-kafka 41.87% <ø> (-0.30%) ⬇️
appsec-ldapjs 41.09% <ø> (-0.29%) ⬇️
appsec-lodash 41.20% <ø> (-0.29%) ⬇️
appsec-macos 56.59% <ø> (-0.29%) ⬇️
appsec-mongodb-core 45.46% <ø> (-0.28%) ⬇️
appsec-mongoose 46.35% <ø> (-0.30%) ⬇️
appsec-mysql 48.52% <ø> (-0.29%) ⬇️
appsec-next-latest-11.1.4 29.77% <34.61%> (+0.07%) ⬆️
appsec-next-latest-13.2.0 31.32% <ø> (-0.27%) ⬇️
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.27%) ⬇️
appsec-next-latest-gte.13.0.0.and.lt.14 31.51% <ø> (-0.27%) ⬇️
appsec-next-latest-gte.14.0.0.and.lte.14.2.6 31.35% <ø> (-0.27%) ⬇️
appsec-next-latest-gte.14.2.7.and.lt.15 31.35% <ø> (-0.27%) ⬇️
appsec-next-latest-gte.15.0.0 31.35% <ø> (-0.27%) ⬇️
appsec-next-oldest-11.1.4 29.79% <34.61%> (+0.07%) ⬆️
appsec-next-oldest-13.2.0 31.56% <ø> (-0.27%) ⬇️
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.27%) ⬇️
appsec-next-oldest-gte.13.0.0.and.lt.14 31.75% <ø> (-0.27%) ⬇️
appsec-next-oldest-gte.14.0.0.and.lte.14.2.6 31.60% <ø> (-0.27%) ⬇️
appsec-next-oldest-gte.14.2.7.and.lt.15 31.60% <ø> (-0.27%) ⬇️
appsec-next-oldest-gte.15.0.0 31.60% <ø> (-0.27%) ⬇️
appsec-node-serialize 40.39% <ø> (-0.28%) ⬇️
appsec-passport 44.33% <ø> (-0.32%) ⬇️
appsec-postgres 48.09% <ø> (-0.43%) ⬇️
appsec-sourcing 39.87% <ø> (-0.28%) ⬇️
appsec-stripe 42.11% <ø> (-0.43%) ⬇️
appsec-template 40.55% <ø> (-0.28%) ⬇️
appsec-ubuntu 56.67% <ø> (-0.29%) ⬇️
appsec-windows 56.49% <ø> (-0.27%) ⬇️
debugger-ubuntu-active 44.16% <ø> (-0.37%) ⬇️
debugger-ubuntu-latest 44.10% <ø> (-0.32%) ⬇️
debugger-ubuntu-maintenance 44.52% <ø> (-0.32%) ⬇️
debugger-ubuntu-oldest 44.53% <ø> (-0.32%) ⬇️
instrumentations-instrumentation-bluebird 29.70% <ø> (-0.28%) ⬇️
instrumentations-instrumentation-body-parser 37.51% <ø> (-0.30%) ⬇️
instrumentations-instrumentation-child_process 35.30% <ø> (-0.31%) ⬇️
instrumentations-instrumentation-cookie-parser 31.63% <ø> (-0.27%) ⬇️
instrumentations-instrumentation-express 31.84% <ø> (-0.27%) ⬇️
instrumentations-instrumentation-express-mongo-sanitize 31.75% <ø> (-0.27%) ⬇️
instrumentations-instrumentation-express-session 37.15% <ø> (-0.30%) ⬇️
instrumentations-instrumentation-fs 29.39% <ø> (-0.28%) ⬇️
instrumentations-instrumentation-generic-pool 30.25% <ø> (-0.34%) ⬇️
instrumentations-instrumentation-http 36.76% <ø> (-0.31%) ⬇️
instrumentations-instrumentation-knex 29.67% <ø> (-0.28%) ⬇️
instrumentations-instrumentation-light-my-request 37.08% <ø> (-0.30%) ⬇️
instrumentations-instrumentation-mongoose 30.76% <ø> (-0.26%) ⬇️
instrumentations-instrumentation-multer 37.29% <ø> (-0.30%) ⬇️
instrumentations-instrumentation-mysql2 35.28% <ø> (-0.31%) ⬇️
instrumentations-instrumentation-passport 40.94% <ø> (-0.30%) ⬇️
instrumentations-instrumentation-passport-http 40.72% <ø> (-0.30%) ⬇️
instrumentations-instrumentation-passport-local 41.23% <ø> (-0.30%) ⬇️
instrumentations-instrumentation-pg 34.81% <ø> (-0.31%) ⬇️
instrumentations-instrumentation-promise 29.64% <ø> (-0.28%) ⬇️
instrumentations-instrumentation-promise-js 29.64% <ø> (-0.28%) ⬇️
instrumentations-instrumentation-q 29.67% <ø> (-0.28%) ⬇️
instrumentations-instrumentation-url 29.64% <ø> (-0.28%) ⬇️
instrumentations-instrumentation-when 29.66% <ø> (-0.28%) ⬇️
instrumentations-integration-esbuild-active 19.66% <30.00%> (-0.08%) ⬇️
instrumentations-integration-esbuild-latest 19.64% <30.00%> (-0.08%) ⬇️
instrumentations-integration-esbuild-maintenance 19.66% <30.00%> (-0.08%) ⬇️
instrumentations-integration-esbuild-oldest 19.65% <30.00%> (-0.08%) ⬇️
llmobs-ai 38.25% <ø> (-0.30%) ⬇️
llmobs-anthropic 37.75% <ø> (-0.30%) ⬇️
llmobs-bedrock 36.97% <ø> (-0.27%) ⬇️
llmobs-google-genai 37.39% <ø> (-0.29%) ⬇️
llmobs-langchain 36.95% <ø> (-0.25%) ⬇️
llmobs-openai 41.07% <ø> (-0.31%) ⬇️
llmobs-sdk-active 45.69% <ø> (-0.37%) ⬇️
llmobs-sdk-latest 45.62% <ø> (-0.37%) ⬇️
llmobs-sdk-maintenance 45.69% <ø> (-0.37%) ⬇️
llmobs-sdk-oldest 45.67% <ø> (-0.37%) ⬇️
llmobs-vertex-ai 37.56% <ø> (-0.30%) ⬇️
openfeature-macos 38.63% <ø> (-0.24%) ⬇️
openfeature-ubuntu 38.72% <ø> (-0.24%) ⬇️
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.51% <ø> (-0.24%) ⬇️
platform-core 36.53% <ø> (ø)
platform-esbuild 40.80% <ø> (ø)
platform-instrumentations-misc 31.17% <ø> (-0.18%) ⬇️
platform-integration-active 47.76% <ø> (-0.27%) ⬇️
platform-integration-latest 47.73% <ø> (-0.26%) ⬇️
platform-integration-maintenance 47.78% <ø> (-0.27%) ⬇️
platform-integration-oldest 47.95% <ø> (-0.27%) ⬇️
platform-shimmer 42.11% <ø> (ø)
platform-unit-guardrails 35.88% <ø> (ø)
platform-webpack 20.73% <34.61%> (-0.07%) ⬇️
plugins-azure-durable-functions 37.34% <ø> (-0.24%) ⬇️
plugins-azure-event-hubs 35.38% <ø> (-0.24%) ⬇️
plugins-azure-service-bus 35.82% <ø> (-0.24%) ⬇️
plugins-bullmq 40.54% <ø> (-0.23%) ⬇️
plugins-cassandra 35.05% <ø> (-0.43%) ⬇️
plugins-cookie 26.47% <ø> (ø)
plugins-cookie-parser 26.28% <ø> (ø)
plugins-crypto 27.32% <ø> (ø)
plugins-dd-trace-api 35.27% <ø> (-0.31%) ⬇️
plugins-express-mongo-sanitize 26.42% <ø> (ø)
plugins-express-session 26.24% <ø> (ø)
plugins-fastify 39.19% <ø> (-0.31%) ⬇️
plugins-fetch 35.66% <ø> (-0.29%) ⬇️
plugins-fs 35.54% <ø> (-0.31%) ⬇️
plugins-generic-pool 25.40% <ø> (ø)
plugins-google-cloud-pubsub 42.84% <ø> (-0.32%) ⬇️
plugins-grpc 37.90% <ø> (-0.30%) ⬇️
plugins-handlebars 26.46% <ø> (ø)
plugins-hapi 37.13% <ø> (-0.31%) ⬇️
plugins-hono 37.37% <ø> (-0.30%) ⬇️
plugins-ioredis 35.60% <ø> (-0.31%) ⬇️
plugins-knex 26.14% <ø> (ø)
plugins-langgraph 34.93% <ø> (-0.30%) ⬇️
plugins-ldapjs 24.02% <ø> (ø)
plugins-light-my-request 25.88% <ø> (ø)
plugins-limitd-client 29.80% <ø> (-0.43%) ⬇️
plugins-lodash 25.47% <ø> (ø)
plugins-mariadb 36.46% <ø> (-0.31%) ⬇️
plugins-memcached 35.25% <ø> (-0.31%) ⬇️
plugins-microgateway-core 36.23% <ø> (-0.30%) ⬇️
plugins-modelcontextprotocol-sdk 34.17% <ø> (-0.30%) ⬇️
plugins-moleculer 37.92% <ø> (-0.31%) ⬇️
plugins-mongodb 36.44% <ø> (-0.30%) ⬇️
plugins-mongodb-core 36.06% <ø> (-0.33%) ⬇️
plugins-mongoose 35.93% <ø> (-0.29%) ⬇️
plugins-multer 26.24% <ø> (ø)
plugins-mysql 36.32% <ø> (-0.16%) ⬇️
plugins-mysql2 36.30% <ø> (-0.31%) ⬇️
plugins-node-serialize 26.51% <ø> (ø)
plugins-opensearch 34.91% <ø> (-0.29%) ⬇️
plugins-passport-http 26.30% <ø> (ø)
plugins-pino 31.66% <ø> (-0.29%) ⬇️
plugins-postgres 34.44% <ø> (-0.26%) ⬇️
plugins-process 27.32% <ø> (ø)
plugins-pug 26.47% <ø> (ø)
plugins-redis 35.80% <ø> (-0.31%) ⬇️
plugins-router 39.53% <ø> (-0.32%) ⬇️
plugins-sequelize 25.18% <ø> (ø)
plugins-test-and-upstream-amqp10 35.57% <ø> (-0.31%) ⬇️
plugins-test-and-upstream-amqplib 40.68% <ø> (-0.34%) ⬇️
plugins-test-and-upstream-apollo 36.41% <ø> (-0.28%) ⬇️
plugins-test-and-upstream-avsc 34.88% <ø> (-0.31%) ⬇️
plugins-test-and-upstream-bunyan 31.07% <ø> (-0.29%) ⬇️
plugins-test-and-upstream-connect 37.73% <ø> (-0.31%) ⬇️
plugins-test-and-upstream-graphql 37.08% <ø> (-0.31%) ⬇️
plugins-test-and-upstream-koa 37.33% <ø> (-0.31%) ⬇️
plugins-test-and-upstream-protobufjs 35.10% <ø> (-0.31%) ⬇️
plugins-test-and-upstream-rhea 40.74% <ø> (-0.37%) ⬇️
plugins-undici 36.43% <ø> (-0.29%) ⬇️
plugins-url 27.32% <ø> (ø)
plugins-valkey 35.27% <ø> (-0.31%) ⬇️
plugins-vm 27.32% <ø> (ø)
plugins-winston 31.55% <ø> (-0.28%) ⬇️
plugins-ws 38.83% <ø> (-0.32%) ⬇️
profiling-macos 43.79% <ø> (-0.32%) ⬇️
profiling-ubuntu 44.16% <ø> (-0.32%) ⬇️
profiling-windows 40.88% <ø> (-0.30%) ⬇️
serverless-aws-sdk-latest-aws-sdk 35.25% <ø> (-0.23%) ⬇️
serverless-aws-sdk-latest-bedrockruntime 33.68% <ø> (-0.26%) ⬇️
serverless-aws-sdk-latest-client 22.12% <ø> (ø)
serverless-aws-sdk-latest-dynamodb 36.09% <ø> (-0.27%) ⬇️
serverless-aws-sdk-latest-eventbridge 29.31% <ø> (-0.22%) ⬇️
serverless-aws-sdk-latest-kinesis 38.99% <ø> (-0.29%) ⬇️
serverless-aws-sdk-latest-lambda 36.31% <ø> (-0.27%) ⬇️
serverless-aws-sdk-latest-s3 34.28% <ø> (-0.26%) ⬇️
serverless-aws-sdk-latest-serverless-peer-service 40.57% <ø> (-0.34%) ⬇️
serverless-aws-sdk-latest-sns 40.16% <ø> (-0.42%) ⬇️
serverless-aws-sdk-latest-sqs 39.27% <ø> (-0.29%) ⬇️
serverless-aws-sdk-latest-stepfunctions 34.92% <ø> (-0.27%) ⬇️
serverless-aws-sdk-latest-util 47.80% <ø> (ø)
serverless-aws-sdk-oldest-aws-sdk 35.30% <ø> (-0.23%) ⬇️
serverless-aws-sdk-oldest-bedrockruntime 33.72% <ø> (-0.26%) ⬇️
serverless-aws-sdk-oldest-client 22.50% <ø> (ø)
serverless-aws-sdk-oldest-dynamodb 36.14% <ø> (-0.27%) ⬇️
serverless-aws-sdk-oldest-eventbridge 29.36% <ø> (-0.22%) ⬇️
serverless-aws-sdk-oldest-kinesis 39.07% <ø> (-0.29%) ⬇️
serverless-aws-sdk-oldest-lambda 36.36% <ø> (-0.27%) ⬇️
serverless-aws-sdk-oldest-s3 34.34% <ø> (-0.26%) ⬇️
serverless-aws-sdk-oldest-serverless-peer-service 40.64% <ø> (-0.34%) ⬇️
serverless-aws-sdk-oldest-sns 40.35% <ø> (-0.29%) ⬇️
serverless-aws-sdk-oldest-sqs 39.33% <ø> (-0.29%) ⬇️
serverless-aws-sdk-oldest-stepfunctions 34.97% <ø> (-0.27%) ⬇️
serverless-aws-sdk-oldest-util 48.12% <ø> (ø)
serverless-azure-functions-client 39.04% <ø> (-0.25%) ⬇️
serverless-azure-functions-eventhubs 38.70% <ø> (-0.24%) ⬇️
serverless-azure-functions-servicebus 38.76% <ø> (-0.24%) ⬇️
serverless-lambda 33.40% <ø> (-0.25%) ⬇️
test-optimization-cucumber-latest-7.0.0 50.39% <ø> (+0.18%) ⬆️
test-optimization-cucumber-latest-latest 53.08% <ø> (+0.48%) ⬆️
test-optimization-cucumber-oldest-7.0.0 50.40% <ø> (+0.30%) ⬆️
test-optimization-cypress-latest-10.2.0-commonJS 47.63% <ø> (+0.27%) ⬆️
test-optimization-cypress-latest-10.2.0-esm 47.71% <ø> (+0.35%) ⬆️
test-optimization-cypress-latest-14.5.4-commonJS 48.22% <ø> (+0.27%) ⬆️
test-optimization-cypress-latest-14.5.4-esm 48.26% <ø> (+0.27%) ⬆️
test-optimization-cypress-latest-latest-commonJS 48.71% <ø> (+0.26%) ⬆️
test-optimization-cypress-latest-latest-esm 48.75% <ø> (+0.26%) ⬆️
test-optimization-cypress-oldest-10.2.0-commonJS 47.64% <ø> (+0.27%) ⬆️
test-optimization-cypress-oldest-10.2.0-esm 47.68% <ø> (+0.27%) ⬆️
test-optimization-cypress-oldest-14.5.4-commonJS 48.26% <ø> (+0.27%) ⬆️
test-optimization-cypress-oldest-14.5.4-esm 48.30% <ø> (+0.27%) ⬆️
test-optimization-jest-latest-24.8.0 ?
test-optimization-jest-latest-latest 54.69% <70.00%> (+0.36%) ⬆️
test-optimization-jest-latest-oldest 53.75% <76.66%> (?)
test-optimization-jest-oldest-24.8.0 ?
test-optimization-jest-oldest-latest 54.70% <70.00%> (+0.36%) ⬆️
test-optimization-jest-oldest-oldest 53.77% <76.66%> (?)
test-optimization-mocha-latest-5.2.0 48.48% <ø> (-0.07%) ⬇️
test-optimization-mocha-latest-latest 53.15% <ø> (+0.28%) ⬆️
test-optimization-mocha-oldest-5.2.0 48.50% <ø> (-0.07%) ⬇️
test-optimization-mocha-oldest-latest 53.28% <ø> (+0.27%) ⬆️
test-optimization-playwright-latest-latest-playwright-active-test-span 44.16% <ø> (+0.15%) ⬆️
test-optimization-playwright-latest-latest-playwright-atr 42.87% <ø> (+<0.01%) ⬆️
test-optimization-playwright-latest-latest-playwright-efd 43.14% <ø> (-0.05%) ⬇️
test-optimization-playwright-latest-latest-playwright-impacted-tests 42.80% <ø> (-0.15%) ⬇️
test-optimization-playwright-latest-latest-playwright-reporting 42.93% <ø> (-0.06%) ⬇️
test-optimization-playwright-latest-latest-playwright-test-management 44.93% <ø> (+0.32%) ⬆️
test-optimization-playwright-latest-oldest-playwright-active-test-span 44.21% <ø> (+0.15%) ⬆️
test-optimization-playwright-latest-oldest-playwright-atr 43.05% <ø> (+<0.01%) ⬆️
test-optimization-playwright-latest-oldest-playwright-efd 43.17% <ø> (-0.05%) ⬇️
test-optimization-playwright-latest-oldest-playwright-impacted-tests 42.84% <ø> (-0.15%) ⬇️
test-optimization-playwright-latest-oldest-playwright-reporting 42.98% <ø> (-0.06%) ⬇️
test-optimization-playwright-latest-oldest-playwright-test-management 44.99% <ø> (+0.32%) ⬆️
test-optimization-playwright-oldest-latest-playwright-active-test-span 44.20% <ø> (+0.15%) ⬆️
test-optimization-playwright-oldest-latest-playwright-atr 42.91% <ø> (+<0.01%) ⬆️
test-optimization-playwright-oldest-latest-playwright-efd 43.16% <ø> (-0.05%) ⬇️
test-optimization-playwright-oldest-latest-playwright-impacted-tests 42.86% <ø> (-0.15%) ⬇️
test-optimization-playwright-oldest-latest-playwright-reporting 42.95% <ø> (-0.06%) ⬇️
test-optimization-playwright-oldest-latest-playwright-test-management 44.95% <ø> (+0.32%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-active-test-span 44.24% <ø> (+0.15%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-atr 43.09% <ø> (+<0.01%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-efd 43.18% <ø> (-0.05%) ⬇️
test-optimization-playwright-oldest-oldest-playwright-impacted-tests 42.88% <ø> (-0.15%) ⬇️
test-optimization-playwright-oldest-oldest-playwright-reporting 43.00% <ø> (-0.06%) ⬇️
test-optimization-playwright-oldest-oldest-playwright-test-management 45.01% <ø> (+0.32%) ⬆️
test-optimization-selenium-latest 45.98% <56.66%> (-0.05%) ⬇️
test-optimization-selenium-oldest 45.47% <56.66%> (-0.03%) ⬇️
test-optimization-testopt-active 47.29% <56.66%> (+0.04%) ⬆️
test-optimization-testopt-latest 47.25% <56.66%> (+0.04%) ⬆️
test-optimization-testopt-maintenance 47.29% <56.66%> (+0.04%) ⬆️
test-optimization-testopt-oldest 48.10% <56.66%> (+0.10%) ⬆️
test-optimization-vitest-latest 51.36% <ø> (+0.40%) ⬆️
test-optimization-vitest-oldest 47.98% <ø> (+0.23%) ⬆️

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.

@pr-commenter

pr-commenter Bot commented May 4, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-04 12:48:32

Comparing candidate commit 095f7e8 in PR branch juan-fernandez/jest-v6-min-version with baseline commit 925bd0a in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1752 metrics, 92 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. Delightful!

ℹ️ 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".

@BridgeAR
BridgeAR force-pushed the juan-fernandez/jest-v6-min-version branch from f59c96a to 095f7e8 Compare May 4, 2026 12:25
@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
BridgeAR added a commit that referenced this pull request May 4, 2026
… fail

`gh api graphql -f variables="$variables"` does not parse the value as
JSON; gh forwards it as a string and GitHub responds with the misleading
`Variable $input of type CreateCommitOnBranchInput! was provided invalid
value` instead of accepting the request. The `supported-integrations-push`
job has been silently broken since it landed; the most recent failure is
run 25309510001 on PR #8246. The same broken pattern lives in
`update-3rdparty-licenses`, where the push step rarely fires so nobody
noticed.

Build the full `{query, variables}` body with `jq -nc` and pipe it to
`gh api graphql --input -`. Reproduced locally on gh 2.89 that the new
pattern returns proper `NOT_FOUND` / `STALE_DATA` errors when the SHA
doesn't match, instead of the type-validation noise.

Drive-by: `update-3rdparty-licenses` also had `jq -c` instead of
`jq -nc`, which silently produces empty output on a runner since there
is no piped stdin — a second latent bug in the same shell snippet. The
new pattern uses `-nc` everywhere, so the two workflows stay in lockstep.
BridgeAR added a commit that referenced this pull request May 4, 2026
… fail

`gh api graphql -f variables="$variables"` forwards the value as a
string instead of parsing it as JSON; GitHub returns the misleading
`Variable $input ... was provided invalid value`. Latest failure: run
25309510001 on PR #8246. The same pattern lives in
`update-3rdparty-licenses`; that job's push step rarely fires so nobody
noticed.

Drive-by fix: `update-3rdparty-licenses` also had `jq -c` instead of
`jq -nc`, silently producing empty output on a runner with no stdin.
@rochdev rochdev added this to the 6.0.0 milestone May 4, 2026
@juan-fernandez
juan-fernandez merged commit ea902cc into master May 5, 2026
1569 checks passed
@juan-fernandez
juan-fernandez deleted the juan-fernandez/jest-v6-min-version branch May 5, 2026 08:11
BridgeAR added a commit that referenced this pull request May 5, 2026
#8252)

`gh api graphql -f variables="$variables"` forwards the value as a
string instead of parsing it as JSON; GitHub returns the misleading
`Variable $input ... was provided invalid value`. Latest failure: run
25309510001 on PR #8246. The same pattern lives in
`update-3rdparty-licenses`; that job's push step rarely fires so nobody
noticed.

Drive-by fix: `update-3rdparty-licenses` also had `jq -c` instead of
`jq -nc`, silently producing empty output on a runner with no stdin.
@dd-octo-sts dd-octo-sts Bot mentioned this pull request May 6, 2026
sabrenner pushed a commit that referenced this pull request May 6, 2026
#8252)

`gh api graphql -f variables="$variables"` forwards the value as a
string instead of parsing it as JSON; GitHub returns the misleading
`Variable $input ... was provided invalid value`. Latest failure: run
25309510001 on PR #8246. The same pattern lives in
`update-3rdparty-licenses`; that job's push step rarely fires so nobody
noticed.

Drive-by fix: `update-3rdparty-licenses` also had `jq -c` instead of
`jq -nc`, silently producing empty output on a runner with no stdin.
@pabloerhard pabloerhard changed the title [test-optimization] Raise v6 Jest minimum version refactor(test-optimization)!: raise Jest minimum version to 28.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