Skip to content

chore: update iitm and fix initialize#7387

Merged
BridgeAR merged 8 commits intomasterfrom
BridgeAR/2026-01-21-fix-loader
Feb 3, 2026
Merged

chore: update iitm and fix initialize#7387
BridgeAR merged 8 commits intomasterfrom
BridgeAR/2026-01-21-fix-loader

Conversation

@BridgeAR
Copy link
Copy Markdown
Member

The initialize hook was expecting that it could import a cjs module. That expectation was wrong due to only working due to iitm formerly instrumenting the top level module. Since that is not the case anymore it broke our instrumentation, since that would not be possible by Node.js itself.

As drive by, this removes code from not supported versions as well as making some parts faster and cleaning up code.

@BridgeAR BridgeAR force-pushed the BridgeAR/2026-01-21-fix-loader branch from cdbf2c0 to d51e903 Compare January 29, 2026 17:37
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 29, 2026

Overall package size

Self size: 4.5 MB
Deduped: 5.34 MB
No deduping: 5.34 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.6 | 81.92 kB | 813.08 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |

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

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.83%. Comparing base (4a8a494) to head (945211c).
⚠️ Report is 18 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7387      +/-   ##
==========================================
- Coverage   85.86%   85.83%   -0.03%     
==========================================
  Files         518      518              
  Lines       22375    22376       +1     
==========================================
- Hits        19212    19207       -5     
- Misses       3163     3169       +6     
Flag Coverage Δ
aiguard-macos 99.09% <ø> (ø)
aiguard-ubuntu 99.09% <ø> (ø)
aiguard-windows 99.09% <ø> (ø)
apm-capabilities-tracing-macos 57.66% <ø> (-0.01%) ⬇️
apm-capabilities-tracing-ubuntu 57.65% <ø> (-0.01%) ⬇️
apm-capabilities-tracing-windows 57.25% <ø> (-0.03%) ⬇️
apm-integrations-child-process 99.19% <ø> (ø)
apm-integrations-couchbase-18 100.00% <ø> (ø)
apm-integrations-couchbase-eol 100.00% <ø> (ø)
appsec-express 62.54% <ø> (ø)
appsec-fastify 58.55% <ø> (ø)
appsec-graphql 53.40% <ø> (ø)
appsec-kafka 43.98% <ø> (ø)
appsec-ldapjs 46.04% <ø> (ø)
appsec-lodash 47.29% <ø> (ø)
appsec-macos 93.76% <ø> (ø)
appsec-mongodb-core 51.82% <ø> (ø)
appsec-mongoose 50.73% <ø> (ø)
appsec-mysql 54.16% <ø> (ø)
appsec-node-serialize 43.92% <ø> (ø)
appsec-passport 48.07% <ø> (ø)
appsec-postgres 54.51% <ø> (ø)
appsec-sourcing 33.80% <ø> (ø)
appsec-template 43.92% <ø> (ø)
appsec-ubuntu 93.76% <ø> (ø)
appsec-windows 93.76% <ø> (ø)
llmobs-ai 52.09% <ø> (ø)
llmobs-anthropic 42.73% <ø> (ø)
llmobs-bedrock 40.06% <ø> (ø)
llmobs-google-genai 45.89% <ø> (ø)
llmobs-langchain 50.15% <ø> (ø)
llmobs-openai 55.62% <ø> (ø)
llmobs-vertex-ai 44.48% <ø> (ø)
platform-core 87.23% <ø> (ø)
platform-instrumentations-misc 89.16% <ø> (ø)
platform-shimmer 98.80% <ø> (ø)
platform-unit-guardrails 89.47% <ø> (ø)
profiling-macos 70.74% <ø> (ø)
profiling-ubuntu 70.74% <ø> (ø)
profiling-windows 74.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.

@datadog-datadog-prod-us1

This comment has been minimized.

@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Jan 29, 2026

Benchmarks

Benchmark execution time: 2026-02-01 18:26:17

Comparing candidate commit 945211c in PR branch BridgeAR/2026-01-21-fix-loader with baseline commit 4a8a494 in branch master.

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

@BridgeAR BridgeAR marked this pull request as ready for review January 30, 2026 23:35
@BridgeAR BridgeAR requested review from a team as code owners January 30, 2026 23:35
The initialize hook was expecting that it could import a cjs
module. That expectation was wrong due to only working due to
iitm formerly instrumenting the top level module. Since that is
not the case anymore it broke our instrumentation, since that
would not be possible by Node.js itself.

As drive by, this removes code from not supported versions as well
as making some parts faster and cleaning up code.
@BridgeAR BridgeAR force-pushed the BridgeAR/2026-01-21-fix-loader branch from df77d48 to 945211c Compare February 1, 2026 18:16
@BridgeAR BridgeAR merged commit a679e82 into master Feb 3, 2026
797 of 802 checks passed
@BridgeAR BridgeAR deleted the BridgeAR/2026-01-21-fix-loader branch February 3, 2026 21:42
dd-octo-sts bot pushed a commit that referenced this pull request Feb 4, 2026
The initialize hook was expecting that it could import a cjs
module. That expectation was wrong due to only working due to
iitm formerly instrumenting the top level module. Since that is
not the case anymore it broke our instrumentation, since that
would not be possible by Node.js itself.

As drive by, this removes code from not supported versions as well
as making some parts faster and cleaning up code.
@dd-octo-sts dd-octo-sts bot mentioned this pull request Feb 4, 2026
BridgeAR added a commit that referenced this pull request Feb 5, 2026
The initialize hook was expecting that it could import a cjs
module. That expectation was wrong due to only working due to
iitm formerly instrumenting the top level module. Since that is
not the case anymore it broke our instrumentation, since that
would not be possible by Node.js itself.

As drive by, this removes code from not supported versions as well
as making some parts faster and cleaning up code.
bm1549 pushed a commit that referenced this pull request Feb 10, 2026
The initialize hook was expecting that it could import a cjs
module. That expectation was wrong due to only working due to
iitm formerly instrumenting the top level module. Since that is
not the case anymore it broke our instrumentation, since that
would not be possible by Node.js itself.

As drive by, this removes code from not supported versions as well
as making some parts faster and cleaning up code.
BridgeAR added a commit that referenced this pull request Feb 22, 2026
The initialize hook was expecting that it could import a cjs
module. That expectation was wrong due to only working due to
iitm formerly instrumenting the top level module. Since that is
not the case anymore it broke our instrumentation, since that
would not be possible by Node.js itself.

As drive by, this removes code from not supported versions as well
as making some parts faster and cleaning up code.
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