refactor: move all config related code under config directory#7204
Merged
refactor: move all config related code under config directory#7204
Conversation
This comment has been minimized.
This comment has been minimized.
Collaborator
Author
Contributor
Overall package sizeSelf size: 4.41 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7204 +/- ##
==========================================
+ Coverage 85.12% 85.14% +0.02%
==========================================
Files 529 532 +3
Lines 22866 22897 +31
==========================================
+ Hits 19464 19495 +31
Misses 3402 3402 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ea80fa8 to
c73e589
Compare
BenchmarksBenchmark execution time: 2026-01-19 20:24:58 Comparing candidate commit 54cc87f in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 233 metrics, 27 unstable metrics. |
9317837 to
e5614fe
Compare
fa752ab to
75925f6
Compare
e5614fe to
862a80c
Compare
862a80c to
772fc3b
Compare
75925f6 to
056cef4
Compare
BridgeAR
approved these changes
Jan 19, 2026
056cef4 to
54cc87f
Compare
dd-octo-sts Bot
pushed a commit
that referenced
this pull request
Jan 20, 2026
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}
Merged
BridgeAR
pushed a commit
that referenced
this pull request
Jan 22, 2026
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}
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.

What does this PR do?
Move all code related to configuration into the
configdirectory (both regular code and test):packages/dd-trace/src/{config_defaults.js => config/defaults.js}packages/dd-trace/src/{ => config}/git_properties.jspackages/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.jsonpackages/dd-trace/test/{ => config}/git_properties.spec.jspackages/dd-trace/test/{config.spec.js => config/index.spec.js}Motivation
Improved overview, encapsulation, and code ownership.