chore: avoid fetching data just for counting#41313
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
|
Caution Review failedAn error occurred during the review process. Please try again later. 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 @@
## develop #41313 +/- ##
===========================================
- Coverage 68.27% 68.16% -0.11%
===========================================
Files 3968 3968
Lines 154740 154725 -15
Branches 27847 27818 -29
===========================================
- Hits 105652 105476 -176
- Misses 44294 44452 +158
- Partials 4794 4797 +3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
5eb8db5 to
4348969
Compare
WalkthroughThe pull request replaces several full-result database queries with targeted lookups, bounded projections, count operations, and aggregation. It adds model interfaces and implementations for single-record lookups and integration statistics, then updates affected application flows. ChangesDatabase Query Optimization
Estimated code review effort: 3 (Moderate) | ~25 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
619b5a8 to
9e546a8
Compare
Proposed changes (including videos or screenshots)
Issue(s)
Follow up of #41207
Steps to test or reproduce
Further comments
Summary by CodeRabbit
SUP-1074