Skip to content

feat(instrumentation): support light-my-request inject#7155

Merged
BridgeAR merged 1 commit intomasterfrom
BridgeAR/2025-12-22-port-7145
Dec 22, 2025
Merged

feat(instrumentation): support light-my-request inject#7155
BridgeAR merged 1 commit intomasterfrom
BridgeAR/2025-12-22-port-7145

Conversation

@BridgeAR
Copy link
Copy Markdown
Member

Some frameworks like fastify include request injection for communicating between services in the same process. This needs special handling to treat the inject calls like regular http requests.

Some frameworks like fastify include request injection for
communicating between services in the same process. This
needs special handling to treat the inject calls like
regular http requests.
@BridgeAR BridgeAR requested review from a team as code owners December 22, 2025 15:41
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 22, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 84.48%. Comparing base (b00ab50) to head (6993a51).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...ages/datadog-instrumentations/src/helpers/hooks.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7155      +/-   ##
==========================================
- Coverage   84.49%   84.48%   -0.01%     
==========================================
  Files         523      523              
  Lines       22447    22448       +1     
==========================================
  Hits        18966    18966              
- Misses       3481     3482       +1     

☔ 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.

@github-actions
Copy link
Copy Markdown
Contributor

Overall package size

Self size: 4.39 MB
Deduped: 5.21 MB
No deduping: 5.21 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.0 | 68.46 kB | 797.03 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |

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

@datadog-official
Copy link
Copy Markdown

datadog-official Bot commented Dec 22, 2025

⚠️ Tests

Fix all issues with Cursor

⚠️ Warnings

❄️ 2 New flaky tests detected

cypress@14.5.4 commonJS instruments tests with the APM protocol (old agents) from integration-tests/cypress/cypress.spec.js (Datadog) (Fix with Cursor)
The expression evaluated to a falsy value:

  assert.ok(passedTestSpan)

cypress@latest commonJS intelligent test runner can skip tests received by the intelligent test runner API and still reports code coverage from integration-tests/cypress/cypress.spec.js (Datadog) (Fix with Cursor)
Cannot read properties of undefined (reading 'content')

ℹ️ Info

🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 6993a51 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Dec 22, 2025

Benchmarks

Benchmark execution time: 2025-12-22 15:48:38

Comparing candidate commit 6993a51 in PR branch BridgeAR/2025-12-22-port-7145 with baseline commit b00ab50 in branch master.

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

Copy link
Copy Markdown
Contributor

@wconti27 wconti27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@BridgeAR BridgeAR merged commit 25b7924 into master Dec 22, 2025
797 checks passed
@BridgeAR BridgeAR deleted the BridgeAR/2025-12-22-port-7145 branch December 22, 2025 17:31
dd-octo-sts Bot pushed a commit that referenced this pull request Jan 12, 2026
Some frameworks like fastify include request injection for
communicating between services in the same process. This
needs special handling to treat the inject calls like
regular http requests.

Co-authored-by: Stephen Belanger <admin@stephenbelanger.com>
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jan 12, 2026
nina9753 pushed a commit that referenced this pull request Jan 15, 2026
Some frameworks like fastify include request injection for
communicating between services in the same process. This
needs special handling to treat the inject calls like
regular http requests.

Co-authored-by: Stephen Belanger <admin@stephenbelanger.com>
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