Skip to content

chore(config): use generated config types#7911

Draft
BridgeAR wants to merge 2 commits intomasterfrom
BridgeAR/2026-03-31-generated-config-types-consumers
Draft

chore(config): use generated config types#7911
BridgeAR wants to merge 2 commits intomasterfrom
BridgeAR/2026-03-31-generated-config-types-consumers

Conversation

@BridgeAR
Copy link
Copy Markdown
Member

@BridgeAR BridgeAR commented Apr 1, 2026

Adopt the generated internal config contract across the runtime consumers that only need stronger typing and shared config shape guarantees. This keeps the metadata-driven runtime and its internal consumers aligned separating the larger behavioral refactor.

This depends on #7910

Adopt the generated internal config contract across the runtime consumers
that only need stronger typing and shared config shape guarantees.
This keeps the metadata-driven runtime and its internal consumers aligned
separating the larger behavioral refactor.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Overall package size

Self size: 5.42 MB
Deduped: 6.26 MB
No deduping: 6.26 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.0 | 81.15 kB | 815.98 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 Apr 1, 2026

Codecov Report

❌ Patch coverage is 40.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.65%. Comparing base (bcae91f) to head (aee7c5e).
⚠️ Report is 10 commits behind head on master.

Files with missing lines Patch % Lines
...kages/dd-trace/src/payload-tagging/config/index.js 0.00% 2 Missing ⚠️
packages/dd-trace/src/config/index.js 66.66% 1 Missing ⚠️
...ackages/dd-trace/src/crashtracking/crashtracker.js 0.00% 1 Missing ⚠️
packages/dd-trace/src/profiling/profiler.js 0.00% 1 Missing ⚠️
packages/dd-trace/src/proxy.js 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7911      +/-   ##
==========================================
- Coverage   74.39%   69.65%   -4.74%     
==========================================
  Files         768      670      -98     
  Lines       35834    30856    -4978     
==========================================
- Hits        26660    21494    -5166     
- Misses       9174     9362     +188     
Flag Coverage Δ
aiguard-macos 39.42% <44.44%> (+0.08%) ⬆️
aiguard-ubuntu 39.54% <44.44%> (+0.09%) ⬆️
aiguard-windows 39.21% <44.44%> (+0.08%) ⬆️
apm-capabilities-tracing-macos ?
apm-capabilities-tracing-ubuntu ?
apm-capabilities-tracing-windows ?
apm-integrations-child-process 38.74% <44.44%> (+0.08%) ⬆️
apm-integrations-couchbase-18 37.55% <44.44%> (+0.09%) ⬆️
apm-integrations-couchbase-eol 38.02% <44.44%> (+0.07%) ⬆️
apm-integrations-oracledb 37.88% <44.44%> (-0.07%) ⬇️
appsec-express 55.41% <44.44%> (+0.17%) ⬆️
appsec-fastify 51.72% <44.44%> (+0.13%) ⬆️
appsec-graphql 51.87% <44.44%> (+0.12%) ⬆️
appsec-kafka 44.49% <44.44%> (+0.10%) ⬆️
appsec-ldapjs 44.12% <44.44%> (+0.10%) ⬆️
appsec-lodash 43.71% <44.44%> (+0.09%) ⬆️
appsec-macos 58.25% <44.44%> (+0.08%) ⬆️
appsec-mongodb-core 48.90% <44.44%> (+0.12%) ⬆️
appsec-mongoose 49.55% <44.44%> (+0.12%) ⬆️
appsec-mysql 50.98% <44.44%> (+0.12%) ⬆️
appsec-node-serialize 43.30% <44.44%> (+0.09%) ⬆️
appsec-passport 47.76% <44.44%> (+0.13%) ⬆️
appsec-postgres 50.71% <44.44%> (+0.10%) ⬆️
appsec-sourcing 42.55% <44.44%> (+0.09%) ⬆️
appsec-stripe 44.74% <44.44%> (+0.10%) ⬆️
appsec-template 43.46% <44.44%> (+0.09%) ⬆️
appsec-ubuntu 58.33% <44.44%> (+0.08%) ⬆️
appsec-windows 58.08% <44.44%> (+0.10%) ⬆️
instrumentations-instrumentation-bluebird 32.33% <44.44%> (+0.03%) ⬆️
instrumentations-instrumentation-body-parser 40.64% <44.44%> (+0.09%) ⬆️
instrumentations-instrumentation-child_process 38.08% <44.44%> (+0.07%) ⬆️
instrumentations-instrumentation-cookie-parser 34.36% <44.44%> (+0.04%) ⬆️
instrumentations-instrumentation-express 34.68% <44.44%> (+0.04%) ⬆️
instrumentations-instrumentation-express-mongo-sanitize 34.49% <44.44%> (+0.04%) ⬆️
instrumentations-instrumentation-express-session 40.27% <44.44%> (+0.08%) ⬆️
instrumentations-instrumentation-fs 32.02% <44.44%> (+0.02%) ⬆️
instrumentations-instrumentation-generic-pool 29.46% <ø> (+0.11%) ⬆️
instrumentations-instrumentation-http 40.00% <44.44%> (+0.09%) ⬆️
instrumentations-instrumentation-knex 32.40% <44.44%> (+0.03%) ⬆️
instrumentations-instrumentation-mongoose 33.52% <44.44%> (+0.03%) ⬆️
instrumentations-instrumentation-multer 40.39% <44.44%> (+0.08%) ⬆️
instrumentations-instrumentation-mysql2 38.41% <44.44%> (+0.07%) ⬆️
instrumentations-instrumentation-passport 44.17% <44.44%> (+0.10%) ⬆️
instrumentations-instrumentation-passport-http 43.85% <44.44%> (+0.10%) ⬆️
instrumentations-instrumentation-passport-local 44.38% <44.44%> (+0.10%) ⬆️
instrumentations-instrumentation-pg 37.85% <44.44%> (+0.07%) ⬆️
instrumentations-instrumentation-promise 32.26% <44.44%> (+0.03%) ⬆️
instrumentations-instrumentation-promise-js 32.27% <44.44%> (+0.03%) ⬆️
instrumentations-instrumentation-q 32.31% <44.44%> (+0.03%) ⬆️
instrumentations-instrumentation-url 32.23% <44.44%> (+0.03%) ⬆️
instrumentations-instrumentation-when 32.28% <44.44%> (+0.03%) ⬆️
llmobs-ai 41.61% <44.44%> (-0.86%) ⬇️
llmobs-anthropic 40.57% <44.44%> (+0.08%) ⬆️
llmobs-bedrock 39.33% <44.44%> (+0.07%) ⬆️
llmobs-google-genai 39.88% <44.44%> (+0.07%) ⬆️
llmobs-langchain 39.36% <44.44%> (-0.82%) ⬇️
llmobs-openai 44.09% <44.44%> (+0.10%) ⬆️
llmobs-vertex-ai 40.14% <44.44%> (+0.08%) ⬆️
platform-core 31.47% <ø> (ø)
platform-esbuild 34.42% <ø> (ø)
platform-instrumentations-misc 34.11% <ø> (-14.30%) ⬇️
platform-shimmer 37.56% <ø> (ø)
platform-unit-guardrails 32.89% <ø> (ø)
platform-webpack 19.97% <12.50%> (-0.02%) ⬇️
plugins-azure-durable-functions 25.74% <ø> (ø)
plugins-azure-event-hubs 25.90% <ø> (ø)
plugins-azure-service-bus 25.26% <ø> (ø)
plugins-bullmq 43.62% <44.44%> (-0.87%) ⬇️
plugins-cassandra 37.89% <44.44%> (-0.07%) ⬇️
plugins-cookie 26.96% <ø> (ø)
plugins-cookie-parser 26.75% <ø> (ø)
plugins-crypto 26.73% <ø> (ø)
plugins-dd-trace-api 38.44% <44.44%> (+0.08%) ⬆️
plugins-express-mongo-sanitize 26.89% <ø> (ø)
plugins-express-session 26.70% <ø> (ø)
plugins-fastify 42.37% <44.44%> (+0.10%) ⬆️
plugins-fetch 38.52% <44.44%> (+0.04%) ⬆️
plugins-fs 38.76% <44.44%> (+0.08%) ⬆️
plugins-generic-pool 25.94% <ø> (ø)
plugins-google-cloud-pubsub 45.69% <44.44%> (+0.11%) ⬆️
plugins-grpc 41.02% <44.44%> (+0.09%) ⬆️
plugins-handlebars 26.94% <ø> (ø)
plugins-hapi 40.28% <44.44%> (+0.09%) ⬆️
plugins-hono 40.61% <44.44%> (+0.09%) ⬆️
plugins-ioredis 38.60% <44.44%> (+0.08%) ⬆️
plugins-knex 26.57% <ø> (ø)
plugins-langgraph 38.00% <44.44%> (-0.56%) ⬇️
plugins-ldapjs 24.43% <ø> (ø)
plugins-light-my-request 26.30% <ø> (ø)
plugins-limitd-client 32.61% <44.44%> (+0.03%) ⬆️
plugins-lodash 26.03% <ø> (ø)
plugins-mariadb 39.62% <44.44%> (+0.08%) ⬆️
plugins-memcached 38.31% <44.44%> (+0.08%) ⬆️
plugins-microgateway-core 39.35% <44.44%> (+<0.01%) ⬆️
plugins-moleculer 40.64% <44.44%> (+0.09%) ⬆️
plugins-mongodb 39.28% <44.44%> (+0.08%) ⬆️
plugins-mongodb-core 39.12% <44.44%> (+0.08%) ⬆️
plugins-mongoose 38.93% <44.44%> (-0.02%) ⬇️
plugins-multer 26.70% <ø> (ø)
plugins-mysql 39.32% <44.44%> (+0.08%) ⬆️
plugins-mysql2 39.41% <44.44%> (+0.08%) ⬆️
plugins-node-serialize 27.00% <ø> (ø)
plugins-opensearch 37.75% <44.44%> (+0.07%) ⬆️
plugins-passport-http 26.76% <ø> (ø)
plugins-postgres 35.57% <44.44%> (-0.01%) ⬇️
plugins-process 26.73% <ø> (ø)
plugins-pug 26.96% <ø> (ø)
plugins-redis 39.05% <44.44%> (+0.09%) ⬆️
plugins-router 43.37% <44.44%> (+0.11%) ⬆️
plugins-sequelize 25.55% <ø> (ø)
plugins-test-and-upstream-amqp10 38.62% <44.44%> (+0.08%) ⬆️
plugins-test-and-upstream-amqplib 44.37% <44.44%> (+0.12%) ⬆️
plugins-test-and-upstream-apollo 39.24% <44.44%> (+0.07%) ⬆️
plugins-test-and-upstream-avsc 38.70% <44.44%> (+0.08%) ⬆️
plugins-test-and-upstream-bunyan 33.94% <44.44%> (+0.04%) ⬆️
plugins-test-and-upstream-connect 40.94% <44.44%> (+0.09%) ⬆️
plugins-test-and-upstream-graphql 40.28% <44.44%> (+0.09%) ⬆️
plugins-test-and-upstream-koa 40.53% <44.44%> (+0.09%) ⬆️
plugins-test-and-upstream-protobufjs 38.93% <44.44%> (+0.08%) ⬆️
plugins-test-and-upstream-rhea 44.38% <44.44%> (+0.12%) ⬆️
plugins-undici 39.24% <44.44%> (+0.07%) ⬆️
plugins-url 26.73% <ø> (ø)
plugins-valkey 38.32% <44.44%> (+0.07%) ⬆️
plugins-vm 26.73% <ø> (ø)
plugins-winston 34.27% <44.44%> (+0.18%) ⬆️
plugins-ws 42.13% <44.44%> (+0.10%) ⬆️
profiling-macos 40.66% <44.44%> (+0.09%) ⬆️
profiling-ubuntu 40.78% <44.44%> (+0.09%) ⬆️
profiling-windows 42.35% <40.00%> (+0.10%) ⬆️
serverless-azure-functions-client 25.62% <ø> (ø)
serverless-azure-functions-eventhubs 25.62% <ø> (ø)
serverless-azure-functions-servicebus 25.62% <ø> (ø)

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-official
Copy link
Copy Markdown

datadog-official bot commented Apr 1, 2026

⚠️ Tests

Fix all issues with BitsAI or with Cursor

⚠️ Warnings

🧪 1 Test failed

should stay in sync with supported-configurations.json from Mocha Tests   View in Datadog   (Fix with Cursor)
ENOENT: no such file or directory, open 'D:\a\dd-trace-js\dd-trace-js\packages\dd-trace\src\config\generated-config-types.d.ts'
Error: ENOENT: no such file or directory, open 'D:\a\dd-trace-js\dd-trace-js\packages\dd-trace\src\config\generated-config-types.d.ts'
    at readFileSync (node:fs:440:20)
    at Context.<anonymous> (packages\dd-trace\test\config\generated-config-types.spec.js:16:7)

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 30.00%
Overall Coverage: 62.75% (-6.03%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: aee7c5e | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback!

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.

1 participant