-
Notifications
You must be signed in to change notification settings - Fork 360
refactor: move all config related code under config directory #7204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: watson/DEBUG-4402/remote-enablement
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Overall package sizeSelf size: 4.39 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 @@
## watson/DEBUG-4402/remote-enablement #7204 +/- ##
====================================================================
Coverage 84.50% 84.51%
====================================================================
Files 532 532
Lines 22741 22745 +4
====================================================================
+ Hits 19218 19222 +4
Misses 3523 3523 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
852427a to
ea80fa8
Compare
ea80fa8 to
c73e589
Compare
BenchmarksBenchmark execution time: 2026-01-09 12:42:27 Comparing candidate commit c73e589 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 291 metrics, 29 unstable metrics. |

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.