Skip to content

fix(cypress): changed DD_MAJOR guards to greater than or equal#9199

Merged
pabloerhard merged 1 commit into
masterfrom
pabloerhard/fix-cypress-guards
Jul 2, 2026
Merged

fix(cypress): changed DD_MAJOR guards to greater than or equal#9199
pabloerhard merged 1 commit into
masterfrom
pabloerhard/fix-cypress-guards

Conversation

@pabloerhard

Copy link
Copy Markdown
Contributor

What does this PR do?

Motivation

Additional Notes

@pabloerhard
pabloerhard marked this pull request as ready for review July 2, 2026 19:55
@pabloerhard
pabloerhard requested a review from a team as a code owner July 2, 2026 19:55
@dd-octo-sts

dd-octo-sts Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 6.52 MB
Deduped: 7.59 MB
No deduping: 7.59 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

@pabloerhard
pabloerhard enabled auto-merge (squash) July 2, 2026 19:57
@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jul 2, 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: 186dc96 | Docs | Datadog PR Page | Give us feedback!

@datadog-datadog-prod-us1 datadog-datadog-prod-us1 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.

Datadog Autotest: PASS

More details

This PR unifies version guards across 8 Cypress integration test files by changing DD_MAJOR === 6 to DD_MAJOR >= 6. The change is consistent with line 36's existing pattern and enables forward compatibility for future v7+ releases, allowing them to use the same Node/Cypress version compatibility logic as v6 instead of skipping tests. No behavioral regressions for the current v6 release.

Was this helpful? React 👍 or 👎

📊 Validated against 11 scenarios · Open Bits AI session

🤖 Datadog Autotest · Commit 186dc96 · What is Autotest? · Any feedback? Reach out in #autotest

@pr-commenter

pr-commenter Bot commented Jul 2, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-07-02 20:04:42

Comparing candidate commit 186dc96 in PR branch pabloerhard/fix-cypress-guards with baseline commit 7bc2032 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 2256 metrics, 30 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 [-182.956ms; +179.175ms] or [-6.940%; +6.797%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-207.910ms; +210.192ms] or [-8.282%; +8.373%]

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

  • unstable execution_time [-155347.756µs; +156550.790µs] or [-5.386%; +5.428%]

scenario:appsec-control-20

  • unstable execution_time [-108.476ms; +116.682ms] or [-6.699%; +7.206%]

scenario:appsec-control-24

  • unstable execution_time [-105847.796µs; +105076.729µs] or [-8.688%; +8.625%]

scenario:appsec-control-26

  • unstable execution_time [-112.192ms; +108.522ms] or [-9.290%; +8.986%]

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

  • unstable cpu_user_time [-2314.458ms; +2640.746ms] or [-25.280%; +28.844%]
  • unstable execution_time [-2396.960ms; +2707.776ms] or [-24.325%; +27.479%]
  • unstable instructions [-19.7G instructions; +22.3G instructions] or [-26.421%; +29.785%]
  • unstable max_rss_usage [-10368.109KB; +11870.509KB] or [-6.514%; +7.458%]
  • unstable throughput [-700.025op/s; +612.777op/s] or [-20.755%; +18.168%]

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

  • unstable cpu_user_time [-1523.593ms; +2703.008ms] or [-18.096%; +32.104%]
  • unstable execution_time [-1534.680ms; +2706.448ms] or [-16.886%; +29.779%]
  • unstable instructions [-13.1G instructions; +23.0G instructions] or [-19.133%; +33.422%]
  • unstable max_rss_usage [-6.638MB; +11.036MB] or [-4.229%; +7.031%]
  • unstable throughput [-773.153op/s; +417.649op/s] or [-21.478%; +11.602%]

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

  • unstable cpu_user_time [-1940.923ms; +3098.505ms] or [-24.456%; +39.042%]
  • unstable execution_time [-1938.445ms; +3106.690ms] or [-22.484%; +36.034%]
  • unstable instructions [-16.5G instructions; +26.4G instructions] or [-25.523%; +40.908%]
  • unstable max_rss_usage [-6.884MB; +11.011MB] or [-4.353%; +6.962%]
  • unstable throughput [-906.349op/s; +562.946op/s] or [-23.657%; +14.694%]

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

  • unstable cpu_user_time [-1749.291ms; +686.800ms] or [-18.718%; +7.349%]
  • unstable execution_time [-1778.825ms; +676.836ms] or [-17.711%; +6.739%]
  • unstable instructions [-15.8G instructions; +5.9G instructions] or [-20.368%; +7.654%]
  • unstable throughput [-162.481op/s; +376.718op/s] or [-4.965%; +11.513%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-312.220ms; +398.606ms] or [-6.458%; +8.244%]
  • unstable execution_time [-310.549ms; +397.408ms] or [-6.324%; +8.093%]
  • unstable throughput [-136082.114op/s; +106696.376op/s] or [-7.958%; +6.240%]

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

  • unstable max_rss_usage [-7654.645KB; +8759.216KB] or [-5.731%; +6.558%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-5145.197KB; +3293.197KB] or [-6.467%; +4.139%]

@pabloerhard
pabloerhard merged commit 80c5d96 into master Jul 2, 2026
652 checks passed
@pabloerhard
pabloerhard deleted the pabloerhard/fix-cypress-guards branch July 2, 2026 20:09
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.65%. Comparing base (7bc2032) to head (186dc96).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #9199   +/-   ##
=======================================
  Coverage   93.64%   93.65%           
=======================================
  Files         898      898           
  Lines       52365    52365           
  Branches    12324    12324           
=======================================
+ Hits        49038    49040    +2     
+ Misses       3327     3325    -2     
Flag Coverage Δ
aiguard 34.88% <ø> (-0.08%) ⬇️
aiguard-integration 41.96% <ø> (ø)
apm-bucket-0 34.84% <ø> (-0.08%) ⬇️
apm-bucket-1 40.51% <ø> (-0.07%) ⬇️
apm-bucket-2 37.50% <ø> (-0.07%) ⬇️
apm-capabilities-tracing 48.88% <ø> (ø)
apm-integrations-aerospike 33.13% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript 40.03% <ø> (-0.08%) ⬇️
apm-integrations-couchbase 33.41% <ø> (-0.08%) ⬇️
apm-integrations-http 42.05% <ø> (-0.07%) ⬇️
apm-integrations-kafkajs 40.31% <ø> (-0.08%) ⬇️
apm-integrations-next 29.63% <ø> (-0.08%) ⬇️
apm-integrations-prisma 35.18% <ø> (-0.07%) ⬇️
apm-integrations-tedious 34.05% <ø> (-0.08%) ⬇️
appsec 57.92% <ø> (+0.05%) ⬆️
appsec-express_fastify_graphql 53.86% <ø> (-0.07%) ⬇️
appsec-integration 35.68% <ø> (ø)
appsec-kafka_ldapjs_lodash 43.75% <ø> (-0.07%) ⬇️
appsec-mongodb-core_mongoose_mysql 48.93% <ø> (-0.04%) ⬇️
appsec-next 28.11% <ø> (-0.07%) ⬇️
appsec-node-serialize_passport_postgres 48.13% <ø> (-0.06%) ⬇️
appsec-sourcing_stripe_template 45.64% <ø> (-0.06%) ⬇️
debugger 44.64% <ø> (ø)
instrumentations-bucket-0 28.17% <ø> (-0.08%) ⬇️
instrumentations-bucket-1 37.57% <ø> (-0.07%) ⬇️
instrumentations-bucket-10 40.52% <ø> (-0.07%) ⬇️
instrumentations-bucket-11 27.96% <ø> (-0.08%) ⬇️
instrumentations-bucket-12 28.79% <ø> (-0.08%) ⬇️
instrumentations-bucket-13 27.79% <ø> (-0.08%) ⬇️
instrumentations-bucket-2 30.36% <ø> (-0.08%) ⬇️
instrumentations-bucket-3 36.06% <ø> (-0.08%) ⬇️
instrumentations-bucket-4 28.58% <ø> (-0.08%) ⬇️
instrumentations-bucket-5 36.42% <ø> (-0.07%) ⬇️
instrumentations-bucket-6 38.43% <ø> (-0.08%) ⬇️
instrumentations-bucket-7 36.16% <ø> (-0.07%) ⬇️
instrumentations-bucket-8 37.11% <ø> (-0.07%) ⬇️
instrumentations-bucket-9 39.62% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-couchbase 46.48% <ø> (ø)
instrumentations-integration-esbuild 24.51% <ø> (ø)
llmobs-ai_anthropic_bedrock 39.68% <ø> (-0.07%) ⬇️
llmobs-google-genai_langchain_vertex-ai 37.10% <ø> (-0.06%) ⬇️
llmobs-openai 39.74% <ø> (-0.07%) ⬇️
llmobs-sdk 43.59% <ø> (-0.08%) ⬇️
master-coverage 93.65% <ø> (?)
openfeature 37.94% <ø> (ø)
openfeature-unit 50.47% <ø> (ø)
platform-core_esbuild_instrumentations-misc 22.96% <ø> (ø)
platform-integration 47.58% <ø> (-0.02%) ⬇️
platform-shimmer_unit-guardrails_webpack 18.48% <ø> (ø)
plugins-bucket-0 36.52% <ø> (-0.07%) ⬇️
plugins-bucket-1 39.78% <ø> (ø)
plugins-bucket-11 38.63% <ø> (-0.08%) ⬇️
plugins-bucket-17 39.22% <ø> (-0.07%) ⬇️
plugins-bucket-18 42.17% <ø> (-0.07%) ⬇️
plugins-bucket-19 39.73% <ø> (-0.07%) ⬇️
plugins-bucket-20 43.44% <ø> (-0.07%) ⬇️
plugins-bucket-4 37.88% <ø> (-0.07%) ⬇️
plugins-bullmq_cassandra_cookie 39.93% <ø> (-0.07%) ⬇️
plugins-cookie-parser_crypto_dd-trace-api 33.23% <ø> (-0.08%) ⬇️
plugins-fetch_fs_generic-pool 36.21% <ø> (-0.08%) ⬇️
plugins-google-cloud-pubsub_grpc_handlebars 43.09% <ø> (-0.07%) ⬇️
plugins-hapi_hono_ioredis 37.95% <ø> (-0.07%) ⬇️
plugins-jest_knex_langgraph 32.61% <ø> (-0.08%) ⬇️
plugins-ldapjs_light-my-request_limitd-client 27.86% <ø> (-0.08%) ⬇️
plugins-lodash_mariadb_memcached 35.18% <ø> (-0.08%) ⬇️
plugins-mongodb_mongodb-core_mongoose 36.46% <ø> (-0.07%) ⬇️
plugins-multer_mysql_mysql2 35.15% <ø> (-0.08%) ⬇️
plugins-nats_node-serialize_opensearch 37.31% <ø> (-0.08%) ⬇️
plugins-passport-http_pino_postgres 35.53% <ø> (-0.08%) ⬇️
plugins-process_pug_redis 34.27% <ø> (-0.08%) ⬇️
plugins-undici_url_valkey 36.03% <ø> (-0.08%) ⬇️
plugins-vm_winston_ws 37.72% <ø> (-0.08%) ⬇️
profiling 43.81% <ø> (-0.07%) ⬇️
serverless-aws-sdk-aws-sdk 33.32% <ø> (-0.07%) ⬇️
serverless-aws-sdk-bedrockruntime 32.19% <ø> (-0.07%) ⬇️
serverless-aws-sdk-client 37.16% <ø> (ø)
serverless-aws-sdk-dynamodb 34.19% <ø> (-0.07%) ⬇️
serverless-aws-sdk-eventbridge 27.36% <ø> (-0.07%) ⬇️
serverless-aws-sdk-kinesis 37.55% <ø> (-0.07%) ⬇️
serverless-aws-sdk-lambda 34.64% <ø> (-0.07%) ⬇️
serverless-aws-sdk-s3 32.63% <ø> (-0.07%) ⬇️
serverless-aws-sdk-serverless-peer-service 39.65% <ø> (-0.08%) ⬇️
serverless-aws-sdk-sns 38.40% <ø> (-0.19%) ⬇️
serverless-aws-sdk-sqs 38.14% <ø> (-0.07%) ⬇️
serverless-aws-sdk-stepfunctions 33.22% <ø> (-0.07%) ⬇️
serverless-aws-sdk-util 47.95% <ø> (ø)
serverless-bucket-0 39.64% <ø> (ø)
serverless-lambda 34.34% <ø> (-0.09%) ⬇️
test-optimization-cucumber 52.54% <ø> (+0.11%) ⬆️
test-optimization-cypress 49.63% <ø> (+0.06%) ⬆️
test-optimization-jest 55.57% <ø> (+0.04%) ⬆️
test-optimization-mocha 53.61% <ø> (+0.08%) ⬆️
test-optimization-playwright-playwright-atr 43.53% <ø> (+0.08%) ⬆️
test-optimization-playwright-playwright-efd 43.81% <ø> (+0.08%) ⬆️
test-optimization-playwright-playwright-final-status 43.91% <ø> (+0.06%) ⬆️
test-optimization-playwright-playwright-impacted-tests 43.36% <ø> (ø)
test-optimization-playwright-playwright-reporting 43.48% <ø> (+0.09%) ⬆️
test-optimization-playwright-playwright-test-management 44.93% <ø> (+0.08%) ⬆️
test-optimization-playwright-playwright-test-span 44.72% <ø> (+0.22%) ⬆️
test-optimization-selenium 45.44% <ø> (+0.06%) ⬆️
test-optimization-testopt 46.82% <ø> (+0.08%) ⬆️
test-optimization-vitest 52.73% <ø> (+0.11%) ⬆️

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.

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.

3 participants