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 Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughAdds strict validation for range bounds during indexing and query parsing, refactors range parsing into a dedicated method that handles CIDR/IP input and ignore_malformed, and adds tests plus a changelog entry. No public API signature changes. Changes
Sequence Diagram(s)mermaid Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 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.28% 73.37% +0.09%
- Complexity 72143 72221 +78
============================================
Files 5798 5798
Lines 329791 329830 +39
Branches 47531 47545 +14
============================================
+ Hits 241681 242023 +342
+ Misses 68786 68419 -367
- Partials 19324 19388 +64 ☔ 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 |
|
|
|
Hello, all tests passed, please review my PR |
Updated the description for range validation in query builder and field mapper. Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
sandeshkr419
left a comment
There was a problem hiding this comment.
Looks good, thanks for working on this @urmichm!
|
❌ Gradle check result for 343cdbe: 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? |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
❌ Gradle check result for 343cdbe: 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? |
asimmahmood1
left a comment
There was a problem hiding this comment.
LGTM! I think this the right approach and avoid abigious requests to complete.
I am wondering though, other than the change log note, is there another place in 3.6 release we can state something like in the release blog:
OS 3.6 now has more strict validation for range queries. When upgrading to OS 3.6, there is chance that previous request with ambiguous range queries, e.g. with
lteandlt, multiplelt, users should fix those request before upgrading.
|
❌ Gradle check result for 343cdbe: 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? |
Signed-off-by: Mikhail Urmich <32458509+urmichm@users.noreply.github.com>
|
Thank you @asimmahmood1 @sandeshkr419 for approving the PR Failed tests on the pipeline are related to FlightClientManagerTests, which is known for flaky tests (#19728 #18938) Failed test: |
|
❌ Gradle check result for cfd1fd1: 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? |
|
@sandeshkr419 Gradle check succeeded ✅ |
…roject#20518) Signed-off-by: Michael <urmich.m@gmail.com> Signed-off-by: Mikhail Urmich <32458509+urmichm@users.noreply.github.com> Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> Co-authored-by: Sandesh Kumar <sandeshkr419@gmail.com>
…roject#20518) Signed-off-by: Michael <urmich.m@gmail.com> Signed-off-by: Mikhail Urmich <32458509+urmichm@users.noreply.github.com> Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> Co-authored-by: Sandesh Kumar <sandeshkr419@gmail.com>
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.