v5.83.0 proposal - #7270
Merged
Merged
Conversation
Bump `dd-license-attribution` to the latest version which fixes two issues with `LICENSE-3rdparty.csv`: - Consistently use Windows style line endings - Removes incorrect `@datadog/source-map` line from `LICENSE-3rdparty.csv` Also update `scripts/check_licenses.js` to support resolving npm aliases.
This detects test files that are not actually checked in our CI. This happened multiple times so far and also currently test files exist that are not run with our scripts. Add verify-exercised-tests workflow and add missing test files. Skip crashtracking tests on Windows. Crashtracking is not supported on Windows.
Add validation to scripts/verify-exercised-tests.js to ensure all test:integration* scripts are invoked by GitHub Actions workflows. This prevents accidentally adding integration test scripts without corresponding CI coverage. The check excludes test:integration:plugins, which is a local convenience script whose tests are already fully covered by test:plugins:ci in CI. This validation complements the existing check for :ci suffixed scripts and helps maintain comprehensive test coverage in CI.
…ss 1 directory with 7 updates (#7238) Bumps the dev-minor-and-patch-dependencies group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.39.1` | `9.39.2` | | [@msgpack/msgpack](https://github.com/msgpack/msgpack-javascript) | `3.1.2` | `3.1.3` | | [@stylistic/eslint-plugin](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin) | `5.6.1` | `5.7.0` | | [body-parser](https://github.com/expressjs/body-parser) | `2.2.1` | `2.2.2` | | [bun](https://github.com/oven-sh/bun) | `1.3.3` | `1.3.5` | | [eslint](https://github.com/eslint/eslint) | `9.39.1` | `9.39.2` | | [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) | `5.2.0` | `5.2.1` | Updates `@eslint/js` from 9.39.1 to 9.39.2 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/commits/v9.39.2/packages/js) Updates `@msgpack/msgpack` from 3.1.2 to 3.1.3 - [Release notes](https://github.com/msgpack/msgpack-javascript/releases) - [Changelog](https://github.com/msgpack/msgpack-javascript/blob/main/CHANGELOG.md) - [Commits](msgpack/msgpack-javascript@v3.1.2...v3.1.3) Updates `@stylistic/eslint-plugin` from 5.6.1 to 5.7.0 - [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases) - [Changelog](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v5.7.0/packages/eslint-plugin) Updates `body-parser` from 2.2.1 to 2.2.2 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@v2.2.1...v2.2.2) Updates `bun` from 1.3.3 to 1.3.5 - [Release notes](https://github.com/oven-sh/bun/releases) - [Commits](oven-sh/bun@bun-v1.3.3...bun-v1.3.5) Updates `eslint` from 9.39.1 to 9.39.2 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v9.39.1...v9.39.2) Updates `eslint-plugin-cypress` from 5.2.0 to 5.2.1 - [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases) - [Commits](cypress-io/eslint-plugin-cypress@v5.2.0...v5.2.1) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-version: 9.39.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-minor-and-patch-dependencies - dependency-name: "@msgpack/msgpack" dependency-version: 3.1.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-minor-and-patch-dependencies - dependency-name: "@stylistic/eslint-plugin" dependency-version: 5.7.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-minor-and-patch-dependencies - dependency-name: body-parser dependency-version: 2.2.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-minor-and-patch-dependencies - dependency-name: bun dependency-version: 1.3.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-minor-and-patch-dependencies - dependency-name: eslint dependency-version: 9.39.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-minor-and-patch-dependencies - dependency-name: eslint-plugin-cypress dependency-version: 5.2.1 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>
…with 2 updates (#7237) Bumps the gh-actions-packages group with 1 update in the / directory: [actions/checkout](https://github.com/actions/checkout). Bumps the gh-actions-packages group with 1 update in the /.github/actions/node directory: [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun). Bumps the gh-actions-packages group with 1 update in the /.github/workflows directory: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 5.0.0 to 6.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...8e8c483) Updates `oven-sh/setup-bun` from 2.0.2 to 2.1.0 - [Release notes](https://github.com/oven-sh/setup-bun/releases) - [Commits](oven-sh/setup-bun@735343b...b7a1c7c) Updates `actions/checkout` from 5.0.0 to 6.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...8e8c483) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-actions-packages - dependency-name: oven-sh/setup-bun dependency-version: 2.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gh-actions-packages - dependency-name: actions/checkout dependency-version: 6.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-actions-packages ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…7236) * Fixed varySandbox and added new error out when no default import match * Fixed prisma not having default export and added functionality to varySandbox * test destructure import when possible and added variant into test description
* fix: remove event emitter leak warning This is done by two steps: a) only add a single connect listener instead of two and b) increase the limit by one to behave as if there would be no limit. The downside of the second part is that the user may check for this value and would now get a different value than the originally defined one. * refactor: use .once() instead of .on() where possible The event listeners added in many circumstances should only be used once, so using once should be best. * fix: use less event beforeExit listeners This limits the usage of the beforeExit listeners by using a global dd-trace symbol across the code and using a single set of handlers that are run before the process exits. In addition, reload dogstatsd in tests to limit adding too many listeners there as well. The newly added global may be used in multiple circumstances and is a better abstraction than having multiple different symbols that are added to the global. This symbol is also non enumerable, non writable, and not configurable. * fix: use a WeakSet instead of manipulating internals When instrumenting `ai`, we now use a WeakSet for tracking instances. This prevents the need for adding a symbol to the tracer instances to know if it has been instrumented or not. * fixup! * fixup! address comments
The NoopProxy baggage methods (setBaggageItem, getBaggageItem, removeBaggageItem) had incompatible signatures with their implementations in the Tracer class, causing TypeScript errors when Tracer extended NoopProxy. Updated the method signatures to accept the expected parameters while maintaining no-op behavior.
* support for koa router v15.2.0 * skip tests for koa/router v15 in node versions less than 20
Closed
Contributor
Overall package sizeSelf size: 4.45 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.3 | 76.87 kB | 808.03 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## v5.x #7270 +/- ##
==========================================
+ Coverage 83.19% 85.90% +2.71%
==========================================
Files 476 513 +37
Lines 20153 22245 +2092
==========================================
+ Hits 16766 19110 +2344
+ Misses 3387 3135 -252
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…7271) This config option has been available for a long time, but wasn't typed correctly.
dd-octo-sts
Bot
force-pushed
the
v5.83.0-proposal
branch
from
January 18, 2026 05:09
d7dea92 to
fdee2dc
Compare
This comment has been minimized.
This comment has been minimized.
Implements Remote Enablement (RE) for Dynamic Instrumentation/Live Debugger and Code Origin via APM_TRACING_MULTICONFIG. Key Remote Config changes: - Add RCClientLibConfigManager class for priority-based merging of multiple APM_TRACING configs (Service+Env > Service > Env > Cluster > Org) - Add APM_TRACING_MULTICONFIG, APM_TRACING_ENABLE_DYNAMIC_INSTRUMENTATION, APM_TRACING_ENABLE_CODE_ORIGIN, and APM_TRACING_ENABLE_LIVE_DEBUGGING capability flags - Centralize client library configuration remote config logic in config/remote_config.js Key Debugger changes: - Add lifecycle methods (isStarted(), stop(), configure()) to debugger/index.js for dynamic control Key Code Origin changes: - Add runtime enable/disable support for Code Origin via Remote Config - Update Express and Fastify code origin plugins to pre-compute entry tags at route registration time when RC is enabled (allowing runtime enabling to work immediately) - Add integration tests for Code Origin Remote Config toggling
Move all code related to configuration into the config directory (both
regular code and test):
- packages/dd-trace/src/{config_defaults.js => config/defaults.js}
- packages/dd-trace/src/{ => config}/git_properties.js
- packages/dd-trace/src/{config-helper.js => config/helper.js}
- packages/dd-trace/src/{config.js => config/index.js}
- packages/dd-trace/src/{config_stable.js => config/stable.js}
- packages/dd-trace/src/{ => config}/supported-configurations.json
- packages/dd-trace/test/{ => config}/git_properties.spec.js
- packages/dd-trace/test/{config.spec.js => config/index.spec.js}
dd-octo-sts
Bot
force-pushed
the
v5.83.0-proposal
branch
from
January 20, 2026 05:13
fdee2dc to
3c6c261
Compare
This adds the setup file to the .mocharc file. That way it is not necessary anymore to include that to run tests.
This somehow slipped through, while I do not know why.
dd-octo-sts
Bot
force-pushed
the
v5.83.0-proposal
branch
from
January 22, 2026 05:13
c24f030 to
7b8a834
Compare
…nt variables (#6982) This makes sure most environment variables will be reading from stable config. In addition, much code is cleaned up, types are added, and small improvements were added. --------- Co-authored-by: Ruben Bridgewater <ruben.bridgewater@datadoghq.com>
The reason not to update to the latest version is our own esm loader. It contains code that is breaking with the latest version and we have to fix that first. This therefore just fixes an intermediate issue. This should fix the mentioned issue, while not guaranteed to be a full fix. Fixes: #6567
This addresses multiple baggage issues and adds further documentation to the new implementation. The regular API is now spec compliant by ignoring non string keys as well as returning the new context consistently when needed. Baggage headers are also improved by not accepting arbitrary strings as keys anymore. They now adhere to the spec as outlined in the code comment. In addition, the parsing now handles optional properties that may be attached.
The main issue is AFAIK the Node.js version being used. This is now aligned with the installment of the bundle job. That is done in a secure way where we use least privileges possible. It also fixes a version for the action.
* prompt support for hallucinations + basic tests * update typedocs * add more tests * updates from shared tests * fmt * fmt * change template annotation * update tests * add tagging for prompt instrumentation method (annotated) * trigger ci
dd-octo-sts
Bot
force-pushed
the
v5.83.0-proposal
branch
from
January 22, 2026 15:45
7b8a834 to
e41d7c7
Compare
BridgeAR
approved these changes
Jan 22, 2026
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.
6c0bb877ad] - (SEMVER-MINOR) feat(llmobs): support manual instrumentation of prompts (Sam Brenner) #725788ebb39bd5] - (SEMVER-PATCH) ci: fix vendored dependabot PRs (Ruben Bridgewater) #7306d7b6df874a] - (SEMVER-MINOR) fix: improve baggage implementation (Ruben Bridgewater) #7279aeddf92ce8] - (SEMVER-PATCH) fix: update iitm to 2.0.3 to fix minor memory leak (Ruben Bridgewater) #7314a995feed41] - (SEMVER-MINOR) feat: add class ConfigEnvSources to merge stable config and environment variables (Mikayla Toffler) #69829e88ae02f5] - (SEMVER-PATCH) chore(ts): fix remaining TS errors in fake-agent.js (Thomas Watson) #7309aba6a5c21a] - (SEMVER-PATCH) added esm test for body-parser (Pablo Erhard) #730485044aeaf1] - (SEMVER-PATCH) fix: do not log pg deprecation message (Ruben Bridgewater) #730766ea7a3813] - (SEMVER-PATCH) fix(ci): harden and run dependabot workflow on update (Ruben Bridgewater) #7241a3b73737c8] - (SEMVER-PATCH) fix: do not log a deprecation message using pg (Ruben Bridgewater) #7269d9cd6fdbfd] - (SEMVER-PATCH) fix: normalize link context to DD context when consuming otel links (Ruben Bridgewater) #7210599960aaea] - (SEMVER-PATCH) chore(ci): update one-pipeline (campaigner-prod[bot]) #73029deb40ba2d] - (SEMVER-PATCH) chore(deps-dev): bump the dev-minor-and-patch-dependencies group across 2 directories with 4 updates (dependabot[bot]) #728865478260d5] - (SEMVER-PATCH) fix: endpoint telemetry use setTimeout (simon-id) #72988aec16828e] - (SEMVER-PATCH) chore: disable core test script in package.json (Thomas Watson) #7294fa08e426e5] - (SEMVER-PATCH) chore(ci): flag CodeCov uploads (Thomas Watson) #7283acae576675] - (SEMVER-PATCH) chore(deps-dev): bump globals from 16.5.0 to 17.0.0 (dependabot[bot]) #72912f1bef885a] - (SEMVER-PATCH) chore(deps): bump the gh-actions-packages group across 3 directories with 2 updates (dependabot[bot]) #7292363dca8237] - (SEMVER-PATCH) chore(deps-dev): bump eslint-plugin-jsdoc from 61.5.0 to 62.0.0 (dependabot[bot]) #72901e681ecd4f] - (SEMVER-PATCH) fix: do not send empty flare file to the agent (Roch Devost) #728753eab581e0] - (SEMVER-PATCH) chore(deps): bump the test-versions group across 1 directory with 96 updates (dependabot[bot]) #728010cb57e432] - (SEMVER-PATCH) doc: update AGENTS.md for clarity and less tokens (Ruben Bridgewater) #72857e2f72da9e] - (SEMVER-PATCH) test: fix flaky http2 test (Ruben Bridgewater) #72866db603c00e] - (SEMVER-PATCH) test: fix MongoDB flaky DBM test (Bowen Brooks) #7131cb8bc8d1d8] - (SEMVER-MINOR) feat(llmobs): implement multi-tenant routing context support (Alexandre Choura) #7158b6a0389199] - (SEMVER-PATCH) fix(test-optimization): jest instrumentation applies auto test retries on top of other retry mechanisms (Calvin Bayer) #7251b9e9246750] - (SEMVER-PATCH) refactor(config): simplify remote config merging logic (Thomas Watson) #72783f41eb1d25] - (SEMVER-PATCH) ci: [SINT-INT] fix dependabot-automation policy to work on pull_request events (Kylian Serrania) #7263b573730f19] - (SEMVER-PATCH) fix: encode baggage values, if necessary (Ruben Bridgewater) #7221ae1fc5e0e8] - (SEMVER-MINOR) feat(profiling): Add "serverless" property to profiler metadata (Attila Szegedi) #7274323593d4b1] - (SEMVER-PATCH) chore: simplify running mocha tests by auto requiring setup file (Ruben Bridgewater) #72152416610981] - (SEMVER-PATCH) chore(types): fix TS error in integration test helper (Thomas Watson) #7282971bdd53fe] - (SEMVER-PATCH) refactor: move all config related code under config directory (Thomas Watson) #7204772fc3b22a] - (SEMVER-MINOR) feat(debugger): add Remote Enablement support (Thomas Watson) #7137cb2cd123a3] - (SEMVER-PATCH) Update to pprof-nodejs 5.13.2 (Attila Szegedi) #7275271f39db13] - (SEMVER-MINOR) [test optimization] Add automatic NX service detection (Juan Antonio Fernández de Alba) #7231e3ec10f18d] - (SEMVER-PATCH) feat(esbuild): warn when using --minify w/o --keep-names (Thomas Hunter II) #72482dca0291e8] - (SEMVER-PATCH) fix(types): add dynamicInstrumentation config object to index.d.ts (Thomas Watson) #72717e8ea24386] - (SEMVER-MINOR) feat(profiling): add process tags (Thomas Hunter II) #7268234b7c8f72] - (SEMVER-PATCH) fix(integration): support for koa router v15.2.0 (Pablo Erhard) #7266de37230b67] - (SEMVER-PATCH) chore(types): add parameters to NoopProxy baggage methods (Thomas Watson) #726439c85a4da8] - (SEMVER-PATCH) fix: remove event emitter leak warning (Ruben Bridgewater) #7201a07f1f87dd] - (SEMVER-MINOR) feat: support undici via diagnostics_channel events (Stephen Belanger) #720613c1f5c901] - (SEMVER-PATCH) chore(tests): fixed varySandbox and added it into missing ESM tests (Pablo Erhard) #72364e1c2ce236] - (SEMVER-PATCH) chore(deps): bump the gh-actions-packages group across 3 directories with 2 updates (dependabot[bot]) #72372591eb1ddd] - (SEMVER-PATCH) chore(deps-dev): bump the dev-minor-and-patch-dependencies group across 1 directory with 7 updates (dependabot[bot]) #72386a3f0ec36d] - (SEMVER-PATCH) chore: verify all test:integration* scripts are exercised in CI (Thomas Watson) #72603d6e6089af] - (SEMVER-PATCH) chore(tests): add type annotations to integration test helpers (Thomas Watson) #72400b7c8ccb77] - (SEMVER-PATCH) [test optimization] Fix mocha test management logic (Juan Antonio Fernández de Alba) #7242168f7ce368] - (SEMVER-PATCH) Disable telemetry for OCE integration test (Carles Capell) #7255033993d07e] - (SEMVER-PATCH) ci: add test verify script and activate missing tests (Ruben Bridgewater) #7225f68705799a] - (SEMVER-PATCH) chore(dep): bump dd-license-attribution tool to newest version (Thomas Watson) #72462321594d45] - (SEMVER-PATCH) chore: update AGENTS.md for improved types and assertions (Ruben Bridgewater) #7209