-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ml: ensure context is registered for REGEX type #11231
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
base: master
Are you sure you want to change the base?
Conversation
|
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. WalkthroughThe multiline parser now registers the first-line context earlier when the group's first-line buffer is empty and avoids packing metadata for truncated content; new unit tests verify metadata preservation across flushes and truncation boundaries. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
🧰 Additional context used🧠 Learnings (1)📓 Common learnings🧬 Code graph analysis (1)tests/internal/multiline.c (4)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (31)
🔇 Additional comments (1)
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 |
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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
This pull request should address the issue #10576 For the fluent-bit configuration example and steps how to reproduce the issue, navigate to #10576 Output after the fix: |
|
@mirko-lazarevic maybe tweak the commit slightly as having Can you add some unit tests as well? I really like to see those as next time the code is refactored/updated it will prevent a similar problem. |
|
The CIFuzz failure is down to something else so can be ignored: #11227 |
a398968 to
23a2e18
Compare
I saw exact the same commit message from one of the maintainers, that's why I did the same. Anyway, I removed I'll see if I can add some unit tests, although my knowledge in this area is limited. |
@patrick-stephens Done |
Done. |
|
@cosmo0920 @patrick-stephens I'm not 100% sure what needs to be done regarding commit message linter. Do I need to squash my commits into a single one? Thank you |
|
The prefix should match the files being changed, it looks like it is expected |
Signed-off-by: Mirko Lazarevic <mirko.lazarevic@ibm.com>
Signed-off-by: Mirko Lazarevic <mirko.lazarevic@ibm.com>
916c20a to
fa27f8d
Compare
|
Commit linter still complains one commit: |
Addresses PR comments and adds correspoinding unit tests Signed-off-by: Mirko Lazarevic <mirko.lazarevic@ibm.com>
Signed-off-by: Mirko Lazarevic <mirko.lazarevic@ibm.com>
Signed-off-by: Mirko Lazarevic <mirko.lazarevic@ibm.com>
fa27f8d to
79afb58
Compare
This fix ensures that when the buffer is
flushed, the record will have proper timestamp
and metadata instead of just the "log" field.
Enter
[N/A]in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
ok-package-testlabel to test for all targets (requires maintainer to do).Documentation
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.
Summary by CodeRabbit
Bug Fixes
Tests
✏️ Tip: You can customize this high-level summary in your review settings.