feat: sync upstream Fluent Bit from v4.0.11 to upstream/4.0#18
Closed
niedbalski wants to merge 8 commits intomainfrom
Closed
feat: sync upstream Fluent Bit from v4.0.11 to upstream/4.0#18niedbalski wants to merge 8 commits intomainfrom
niedbalski wants to merge 8 commits intomainfrom
Conversation
Upstream-Ref: fluent/fluent-bit@00388b3 Cherry-picked from Fluent Bit upstream/4.0
Upstream-Ref: fluent/fluent-bit@0e09599 Cherry-picked from Fluent Bit upstream/4.0
Upstream-Ref: fluent/fluent-bit@d06b62f Cherry-picked from Fluent Bit upstream/4.0
Upstream-Ref: fluent/fluent-bit@48afea2 Cherry-picked from Fluent Bit upstream/4.0
Upstream-Ref: fluent/fluent-bit@269b951 Cherry-picked from Fluent Bit upstream/4.0
Upstream-Ref: fluent/fluent-bit@3dd39d8 Cherry-picked from Fluent Bit upstream/4.0
Synced patches from Fluent Bit v4.0.11 to upstream/4.0
Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
This was referenced Oct 3, 2025
auto-merge was automatically disabled
October 3, 2025 08:44
Pull request was converted to draft
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.
Summary
Syncs FluentDo Agent with upstream Fluent Bit from v4.0.11 to upstream/4.0
This PR applies upstream patches to keep FluentDo Agent in sync with Fluent Bit while preserving our customizations.
Changes Applied
Technical Fixes & Improvements
383d7ad: in_emitter: Resolve ring buffer gtliches on threaded modea4718f1: opentelemetry: logs: skip empty strings for TraceID andb187885: in_splunk: return correct error response for http/1ac8f949: in_splunk: return correct error response for http/1Test Updates
d23ab7b: in_forward: tests: Add a regression test case forda52b34: tests: internal: opentelemetry: add tests for emptyUpstream Reference
Testing Checklist
cd source && cmake . && make)FluentDo Customizations Verified
Type of Change
Generated by
scripts/create-sync-pr.shGreptile Overview
Updated On: 2025-10-03 06:15:48 UTC
Summary
This PR synchronizes the FluentDo Agent with upstream Fluent Bit, incorporating changes from version v4.0.11 to the upstream/4.0 branch. FluentDo Agent is a downstream distribution of Fluent Bit that maintains its own customizations while staying current with upstream improvements.The changes primarily focus on bug fixes and reliability improvements across several core components:
The synchronization process updates the version tracking marker from 'v4.0.11' to 'upstream/4.0', indicating alignment with the latest upstream branch rather than a specific release tag. This approach allows FluentDo to incorporate the most recent fixes while maintaining their custom patches through their established sync workflow.
All changes are backward compatible and focus on fixing edge cases and improving reliability rather than introducing new features. The modifications preserve FluentDo's customizations while bringing in essential stability improvements from the upstream Fluent Bit project.
Important Files Changed
Changed Files
Confidence score: 4/5
Sequence Diagram
sequenceDiagram participant User participant "Sync Script" as Script participant "Upstream Repo" as Upstream participant "Source Files" as Source participant "Tests" as Tests User->>Script: "Run sync-upstream-patches.sh --from v4.0.11 --to upstream/4.0" Script->>Upstream: "Fetch upstream commits" Script->>Script: "Generate patch files" Script->>Script: "Categorize patches (TECHNICAL, TESTS, etc.)" Script->>User: "Show patch analysis" User->>Script: "Confirm apply patches" Script->>Source: "Apply emitter ring buffer fix" Script->>Source: "Apply splunk error response fixes" Script->>Source: "Apply OpenTelemetry empty string validation" Script->>Tests: "Add regression test for forward issue 10946" Script->>Tests: "Add OpenTelemetry empty string tests" Script->>Source: "Update oss_version.txt to upstream/4.0" Script->>User: "Sync complete - ready for PR"