Add index size fields and formatting to stats - #712
floze-the-genius wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe global and index ChangesStats size formatting
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized change adds index size fields and optional formatting to stats responses; no actionable merge-blocking risk remains after normal checks and review. Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Summary
size_formaton client and index stats calls and forward it assizeFormatindexSizeandusedIndexSizefields for both stats endpointsCloses #711
Testing
bundle exec rubocop lib/meilisearch/client.rb lib/meilisearch/index.rb spec/meilisearch/client/stats_spec.rb spec/meilisearch/index/stats_spec.rbAI assistance
Used Codex to implement the stats query forwarding and regression tests.
Summary by CodeRabbit
size_formatoption.