Skip to content

pack: Check whether inside of coroutine or not#11610

Draft
cosmo0920 wants to merge 1 commit intomasterfrom
cosmo0920-check-whether-inside-of-coroutine-or-not
Draft

pack: Check whether inside of coroutine or not#11610
cosmo0920 wants to merge 1 commit intomasterfrom
cosmo0920-check-whether-inside-of-coroutine-or-not

Conversation

@cosmo0920
Copy link
Contributor

This is another attempt of #11586.
When compiling with SIMD and using YYJSON which is stack based high performance JSON library, it causes SEGV on processing large size of JSON.
Plus, inside of coroutines, we often experienced SEGV which is caused by stack overflow that is ran out of the allocated size of coroutine.
So, we should detect the JSON component could be running on whether coroutine or not.


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:

  • Example configuration file for the change
  • Debug log output from testing the change
  • Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • Run local packaging test showing all targets (including any new ones) build.
  • Set ok-package-test label to test for all targets (requires maintainer to do).

Documentation

  • Documentation required for this feature

Backporting

  • Backport to latest stable release.

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.

@coderabbitai
Copy link

coderabbitai bot commented Mar 23, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: cc7e5873-8d08-416b-9581-2e66f72da166

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cosmo0920-check-whether-inside-of-coroutine-or-not

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant