Skip to content

chore(deps): bump import-in-the-middle to 3.3.1#9235

Merged
juan-fernandez merged 4 commits into
masterfrom
juan-fernandez/bump-import-in-the-middle-3.3.1
Jul 7, 2026
Merged

chore(deps): bump import-in-the-middle to 3.3.1#9235
juan-fernandez merged 4 commits into
masterfrom
juan-fernandez/bump-import-in-the-middle-3.3.1

Conversation

@juan-fernandez

@juan-fernandez juan-fernandez commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Bumps import-in-the-middle from ^3.2.0 to ^3.3.1 and refreshes yarn.lock for the updated transitive dependency set.

Motivation

Local Vitest Test Optimization benchmarking showed a meaningful runtime improvement with [email protected] while preserving the expected Test Optimization event counts.

Additional Notes

Validation:

  • node ./node_modules/mocha/bin/mocha.js --timeout 30000 packages/dd-trace/test/iitm.spec.js packages/dd-trace/test/register.spec.js --reporter dot

Short test benchmark:

Case import-in-the-middle Trials ms Median
Vitest only none 3832, 3886, 3775 3832 ms
dd-trace current 3.2.0 10279, 10275, 10943 10279 ms
dd-trace latest 3.3.1 6887, 7080, 7637 7080 ms

@dd-octo-sts

dd-octo-sts Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 6.6 MB
Deduped: 7.26 MB
No deduping: 7.26 MB

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

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

@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Jul 7, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 96.49% (+0.01%)

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

@pr-commenter

pr-commenter Bot commented Jul 7, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-07-07 17:39:28

Comparing candidate commit 1b81f94 in PR branch juan-fernandez/bump-import-in-the-middle-3.3.1 with baseline commit 8df3778 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 2257 metrics, 29 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 [-185.727ms; +175.215ms] or [-7.070%; +6.670%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-212.451ms; +208.388ms] or [-8.438%; +8.276%]

scenario:appsec-control-20

  • unstable execution_time [-122.679ms; +106.551ms] or [-7.563%; +6.569%]

scenario:appsec-control-24

  • unstable execution_time [-105785.983µs; +104833.716µs] or [-8.702%; +8.624%]

scenario:appsec-control-26

  • unstable execution_time [-112672.461µs; +112492.561µs] or [-9.339%; +9.324%]

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

  • unstable cpu_user_time [-3741.512ms; +2459.475ms] or [-35.480%; +23.323%]
  • unstable execution_time [-3762.839ms; +2464.370ms] or [-33.426%; +21.892%]
  • unstable instructions [-33.4G instructions; +21.9G instructions] or [-37.904%; +24.827%]
  • unstable max_rss_usage [-10.718MB; +7.772MB] or [-6.567%; +4.762%]
  • unstable throughput [-545.510op/s; +838.369op/s] or [-18.096%; +27.811%]

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

  • unstable cpu_user_time [-1819.559ms; +2538.252ms] or [-21.549%; +30.061%]
  • unstable execution_time [-1856.776ms; +2550.386ms] or [-20.341%; +27.940%]
  • unstable instructions [-15.7G instructions; +21.4G instructions] or [-22.719%; +31.078%]
  • unstable max_rss_usage [-6.583MB; +10.756MB] or [-4.189%; +6.844%]
  • unstable throughput [-710.129op/s; +560.139op/s] or [-19.806%; +15.623%]

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

  • unstable cpu_user_time [-2041.840ms; +3274.922ms] or [-21.813%; +34.986%]
  • unstable execution_time [-2100.363ms; +3328.542ms] or [-20.937%; +33.179%]
  • unstable instructions [-18.4G instructions; +29.5G instructions] or [-23.544%; +37.736%]
  • unstable max_rss_usage [-6.173MB; +10.200MB] or [-3.892%; +6.431%]
  • unstable throughput [-727.057op/s; +460.241op/s] or [-22.216%; +14.063%]

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

  • unstable cpu_user_time [-1972.274ms; +2866.457ms] or [-24.441%; +35.523%]
  • unstable execution_time [-2003.207ms; +2899.599ms] or [-22.894%; +33.139%]
  • unstable instructions [-17.1G instructions; +24.9G instructions] or [-26.135%; +37.983%]
  • unstable max_rss_usage [-6.940MB; +11.054MB] or [-4.391%; +6.994%]
  • unstable throughput [-836.032op/s; +605.853op/s] or [-22.179%; +16.072%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-274.524ms; +430.104ms] or [-5.712%; +8.949%]
  • unstable execution_time [-279.446ms; +427.072ms] or [-5.725%; +8.749%]
  • unstable throughput [-144829.578op/s; +97205.174op/s] or [-8.424%; +5.654%]

scenario:plugin-aws-sdk-extract-response-body-24

  • unstable execution_time [-39.813ms; +119.157ms] or [-2.509%; +7.508%]

@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.25%. Comparing base (8df3778) to head (1b81f94).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9235      +/-   ##
==========================================
- Coverage   96.52%   96.25%   -0.27%     
==========================================
  Files         905      905              
  Lines      119282   119282              
  Branches    20576    20353     -223     
==========================================
- Hits       115132   114811     -321     
- Misses       4150     4471     +321     
Flag Coverage Δ
aiguard 53.54% <ø> (-0.05%) ⬇️
aiguard-integration 57.37% <ø> (ø)
apm-bucket-0 53.76% <ø> (-0.05%) ⬇️
apm-bucket-1 58.08% <ø> (-0.05%) ⬇️
apm-bucket-2 56.10% <ø> (-0.05%) ⬇️
apm-capabilities-tracing 60.95% <ø> (-0.05%) ⬇️
apm-integrations-aerospike 52.92% <ø> (-0.05%) ⬇️
apm-integrations-confluentinc-kafka-javascript 57.05% <ø> (+0.01%) ⬆️
apm-integrations-couchbase 53.23% <ø> (-0.05%) ⬇️
apm-integrations-http 57.96% <ø> (-0.05%) ⬇️
apm-integrations-kafkajs 57.72% <ø> (-0.03%) ⬇️
apm-integrations-next 54.21% <ø> (-0.05%) ⬇️
apm-integrations-prisma 54.17% <ø> (-0.05%) ⬇️
apm-integrations-tedious 53.01% <ø> (-0.05%) ⬇️
appsec 69.01% <ø> (-0.06%) ⬇️
appsec-express_fastify_graphql 65.67% <ø> (-0.03%) ⬇️
appsec-integration 45.82% <ø> (ø)
appsec-kafka_ldapjs_lodash 59.11% <ø> (-0.04%) ⬇️
appsec-mongodb-core_mongoose_mysql 62.30% <ø> (-0.04%) ⬇️
appsec-next 52.84% <ø> (-0.04%) ⬇️
appsec-node-serialize_passport_postgres 61.91% <ø> (-0.04%) ⬇️
appsec-sourcing_stripe_template 60.25% <ø> (-0.04%) ⬇️
debugger 65.67% <ø> (-0.02%) ⬇️
instrumentations-bucket-0 48.74% <ø> (-0.05%) ⬇️
instrumentations-bucket-1 54.95% <ø> (-0.05%) ⬇️
instrumentations-bucket-10 56.62% <ø> (-0.05%) ⬇️
instrumentations-bucket-11 48.70% <ø> (-0.05%) ⬇️
instrumentations-bucket-12 48.81% <ø> (-0.05%) ⬇️
instrumentations-bucket-13 48.64% <ø> (-0.05%) ⬇️
instrumentations-bucket-2 49.71% <ø> (-0.05%) ⬇️
instrumentations-bucket-3 53.81% <ø> (-0.05%) ⬇️
instrumentations-bucket-4 49.13% <ø> (-0.05%) ⬇️
instrumentations-bucket-5 52.99% <ø> (-0.05%) ⬇️
instrumentations-bucket-6 55.60% <ø> (-0.05%) ⬇️
instrumentations-bucket-7 53.59% <ø> (-0.06%) ⬇️
instrumentations-bucket-8 54.62% <ø> (-0.05%) ⬇️
instrumentations-bucket-9 56.08% <ø> (-0.04%) ⬇️
instrumentations-instrumentation-couchbase 48.13% <ø> (-0.05%) ⬇️
instrumentations-integration-esbuild 34.20% <ø> (ø)
llmobs-ai_anthropic_bedrock 57.26% <ø> (-0.04%) ⬇️
llmobs-google-genai_langchain_vertex-ai 55.76% <ø> (-0.04%) ⬇️
llmobs-openai 57.56% <ø> (-0.04%) ⬇️
llmobs-sdk 59.97% <ø> (-0.05%) ⬇️
master-coverage 96.25% <ø> (?)
openfeature 54.58% <ø> (+<0.01%) ⬆️
openfeature-unit ?
platform-core_esbuild_instrumentations-misc 38.66% <ø> (-0.03%) ⬇️
platform-integration 62.17% <ø> (ø)
platform-shimmer_unit-guardrails_webpack 37.45% <ø> (-0.03%) ⬇️
plugins-bucket-0 53.16% <ø> (-0.05%) ⬇️
plugins-bucket-1 ?
plugins-bucket-11 56.72% <ø> (-0.05%) ⬇️
plugins-bucket-17 56.73% <ø> (-0.05%) ⬇️
plugins-bucket-18 57.55% <ø> (-0.05%) ⬇️
plugins-bucket-19 57.07% <ø> (-0.05%) ⬇️
plugins-bucket-20 59.37% <ø> (-0.05%) ⬇️
plugins-bucket-4 53.83% <ø> (-0.05%) ⬇️
plugins-bullmq_cassandra_cookie 57.38% <ø> (-0.05%) ⬇️
plugins-cookie-parser_crypto_dd-trace-api 52.29% <ø> (-0.05%) ⬇️
plugins-fetch_fs_generic-pool 54.44% <ø> (-0.05%) ⬇️
plugins-google-cloud-pubsub_grpc_handlebars 59.87% <ø> (-0.05%) ⬇️
plugins-hapi_hono_ioredis 55.85% <ø> (-0.05%) ⬇️
plugins-jest_knex_langgraph 51.64% <ø> (-0.05%) ⬇️
plugins-ldapjs_light-my-request_limitd-client 53.42% <ø> (-0.05%) ⬇️
plugins-lodash_mariadb_memcached 54.19% <ø> (-0.05%) ⬇️
plugins-mongodb_mongodb-core_mongoose 55.10% <ø> (-0.05%) ⬇️
plugins-multer_mysql_mysql2 54.35% <ø> (-0.05%) ⬇️
plugins-nats_node-serialize_opensearch 56.05% <ø> (-0.05%) ⬇️
plugins-passport-http_pino_postgres 54.72% <ø> (-0.05%) ⬇️
plugins-process_pug_redis 53.85% <ø> (-0.05%) ⬇️
plugins-undici_url_valkey 54.36% <ø> (-0.05%) ⬇️
plugins-vm_winston_ws 55.25% <ø> (-0.05%) ⬇️
profiling 58.19% <ø> (-0.05%) ⬇️
serverless-aws-sdk-aws-sdk 50.63% <ø> (-0.04%) ⬇️
serverless-aws-sdk-bedrockruntime 50.65% <ø> (-0.05%) ⬇️
serverless-aws-sdk-client 51.93% <ø> (-0.05%) ⬇️
serverless-aws-sdk-dynamodb 51.73% <ø> (-0.05%) ⬇️
serverless-aws-sdk-eventbridge 46.18% <ø> (-0.05%) ⬇️
serverless-aws-sdk-kinesis 54.68% <ø> (-0.05%) ⬇️
serverless-aws-sdk-lambda 52.76% <ø> (-0.05%) ⬇️
serverless-aws-sdk-s3 51.50% <ø> (-0.05%) ⬇️
serverless-aws-sdk-serverless-peer-service 54.71% <ø> (-0.05%) ⬇️
serverless-aws-sdk-sns 55.46% <ø> (-0.05%) ⬇️
serverless-aws-sdk-sqs 55.89% <ø> (-0.05%) ⬇️
serverless-aws-sdk-stepfunctions 51.22% <ø> (-0.05%) ⬇️
serverless-aws-sdk-util 48.42% <ø> (-0.05%) ⬇️
serverless-bucket-0 55.21% <ø> (ø)
serverless-bucket-1 56.00% <ø> (-0.05%) ⬇️
test-optimization-cucumber 72.92% <ø> (-0.04%) ⬇️
test-optimization-cypress 66.40% <ø> (+0.01%) ⬆️
test-optimization-jest 73.93% <ø> (-0.01%) ⬇️
test-optimization-mocha 74.30% <ø> (+0.04%) ⬆️
test-optimization-playwright-playwright-atr 61.57% <ø> (-0.01%) ⬇️
test-optimization-playwright-playwright-efd 61.76% <ø> (ø)
test-optimization-playwright-playwright-final-status 61.71% <ø> (-0.01%) ⬇️
test-optimization-playwright-playwright-impacted-tests 61.43% <ø> (+0.16%) ⬆️
test-optimization-playwright-playwright-reporting 61.58% <ø> (+0.05%) ⬆️
test-optimization-playwright-playwright-test-management 62.25% <ø> (-0.12%) ⬇️
test-optimization-playwright-playwright-test-span 61.48% <ø> (-0.06%) ⬇️
test-optimization-selenium 60.68% <ø> (-0.11%) ⬇️
test-optimization-testopt 59.13% <ø> (+0.08%) ⬆️
test-optimization-vitest 72.74% <ø> (+0.03%) ⬆️

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.

@juan-fernandez
juan-fernandez marked this pull request as ready for review July 7, 2026 15:18
@juan-fernandez
juan-fernandez requested a review from a team as a code owner July 7, 2026 15:18
@juan-fernandez
juan-fernandez merged commit e87096c into master Jul 7, 2026
655 checks passed
@juan-fernandez
juan-fernandez deleted the juan-fernandez/bump-import-in-the-middle-3.3.1 branch July 7, 2026 19:31
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jul 7, 2026
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jul 7, 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.

2 participants