Align Dynamic Search Rules with Meilisearch v1.53 - #759
Conversation
Nightly/latest now uses precedence, object-shaped conditions, and async mutation tasks, which was breaking the .NET integration suite. Co-authored-by: Cursor <cursoragent@cursor.com>
|
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 (12)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughDynamic search rules now use structured conditions and ChangesDynamic search rule API
Estimated code review effort: 3 (Moderate) | ~25 minutes Merge Risk: ⚪ Minimal · up to This PR updates Dynamic Search Rules to match the Meilisearch v1.53 API and adjusts related tests, fixtures, and samples; no actionable merge-blocking risk remains beyond normal checks and review. Sequence Diagram(s)sequenceDiagram
participant Caller
participant MeilisearchClient
participant MeilisearchAPI
Caller->>MeilisearchClient: CreateOrUpdateDynamicSearchRuleAsync or DeleteDynamicSearchRuleAsync
MeilisearchClient->>MeilisearchAPI: Send rule operation request
MeilisearchAPI-->>MeilisearchClient: Return TaskInfo
MeilisearchClient-->>Caller: Return TaskInfo
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 15.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 20 functions across 8 files. (3 skipped: 3 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
|
Gentle bump on this one, it currently blocks other PRs. Created a new PR #763 that fails tests, due to these issues. |
Pull Request
Related issue
Fixes tests failing against the latest Meilisearch build
What does this PR do?
priority→precedence, andconditionsas an object (query/time/filter) instead of an array.TaskInfo) instead of returning the rule or a boolean.PR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!
Summary by CodeRabbit
prioritytoprecedence.