Repository navigation
feat: remove CDK compare test logic and metrics - #4541
Conversation
- Remove ComparatorService and related comparison logic - Remove CDK live compare test metrics from Prometheus - Remove CDK transformation time and events latency metrics - Simplify ServiceSelector to remove comparator logic - Remove comparator-related tests and types - Update constants to remove comparator service reference - Reduce Prometheus cardinality by removing 7 unused metrics - Improve code maintainability and performance
Summary by CodeRabbit
WalkthroughThis change set removes all logic, code, and metrics related to the ComparatorService and live comparison testing between destination services. The ServiceSelector is simplified to select only the primary service, comparator-specific constants and types are deleted, and associated Prometheus metrics are removed. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Suggestions for improvement:
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: .coderabbit.yaml ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
💤 Files with no reviewable changes (3)
🧰 Additional context used📓 Path-based instructions (1)**/*.js⚙️ CodeRabbit Configuration File
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
🔇 Additional comments (3)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
|
Allure Test reports for this run are available at:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4541 +/- ##
===========================================
+ Coverage 91.57% 91.73% +0.16%
===========================================
Files 639 638 -1
Lines 33786 33649 -137
Branches 7988 7964 -24
===========================================
- Hits 30940 30869 -71
+ Misses 2588 2528 -60
+ Partials 258 252 -6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|



This PR removes unused CDK compare test logic and metrics to improve maintainability and reduce Prometheus cardinality.
Changes:
Benefits:
Risk Assessment: Low risk - all removed code was unused in production