fix(rc): rework remote configuration handling by dmehala · Pull Request #234 · DataDog/dd-trace-cpp
Base automatically changed from dmehala/fix-rc-sampling-2 to main
September 3, 2025 09:38This commit refactors the way remote configurations are applied
to the tracer. Previously, if a remote configuration contained both
valid and invalid fields, the valid parts could be partially applied,
potentially leading to inconsistent behavior.
Now, the configuration is only applied if it is fully valid. Any invalid
configuration is entirely rejected. This constitutes a breaking change.
This also report errors when an invalid configuration is rejected.
Changes:
- Add fuzz test and input corpus for Remote Configuration.
- Fix a crash when telemetry methods are invoked before intializing
the module.
- Improve unit test coverage of remote configuration.
dmehala
deleted the
dmehala/fix-rc-report-conf-status
branch
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