Repository navigation
v5.138.0 proposal - #11366
Draft
dd-octo-sts[bot] wants to merge 29 commits into
Draft
v5.138.0 proposal#11366dd-octo-sts[bot] wants to merge 29 commits into
dd-octo-sts[bot] wants to merge 29 commits into
Conversation
Jest evaluates dd-trace in each test environment. With legacy ALS, each import wraps Node's shared _propagate method and retains the previous wrapper. Node 24 also registers each legacy storage instance at construction, even when tracing is disabled. No-op spans do not need a storage handle. Keep the missing-trigger guard for active tracing. Fixes: #11347
) HTTP-triggered functions need request context before sampling when semantic conventions are enabled. Otherwise the HTTP route arrives after the outbound sampling decision, so the propagated decision can disagree with the export. Co-authored-by: Maximo Bautista <max.bautista97@gmail.com> Co-authored-by: Marco Costa <marco.costa@datadoghq.com>
…11211) * test(http): specify data streams checkpoints for the http client, server and fetch Specifies type:http checkpoints for the http client (direction:out), fetch and the http server (direction:in), expecting the pathway hashes that dd-trace-java's hashing classes compute for the same chain with process tags off: a dd-trace-java header parents the server checkpoint, handler calls and queue checkpoints chain from it, edge latency is per hop, spans carry their pathway hash, a request dispatched to a second server checkpoints once, a forwarded pathway header is replaced, libraries on top of http record one checkpoint, and blocklisted URLs, AWS SDK requests and DD_DATA_STREAMS_HTTP_ENABLED=false get none. Also specifies a cap of 2000 distinct checkpoints per stats bucket with a telemetry count of the dropped ones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(http): emit data streams checkpoints for http client and server When DD_DATA_STREAMS_ENABLED is on, the http client records a direction:out,type:http checkpoint as it injects trace headers and propagates it in dd-pathway-ctx-base64, replacing a pathway header the caller forwards. The http server records a direction:in,type:http checkpoint for each new request, parented on that header when present, and exposes it to the handler so downstream checkpoints chain from it. Tags, header format and hashes match dd-trace-java, so pathways connect across tracers. Payload size is reported as 0. fetch inherits the client checkpoint. Like dd-trace-java, requests sent by an AWS SDK (marked by amz-sdk-invocation-id, or made under an aws-sdk span) get no http checkpoint or pathway header; the SDK call records its own checkpoint. The client context lives on the request's own store, so sibling calls chain from the caller's checkpoint. The tracer's own requests run in a noop store and are not checkpointed. A reused server context (HTTP/2 stream, serverless re-entry, a request dispatched to a second server) does not record a second checkpoint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(datastreams): specify stats points per pathway hash and aggregation tags Specifies that a stats bucket keeps one point per pathway hash and aggregation tag set (ds.name, ds.namespace, manual_checkpoint, group, consumer_group), as dd-trace-java's aggregation hash does: consumer groups stay separate, checkpoints that differ only in has_routing_key or partition share a point, and repeating more pathways than the hash cache holds does not split one pathway into several points. Refs: DSM2-684 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(datastreams): key stats points by pathway hash and aggregation tags StatsBucket keyed points by the hash Buffer instance, which is only stable while computePathwayHash's 500-entry cache holds it. Repeating more pathways than that split one pathway into several points, and checkpoints that differ only in has_routing_key or partition never shared one. Points are now keyed by the hash value plus the tags dd-trace-java aggregates by (ds.name, ds.namespace, manual_checkpoint, group, consumer_group), matching its aggregation hash. Fixes: DSM2-684 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(datastreams): bound distinct checkpoints per bucket Parent hashes come from inbound message and request headers, so a caller sending a new parent on every request creates a new stats point each time. A bucket now holds at most 2000 distinct stats points; later new ones are dropped and counted in the tracers telemetry metric data_streams.checkpoints_dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(http): add DD_DATA_STREAMS_HTTP_ENABLED to turn off http checkpoints With DD_DATA_STREAMS_HTTP_ENABLED=false (default true), the http client and server record no data streams checkpoint and inject no dd-pathway-ctx-base64 header, while queue checkpoints and spans are unchanged. The flag reaches plugins as config.DD_DATA_STREAMS_HTTP_ENABLED next to config.dsmEnabled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(benchmark): add data streams variants to the http sirun benchmark Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(datastreams): pin every aggregation tag in the stats point key Two checkpoints with the same pathway hash that differ only in consumer_group, ds.name, ds.namespace, group or manual_checkpoint stay separate stats points, as dd-trace-java's aggregation hash keeps them. Refs: DSM2-684 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(http): close kept-alive connections before closing DSM test servers Before Node.js 19, server.close() waits for open connections. AWS SDK v3 and fetch keep theirs alive, so on Node.js 18 the sqs-http DSM teardown never finished and the hook timed out. Teardown now closes the test servers' connections first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(http): specify data streams contexts on a keep-alive connection Two requests over one keep-alive connection: a checkpoint in the second request's body 'end' callback must never be parented on the first request's server checkpoint. A checkpoint in an express route after express.json(), and one in a handler that reads no body, are parented on their own request's server checkpoint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(http): restore the exact pre-request store when the server request exits exit() re-entered the parent store through Plugin#enter, which falls back to the current store when the parent store is undefined, as it is for a connection accepted outside any context. That kept every field of the request's store except the span, including its data streams context. Without AsyncContextFrame (Node.js 22 and older by default), enterWith writes to the connection's async resource, so request body callbacks and the next request on a keep-alive connection inherited the previous request's context, and checkpoints there were parented on the wrong request. exit() now re-enters exactly the store from before the request, so those callbacks get no context, as with AsyncContextFrame and as their spans already have none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(http): pin a new pathway for checkpoints in raw request body callbacks The keep-alive test accepted either a new pathway or the request's own checkpoint, so it also passed with the server exit path removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(http): keep the AppSec request on the store of raw request body callbacks Without AsyncContextFrame, a raw req.on('end') callback runs in the connection's async resource with the store the request left there on exit, and AppSec's getActiveRequest() must still find the request there, as on master. With AsyncContextFrame that callback has no store on master either, so the test is skipped there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(http): keep master's server exit store apart from the data streams context 8be7e49 re-entered exactly the pre-request store on exit. When there is none, master re-enters the current store without its span, and without AsyncContextFrame that store is what raw request body callbacks run in, so AppSec's getActiveRequest() found the request there and RASP analysed it. Dropping it skipped that analysis even with DSM off. exit() now does what master does, and only removes the request's data streams context from the store it leaves behind, so checkpoints in body callbacks and in the next request of a keep-alive connection still start a new pathway instead of inheriting the previous request's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(http): share the data streams header name through the carrier Expose dsmBase64Name from the carrier so plugins stop redefining the header, and build the client store before adding the data streams context. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(esm): register synchronous hooks without require(esm) * test(esm): skip unsupported require(esm) flag on older Node.js
* feat(lambda): extract upstream context for facade invocations * fix(lambda): preserve custom extractor argument types * docs(lambda): keep extractor guidance internal * docs(lambda): explain invocation preparation boundary
…th 10 updates (#11360) Bumps the cloud-and-messaging group with 10 updates in the /packages/dd-trace/test/plugins/versions directory: | Package | From | To | | --- | --- | --- | | [@aws-sdk/client-bedrock-runtime](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-bedrock-runtime) | `3.1170.0` | `3.1173.0` | | [@aws-sdk/client-dynamodb](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-dynamodb) | `3.1170.0` | `3.1173.0` | | [@aws-sdk/client-eventbridge](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-eventbridge) | `3.1170.0` | `3.1173.0` | | [@aws-sdk/client-kinesis](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-kinesis) | `3.1170.0` | `3.1173.0` | | [@aws-sdk/client-lambda](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-lambda) | `3.1170.0` | `3.1173.0` | | [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) | `3.1170.0` | `3.1173.0` | | [@aws-sdk/client-sfn](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sfn) | `3.1170.0` | `3.1173.0` | | [@aws-sdk/client-sns](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sns) | `3.1170.0` | `3.1173.0` | | [@aws-sdk/client-sqs](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sqs) | `3.1170.0` | `3.1173.0` | | [bullmq](https://github.com/taskforcesh/bullmq) | `6.7.6` | `6.7.8` | Updates `@aws-sdk/client-bedrock-runtime` from 3.1170.0 to 3.1173.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-bedrock-runtime/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1173.0/clients/client-bedrock-runtime) Updates `@aws-sdk/client-dynamodb` from 3.1170.0 to 3.1173.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-dynamodb/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1173.0/clients/client-dynamodb) Updates `@aws-sdk/client-eventbridge` from 3.1170.0 to 3.1173.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-eventbridge/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1173.0/clients/client-eventbridge) Updates `@aws-sdk/client-kinesis` from 3.1170.0 to 3.1173.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-kinesis/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1173.0/clients/client-kinesis) Updates `@aws-sdk/client-lambda` from 3.1170.0 to 3.1173.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-lambda/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1173.0/clients/client-lambda) Updates `@aws-sdk/client-s3` from 3.1170.0 to 3.1173.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1173.0/clients/client-s3) Updates `@aws-sdk/client-sfn` from 3.1170.0 to 3.1173.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sfn/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1173.0/clients/client-sfn) Updates `@aws-sdk/client-sns` from 3.1170.0 to 3.1173.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sns/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1173.0/clients/client-sns) Updates `@aws-sdk/client-sqs` from 3.1170.0 to 3.1173.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sqs/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1173.0/clients/client-sqs) Updates `bullmq` from 6.7.6 to 6.7.8 - [Release notes](https://github.com/taskforcesh/bullmq/releases) - [Commits](taskforcesh/bullmq@v6.7.6...v6.7.8) --- updated-dependencies: - dependency-name: "@aws-sdk/client-bedrock-runtime" dependency-version: 3.1173.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cloud-and-messaging - dependency-name: "@aws-sdk/client-dynamodb" dependency-version: 3.1173.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cloud-and-messaging - dependency-name: "@aws-sdk/client-eventbridge" dependency-version: 3.1173.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cloud-and-messaging - dependency-name: "@aws-sdk/client-kinesis" dependency-version: 3.1173.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cloud-and-messaging - dependency-name: "@aws-sdk/client-lambda" dependency-version: 3.1173.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cloud-and-messaging - dependency-name: "@aws-sdk/client-s3" dependency-version: 3.1173.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cloud-and-messaging - dependency-name: "@aws-sdk/client-sfn" dependency-version: 3.1173.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cloud-and-messaging - dependency-name: "@aws-sdk/client-sns" dependency-version: 3.1173.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cloud-and-messaging - dependency-name: "@aws-sdk/client-sqs" dependency-version: 3.1173.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cloud-and-messaging - dependency-name: bullmq dependency-version: 6.7.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cloud-and-messaging ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… 2 updates (#11364) Bumps the testing-and-build group with 2 updates in the /packages/dd-trace/test/plugins/versions directory: [electron](https://github.com/electron/electron) and [selenium-webdriver](https://github.com/SeleniumHQ/selenium). Updates `electron` from 45.3.3 to 45.4.1 - [Release notes](https://github.com/electron/electron/releases) - [Commits](electron/electron@v45.3.3...v45.4.1) Updates `selenium-webdriver` from 4.52.0 to 4.53.0 - [Release notes](https://github.com/SeleniumHQ/selenium/releases) - [Commits](SeleniumHQ/selenium@selenium-4.52.0...selenium-4.53.0) --- updated-dependencies: - dependency-name: electron dependency-version: 45.4.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: testing-and-build - dependency-name: selenium-webdriver dependency-version: 4.53.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: testing-and-build ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…es (#11362) Bumps the databases group with 3 updates in the /packages/dd-trace/test/plugins/versions directory: [@elastic/transport](https://github.com/elastic/elastic-transport-js), [mongodb](https://github.com/mongodb/node-mongodb-native) and [tedious](https://github.com/tediousjs/tedious). Updates `@elastic/transport` from 9.6.0 to 9.6.1 - [Release notes](https://github.com/elastic/elastic-transport-js/releases) - [Commits](elastic/elastic-transport-js@v9.6.0...v9.6.1) Updates `mongodb` from 7.9.0 to 7.9.1 - [Release notes](https://github.com/mongodb/node-mongodb-native/releases) - [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md) - [Commits](mongodb/node-mongodb-native@v7.9.0...v7.9.1) Updates `tedious` from 20.3.9 to 20.4.0 - [Release notes](https://github.com/tediousjs/tedious/releases) - [Commits](tediousjs/tedious@v20.3.9...v20.4.0) --- updated-dependencies: - dependency-name: "@elastic/transport" dependency-version: 9.6.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: databases - dependency-name: mongodb dependency-version: 7.9.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: databases - dependency-name: tedious dependency-version: 20.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: databases ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… updates (#11359) Bumps the test-versions group with 2 updates in the /integration-tests/esbuild directory: [@langchain/core](https://github.com/langchain-ai/langchainjs) and [openai](https://github.com/openai/openai-node). Bumps the test-versions group with 1 update in the /integration-tests/webpack directory: [@langchain/core](https://github.com/langchain-ai/langchainjs). Updates `@langchain/core` from 1.4.1 to 1.4.2 - [Release notes](https://github.com/langchain-ai/langchainjs/releases) - [Commits](https://github.com/langchain-ai/langchainjs/compare/@langchain/core@1.4.1...@langchain/core@1.4.2) Updates `openai` from 7.57.0 to 7.61.0 - [Release notes](https://github.com/openai/openai-node/releases) - [Changelog](https://github.com/openai/openai-node/blob/main/CHANGELOG.md) - [Commits](openai/openai-node@v7.57.0...v7.61.0) Updates `@langchain/core` from 1.4.1 to 1.4.2 - [Release notes](https://github.com/langchain-ai/langchainjs/releases) - [Commits](https://github.com/langchain-ai/langchainjs/compare/@langchain/core@1.4.1...@langchain/core@1.4.2) --- updated-dependencies: - dependency-name: "@langchain/core" dependency-version: 1.4.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: test-versions - dependency-name: openai dependency-version: 7.61.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-versions - dependency-name: "@langchain/core" dependency-version: 1.4.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: test-versions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Contributor
Author
Overall package sizeSelf size: 9.57 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.5.3 | 131.25 kB | 531.9 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 |
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 3 Pipeline jobs failed
ℹ️ InfoNo other issues found (see more)🧪 All tests passed 🎯 Code Coverage (details) Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: c42f176 | Docs | View more details | Give us feedback! |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v5.x #11366 +/- ##
=========================================
Coverage 99.15% 99.16%
=========================================
Files 1127 1136 +9
Lines 187234 188374 +1140
Branches 82 86 +4
=========================================
+ Hits 185655 186800 +1145
+ Misses 1578 1574 -4
+ Partials 1 0 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
#11306) The message normalization read error.message in its catch blocks. A toJSON method that throws null, or another value that is not an Error, made the log call throw, so the error escaped into the application. The catch blocks now read error?.message. Jira: APPSEC-70373 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ederation (#11349) [SINT-INT] Switch datadog api key exchange to workload identity federation ci(dd-sts): pass Datadog org UUID as composite action input Composite actions cannot read the secrets context, so the org UUID is now passed from workflows through an org_uuid input. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> ci(dd-wif): rename dd-sts-api-key action to dd-wif Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: arnaud.py <arnaud.py@datadoghq.com>
Co-authored-by: datadog-bits <263423550+datadog-bits@users.noreply.github.com> Co-authored-by: cgcote <5115638+cgcote@users.noreply.github.com>
Co-authored-by: datadog-bits <263423550+datadog-bits@users.noreply.github.com> Co-authored-by: cgcote <5115638+cgcote@users.noreply.github.com>
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL only accepted http/json and the trace exporter hardcoded it, while the OTLP exporter specification requires SDKs to support http/protobuf. Logs and metrics already support it through the shared OTLP base classes. The trace exporter now uses the configured protocol. With http/protobuf it sends an ExportTraceServiceRequest with Content-Type application/x-protobuf, encoding trace, span, parent, and link IDs as raw bytes. meta_struct attributes carry the same JSON bytes as http/json, without base64. http/json stays the default. Generic OTLP fallbacks such as OTEL_EXPORTER_OTLP_PROTOCOL were copied without the specific option's validation, so a grpc value reached the traces protocol. The hardcoded exporter masked this; fallback values now pass through the specific option's transformer, keeping the http/json traces default for values it does not allow. --- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* ci(deps): stagger dependency update schedules * ci(deps): retain broader dependency cohorts
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…se rows (#11367) * fix(iast): skip binary values and inherited keys when tainting database rows * refactor(iast): make the database result walker a private method
ci(all-green): link uploaded junit tests to their pipeline ci(all-green): await junit uploads to satisfy require-await ci(all-green): stamp run attempt only when set ci(all-green): sync git metadata once and blank job name Co-authored-by: elena.juarrosgonzalez <elena.juarrosgonzalez@datadoghq.com>
After an upgrade to graphql-jit 0.10, compiled queries still run but do not emit GraphQL spans because the rewriter excludes that version. Keep separate ranges so CI tests the latest patch of both the 0.9 and 0.10 release lines.
* feat(appsec): express v5 normalized route followup
Disable the options-parameter and spread-parentheses rules. The first would force some hot-path calls to pass an options object. The second adds parentheses without changing how the code runs. Use RegExp#exec() with the same patterns and simplify the inferred proxy path condition. Document the Node.js 22.13 minimum for linting without changing the tracer runtime requirement. Refs: #11379
fix(config): treat empty OTEL_PROPAGATORS as unset fix(config): let a set DD_TRACE_PROPAGATION_STYLE hide OTEL_PROPAGATORS feat(config): disable propagation when OTEL_PROPAGATORS contains none refactor(config): stop treating OTEL_PROPAGATORS as an alias of DD_TRACE_PROPAGATION_STYLE chore(config): keep DD_TRACE_PROPAGATION_STYLE on registry implementation D Merge remote-tracking branch 'origin/master' into ben.db/fix-otel-empty-protocol-propagators refactor(config): drop redundant DD_TRACE_PROPAGATION_STYLE origin check Co-authored-by: benjamin.debernardi <benjamin.debernardi@datadoghq.com>
… fails to set or remove (#11323) * fix(test-optimization): keep the Dynamic Instrumentation worker alive when a probe fails When setting or removing a Failed Test Replay probe failed, the worker's message listener rejected. The unhandled rejection ended the worker, so no later probe in the session was set or removed: each one held its test up until the 2-second wait for it timed out. Acknowledge a failed probe operation along with its error instead, and log the error on the main thread. Unlike the worker's logs, the main thread's logs reach telemetry. Environment: Datadog workspace Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(test-optimization): acknowledge failed setBreakpoint calls with their error The worker caught a failed `Debugger.setBreakpoint` call and only logged it itself, so the probe was acknowledged as set and the failure never reached telemetry. Let it reach the acknowledgement, like the worker's other probe failures. Environment: Datadog workspace Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
fix(runtime): avoid native startup failures on Bun Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: matbrwn <matthew.brown@datadoghq.com>
With router 2.3.0 at the repository root, the symbols lookup can find that copy when an older fixture has no symbols module. The tests then expect request-local routes from a version that does not provide them.
Azure's invocation context contains only the function-relative route. OTel resource names therefore omit the host prefix, so sampling rules for full routes do not match. Keep the function-relative route when local host configuration cannot be read or parsed. Refs: https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger#customize-the-http-endpoint
…5 updates (#11383) Bumps the web-and-services group with 5 updates in the /packages/dd-trace/test/plugins/versions directory: | Package | From | To | | --- | --- | --- | | [@apollo/subgraph](https://github.com/apollographql/subgraph-js) | `2.16.0` | `2.17.0` | | [@hono/node-server](https://github.com/honojs/node-server) | `2.1.8` | `2.1.11` | | [find-my-way](https://github.com/delvedor/find-my-way) | `9.10.1` | `9.10.2` | | [router](https://github.com/pillarjs/router) | `2.2.0` | `2.3.0` | | [undici](https://github.com/nodejs/undici) | `8.12.4` | `8.13.0` | Updates `@apollo/subgraph` from 2.16.0 to 2.17.0 - [Release notes](https://github.com/apollographql/subgraph-js/releases) - [Changelog](https://github.com/apollographql/subgraph-js/blob/main/CHANGELOG.md) - [Commits](https://github.com/apollographql/subgraph-js/compare/@apollo/subgraph@2.16.0...@apollo/subgraph@2.17.0) Updates `@hono/node-server` from 2.1.8 to 2.1.11 - [Release notes](https://github.com/honojs/node-server/releases) - [Commits](honojs/node-server@v2.1.8...v2.1.11) Updates `find-my-way` from 9.10.1 to 9.10.2 - [Release notes](https://github.com/delvedor/find-my-way/releases) - [Commits](delvedor/find-my-way@v9.10.1...v9.10.2) Updates `router` from 2.2.0 to 2.3.0 - [Release notes](https://github.com/pillarjs/router/releases) - [Changelog](https://github.com/pillarjs/router/blob/master/HISTORY.md) - [Commits](pillarjs/router@v2.2.0...v2.3.0) Updates `undici` from 8.12.4 to 8.13.0 - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v8.12.4...v8.13.0) --- updated-dependencies: - dependency-name: "@apollo/subgraph" dependency-version: 2.17.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: web-and-services - dependency-name: "@hono/node-server" dependency-version: 2.1.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: web-and-services - dependency-name: find-my-way dependency-version: 9.10.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: web-and-services - dependency-name: router dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: web-and-services - dependency-name: undici dependency-version: 8.13.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: web-and-services ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ruben Bridgewater <ruben@bridgewater.de>
…ss 1 directory with 6 updates (#11378) Bumps the dev-minor-and-patch-dependencies group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@datadog/openfeature-node-server](https://github.com/DataDog/openfeature-js-client/tree/HEAD/packages/node-server) | `2.7.0` | `2.8.0` | | [@vercel/nft](https://github.com/vercel/nft) | `1.11.1` | `1.11.7` | | [eslint](https://github.com/eslint/eslint) | `10.14.0` | `10.15.0` | | [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) | `7.0.4` | `7.0.5` | | [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `65.4.5` | `65.4.12` | | [minimatch](https://github.com/isaacs/minimatch) | `11.0.8` | `11.0.9` | Updates `@datadog/openfeature-node-server` from 2.7.0 to 2.8.0 - [Release notes](https://github.com/DataDog/openfeature-js-client/releases) - [Changelog](https://github.com/DataDog/openfeature-js-client/blob/main/CHANGELOG.md) - [Commits](https://github.com/DataDog/openfeature-js-client/commits/@datadog/openfeature-node-server@2.8.0/packages/node-server) Updates `@vercel/nft` from 1.11.1 to 1.11.7 - [Release notes](https://github.com/vercel/nft/releases) - [Commits](vercel/nft@1.11.1...1.11.7) Updates `eslint` from 10.14.0 to 10.15.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v10.14.0...v10.15.0) Updates `eslint-plugin-cypress` from 7.0.4 to 7.0.5 - [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases) - [Commits](cypress-io/eslint-plugin-cypress@v7.0.4...v7.0.5) Updates `eslint-plugin-jsdoc` from 65.4.5 to 65.4.12 - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Commits](gajus/eslint-plugin-jsdoc@v65.4.5...v65.4.12) Updates `minimatch` from 11.0.8 to 11.0.9 - [Release notes](https://github.com/isaacs/minimatch/releases) - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](isaacs/minimatch@v11.0.8...v11.0.9) --- updated-dependencies: - dependency-name: "@datadog/openfeature-node-server" dependency-version: 2.8.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-minor-and-patch-dependencies - dependency-name: "@vercel/nft" dependency-version: 1.11.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-minor-and-patch-dependencies - dependency-name: eslint dependency-version: 10.15.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-minor-and-patch-dependencies - dependency-name: eslint-plugin-cypress dependency-version: 7.0.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-minor-and-patch-dependencies - dependency-name: eslint-plugin-jsdoc dependency-version: 65.4.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-minor-and-patch-dependencies - dependency-name: minimatch dependency-version: 11.0.9 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-minor-and-patch-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ruben Bridgewater <ruben@bridgewater.de>
dd-octo-sts
Bot
force-pushed
the
v5.138.0-proposal
branch
from
November 24, 2026 05:04
8ce2a43 to
c42f176
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features
Fixes
Internal (CI, Testing, Benchmarking)
Contributors