Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
📝 WalkthroughWalkthroughAdds validation for range bounds in both indexing (RangeFieldMapper) and query parsing (RangeQueryBuilder); refactors range parsing into a dedicated method, enforces single-assignment and inclusion semantics, handles CIDR IP input, and adds tests and a changelog entry. No public API signature changes. Changes
Sequence Diagram(s)mermaid Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Suggested labelsbug 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
❕ Gradle check result for 9a9b3a9: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #20518 +/- ##
============================================
+ Coverage 73.25% 73.30% +0.04%
- Complexity 72103 72172 +69
============================================
Files 5798 5798
Lines 329732 329747 +15
Branches 47519 47526 +7
============================================
+ Hits 241554 241716 +162
+ Misses 68805 68716 -89
+ Partials 19373 19315 -58 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
❌ Gradle check result for a8697d1: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
Regression Error Message Stacktrace |
|
|
simplification of range set-up Signed-off-by: Michael <urmich.m@gmail.com>
null check moved to simplify nested if-blocks Signed-off-by: Michael <urmich.m@gmail.com>
Added a null check, to avoid uncontrolled NullPointerException Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
while-loop simplified, if-else changed to if and continue Signed-off-by: Michael <urmich.m@gmail.com>
DeprecationHandler as a variable Signed-off-by: Michael <urmich.m@gmail.com>
DeprecationHandler as a shorter variable Signed-off-by: Michael <urmich.m@gmail.com>
spotless Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
Signed-off-by: Michael <urmich.m@gmail.com>
a8697d1 to
c51c126
Compare
|
❌ Gradle check result for c51c126: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
Failed tests: https://build.ci.opensearch.org/job/gradle-check/70933/ |
|
❌ Gradle check result for c51c126: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
Hi @sandeshkr419 |
Signed-off-by: Mikhail Urmich <32458509+urmichm@users.noreply.github.com>
|
❕ Gradle check result for ec92add: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
|
Hello, all tests passed, please review my PR |
Description
Added range validation for the query builder and the field mapper.
Related Issues
Resolves #20497
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.