-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Rule-based auto tagging] Bug fix and improvements #18726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
❌ Gradle check result for 2a0664b: 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? |
f8af0b1 to
341f3b3
Compare
|
❌ Gradle check result for 341f3b3: 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? |
|
Can you run |
Signed-off-by: Ruirui Zhang <mariazrr@amazon.com>
|
❌ Gradle check result for 5f297a0: 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? |
|
@jainankitk Can you review this PR ? |
|
❌ Gradle check result for 5f297a0: 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? |
|
Another flaky test: |
|
❌ Gradle check result for 5f297a0: 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? |
|
Another remote store flaky test: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18726 +/- ##
============================================
- Coverage 72.80% 72.70% -0.10%
+ Complexity 68535 68478 -57
============================================
Files 5572 5573 +1
Lines 314779 314816 +37
Branches 45691 45694 +3
============================================
- Hits 229166 228879 -287
- Misses 67014 67339 +325
+ Partials 18599 18598 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…#18726) Signed-off-by: Ruirui Zhang <mariazrr@amazon.com>
…#18726) Signed-off-by: Ruirui Zhang <mariazrr@amazon.com>
…#18726) Signed-off-by: Ruirui Zhang <mariazrr@amazon.com>
Description
This PR contains several bug fix/improvements for the rule-based auto tagging feature.
RestRequestinRestGetRuleAction. The previous approach filtered out a few known non-attribute/system params, but it relied on a fixed exclusion list. It could still include other unrelated or unintended params if they weren’t explicitly listed, especially any automatically added query params from the system.This current change whitelists only keys that are explicitly defined as allowed attributes for the given
FeatureType. It makes the logic stricter and safer by ensuring only valid attribute names are parsed and passed for rule filtering.got unexpected warning header [ 299 OpenSearch-3.2.0-SNAPSHOT-d622ff5e85377efc43d80e9502001fdac552f0c8 "this request accesses system indices: [.wlm_rules], but in a future major version, direct access to system indices will be prevented by default"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.