-
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
Conversation
This comment has been minimized.
This comment has been minimized.
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. |
simon-id
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks reasonable
9317837 to
e5614fe
Compare
fa752ab to
75925f6
Compare
e5614fe to
862a80c
Compare
862a80c to
772fc3b
Compare
75925f6 to
056cef4
Compare
056cef4 to
54cc87f
Compare

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.