Conversation
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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 |
Generate the internal-test harness for the standalone WASM Lua target. Native internal tests are disabled by the browser profile, so a clean checkout cannot rely on their source-tree generated header. Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fluent Bit currently depends on native facilities that are unavailable in a browser. This adds an experimental Emscripten build profile and browser SDK that run the engine in workers, ingest application records, and export through browser Fetch.
The SDK supports start/stop/restart, bounded command admission, configuration assets, opt-in IndexedDB storage, namespace locking, checkpoint recovery, and status counters.
push()acknowledges input acceptance, not remote delivery. Persistent checkpoints require a stopped engine; failed checkpoints block restart until recovery succeeds.Scope
Bundled changes are isolated in library commits:
lib/flb_libco(fiber backend),lib/monkey(protocol/event/timer portability), andlib/chunkio(virtual filesystem/storage support). These updates are required, not optional: flb_libco #14, Monkey #448, and ChunkIO #116 have all merged upstream. Their bundled changes must accompany the Fluent Bit integration. The browser build additionally cross-compiles SHA-256-pinned OpenSSL 3.5.8, libyaml 0.2.5, and portable Lua 5.4.9 with Emscripten 6.0.9. The installed SDK is not patched.Validation — refreshed 2026-09-19
Fresh, isolated source worktrees on Linux; official Emscripten 6.0.9, Node 24.19.0, Chromium 151, Valgrind 3.23.0. No unrelated files from the development checkout are included.
Clean-checkout CI exposed a missing Lua test harness header: previous local native builds had generated it in the source tree. The WASM Lua target now generates its own build-tree header. This refresh changes only that test-build interface and prerequisite documentation; runtime and bundled-library sources are unchanged.
Completed locally:
Pending: the fresh full native strict-Valgrind integration run and hosted CI on the updated head. Previous validation passed focused native integrations under strict Valgrind; this section will be updated with the fresh result rather than treating old results as a new pass.
Focused native commands (set
FLUENT_BIT_BINARYwhen using an external build):Full PR-range commit-prefix lint and whitespace checks pass, all new commits carry DCO sign-offs, and a merge check against fetched master is clean. This update is a normal fast-forward push; no published history was rewritten.
The previous hosted native matrix also failed
flb-rt-out_s3inordered_shared_upload_retries_safelywith SIGSEGV. The focused local rerun passed, but that does not establish a fix; no unrelated S3 change is included. Hosted CI on this head must still be checked before merge.Build and browser reproduction commands are in the browser documentation.
Draft / production gates
The API remains experimental. It requires a secure, cross-origin-isolated browser context and trusted application configuration. Native builds retain their existing runtime model.
Outstanding work includes end-to-end backlog budgets, engine delivery/drop observability, crash-safe delivery semantics, real quota/eviction/corruption/upgrade testing, Firefox/WebKit/mobile and production CSP/bundler qualification, long-running lifecycle/pressure tests, and reproducible release/security processes. Default ASan passes; optional stack-use-after-return mode still has the documented toolchain cleanup limitation. This draft does not claim production readiness.