feat(multiprovider): add ComparisonStrategy - #2003
Conversation
Signed-off-by: Jonathan Norris <jonathan.norris@dynatrace.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2003 +/- ##
============================================
+ Coverage 92.52% 92.91% +0.38%
- Complexity 728 756 +28
============================================
Files 60 61 +1
Lines 1739 1834 +95
Branches 202 220 +18
============================================
+ Hits 1609 1704 +95
+ Misses 80 79 -1
- Partials 50 51 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|



Summary
ComparisonStrategy, which evaluates every configured provider in parallel and compares the results.ProviderErrorentries on the returned evaluation.Usage
Notes
Default timeout is 30s; a constructor overload accepts a caller-supplied
ExecutorServiceand timeout.Related PRs
This is one of three independent PRs that together close the multi-provider gaps identified in #1882. They branch off
mainseparately and can be reviewed and merged in any order. Together they replace #1897.ComparisonStrategy(this PR)Relates to #1882