-
Notifications
You must be signed in to change notification settings - Fork 314
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
feat: add strict mode to validate protocol strings #3638
Conversation
Hi @irenjj I notice this draft is rather close to complete, can you add some tests for invalid UTF8 strings in labels and fix the CI workflows so that we can proceed? |
Sure, I'll take care of adding tests for invalid UTF8 strings right away. |
@v0y4g3r @etolbakov PTAL |
Co-authored-by: Eugene Tolbakov <[email protected]>
Overall LGTM @irenjj, raised several points, will have another look (and approve) later today. |
Fail test: TRY 4 FAIL [ 1.139s] tests-integration::main integration_http_file_test::test_config_api |
@irenjj Thanks, I've quickly walk through the PR and left some commet. Despite these, you may also need to fix the greptimedb/tests-integration/tests/http.rs Line 675 in b32e0bb
Also, the PR adds a config option to |
Sure, i'll fix all review issues and add doc. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3638 +/- ##
==========================================
- Coverage 85.57% 85.22% -0.35%
==========================================
Files 962 962
Lines 160274 160371 +97
==========================================
- Hits 137155 136683 -472
- Misses 23119 23688 +569 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Others LGTM, thanks @irenjj, also thanks for your review @etolbakov @v0y4g3r
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
#3435
What's changed and what's your intention?
provide a strict mode to perform UTF-8 validation
Checklist