Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
259 commits
Select commit Hold shift + click to select a range
ffbe681
in_opentelemetry: return not found for invalid endpoint
edsiper Jul 6, 2026
5fd6b28
tests: integration: cover invalid otlp endpoint status
edsiper Jul 6, 2026
65a8bfa
workflows: bump actions/stale from 10.3.0 to 10.4.0
dependabot[bot] Jul 10, 2026
cbf10cd
workflows: bump github/codeql-action/upload-sarif from 4.36.3 to 4.37.0
dependabot[bot] Jul 9, 2026
1939298
tls: openssl: don't recycle a connection after peer close_notify
ku524 Jul 9, 2026
6b005e6
in_winevtlog: Add EventData map if enabled
cosmo0920 Jul 10, 2026
7fc2ea1
in_winevtlog: Prevent record drops on exceptions
cosmo0920 Jul 10, 2026
3ceed7d
lib: cmetrics: upgrade to v2.2.0
edsiper Jul 10, 2026
a5c9bd2
build: Fix incorrect C TLS detection
cosmo0920 Jul 7, 2026
3e75e89
tests: internal: Add test cases for C TLS
cosmo0920 Jul 7, 2026
ca4ebcc
tests: internal: Add a multi-threaded case for C TLS
cosmo0920 Jul 7, 2026
a41cdbb
config: Initialize worker ctx earlier
cosmo0920 Jul 9, 2026
e6db1af
in_forward: fix stale byte accounting when multiple frames share a bu…
zshuang0316 Jul 5, 2026
172ae13
lib: cfl: upgrade to v1.0.0
edsiper Jul 11, 2026
40628be
lib: cfl: upgrade to v1.0.1
edsiper Jul 12, 2026
661ebf9
opentelemetry: reduce protobuf log allocation churn
edsiper Jul 12, 2026
b4cb968
tests: internal: cover empty protobuf log binaries
edsiper Jul 12, 2026
d3d0c38
in_gpu_metrics: Handle NVIDIA GPU metrics via NVML
cosmo0920 Apr 16, 2026
864816a
in_gpu_metrics: Unify include/exclude pattern accross AMD/NVDA GPUs
cosmo0920 Apr 16, 2026
2d62086
in_gpu_metrics: Handle strtol properly
cosmo0920 Apr 16, 2026
4436718
in_gpu_metrics: Implement dcgm-exporter compatible per process metrics
cosmo0920 Apr 17, 2026
b5ccd73
in_gpu_metrics: Address minor issues
cosmo0920 Apr 17, 2026
700eb39
tests: internal: Add test cases for post 2038 time
cosmo0920 Mar 13, 2026
156d170
log_event_decoder: Process timestamps after 2038
cosmo0920 Mar 13, 2026
68f55c8
time: Handle post 2038 time precisely
cosmo0920 Mar 13, 2026
660f744
out_stdout: handle after 2038 timestamps
cosmo0920 Mar 13, 2026
1257d7e
log_event_encoder: Confirm timestamp validity
cosmo0920 Jul 10, 2026
5786c26
log_event_encoder_primitives: Confirm EvtTime validity
cosmo0920 Jul 10, 2026
4badb25
pack: Handle 64bit value for handling post 2038 time
cosmo0920 Jul 10, 2026
a657661
opentelemetry: Handle timestamp more precisely
cosmo0920 Jul 10, 2026
fef35f3
in_opentelemetry: Check return values on parsing timestamps
cosmo0920 Jul 10, 2026
07dface
tests: integration: Add a test case for post 2038 time
cosmo0920 Jul 10, 2026
9b138db
in_etw: implement Event Tracing for Windows input
cosmo0920 Jul 6, 2026
2a3ef3f
in_etw: Handle mutex operations instead of atomic
cosmo0920 Jul 8, 2026
3ccd56c
in_etw: Add kernel log mode and session validations
cosmo0920 Jul 8, 2026
877ea8f
in_etw: Handle lifecycles and length more rigidly
cosmo0920 Jul 8, 2026
5af306e
in_etw: Adjust cunsuming workers lifecycles on pause/resume
cosmo0920 Jul 8, 2026
0896e9c
in_etw: harden ETW ingestion and session handling
cosmo0920 Jul 10, 2026
80a88a4
tests: runtime: Enadle http_client_chunked test in Windows
cosmo0920 May 26, 2026
f5603d4
tests: runtime: Don't use symlink for dummy and random tests
cosmo0920 May 26, 2026
1a359c8
tests: runtime: Enable core_chunk_trace test on Windows
cosmo0920 May 26, 2026
49443da
tests: runtime: Enable core_accept_timeout test case on Windows
cosmo0920 May 26, 2026
ab5f1cf
tests: runtime: Enabled system systems test cases on Windows
cosmo0920 May 26, 2026
4fac7d3
tests: runtime: Enable core-timeout test case on Windows
cosmo0920 May 26, 2026
01d9966
tests: runtime: Enable core_engine test cases on Windows
cosmo0920 May 26, 2026
6fdccd0
tests: runtime: Enable out_counter test cases on Windows
cosmo0920 May 26, 2026
dd83bef
tests: runtime: Enable in_syslog tests on Windows
cosmo0920 Jun 1, 2026
f242401
tests: runtime: Enable in_forward tests on Windows
cosmo0920 Jun 1, 2026
41c0647
tests: runtime: Enable in_opentelemetry_routing tests on Windows
cosmo0920 Jun 1, 2026
f4515a0
tests: runtime: Make MSVC compatible on aws_client_mock
cosmo0920 Jun 1, 2026
52c9846
tests: runtime: Enable in_http tests on Windows
cosmo0920 Jun 1, 2026
0a6f6a2
tests: runtime: Use platform compatible flb_pthread.h
cosmo0920 Jun 1, 2026
01ff25b
tests: runtime: Make Windows platform compatible for runtime helper
cosmo0920 Jun 1, 2026
d72d7f1
tests: runtime: Enable in_tail test case on Windows
cosmo0920 Jul 13, 2026
04c58df
tests: runtime: Enable runtime tests on Windows
cosmo0920 Jul 13, 2026
43cfc70
tests: runtime: Enable tests on Windows
cosmo0920 Jul 13, 2026
b683d20
tests: runtime: Teardown correctly even if Windows
cosmo0920 Jul 13, 2026
ee140d8
tests: runtime: Teardown correctly on Windows
cosmo0920 Jul 13, 2026
e376680
tests: runtime: Add more test cases for Windows
cosmo0920 Jul 13, 2026
73c8b90
tests: runtime: Adjust building rules for Windows
cosmo0920 Jul 13, 2026
f9bb798
tests: runtime: Adjust regex expression to include prom files
cosmo0920 Jul 13, 2026
fcbc2ba
tests: runtime: Teardown cleanly even if Windows
cosmo0920 Jul 13, 2026
836f054
tests: runtime: Specify service settings correctly
cosmo0920 Jul 13, 2026
0b5a695
tests: runtime: Adopt to use Windows path separators
cosmo0920 Jul 13, 2026
f7d4650
tests: runtime: Exclude a test case to run on Windows
cosmo0920 Jul 13, 2026
431800c
tests: runtime: Make Windows compatible
cosmo0920 Jul 13, 2026
fa1a333
tests: runtime: Shorten stuck period
cosmo0920 Jul 13, 2026
f565f97
tests: runtime: Teardown cleanly even if on Windows
cosmo0920 Jul 13, 2026
660c411
tests: runtime: Make temporary directories to follow Window way
cosmo0920 Jul 13, 2026
560bce0
filter_kubernetes: Make more Windows compatible
cosmo0920 Jul 13, 2026
39df208
filter_throttle: Make teardown more cleanly
cosmo0920 Jul 13, 2026
edc4197
in_kubernetes_events: Use rigid width of number bytes
cosmo0920 Jul 13, 2026
341584e
out_loki: Use binary flag on opening on Windows
cosmo0920 Jul 13, 2026
aba96e9
out_syslog: Make Windows compatible shutdown sequence
cosmo0920 Jul 13, 2026
e8d3c86
in_tail: Make ridig scanning globs on Windows
cosmo0920 Jul 13, 2026
785bfc7
out_s3: Use Windows compatible temporary paths
cosmo0920 Jul 13, 2026
fd39f41
tests: runtime: Make test be Windows compatible
cosmo0920 Jul 13, 2026
ac37305
tests: in_kubernetes_events: Make tests be Windows compatible
cosmo0920 Jul 13, 2026
55c5835
tests: runtime: use binary mode on opening on Windows
cosmo0920 Jul 13, 2026
ae3d152
tests: runtime: Use a specific time format on Windows
cosmo0920 Jul 13, 2026
317d92a
tests: runtime: Remove a needless type casting
cosmo0920 Jul 13, 2026
90fb69c
cmake: Provide out_exit by default on Windows
cosmo0920 Jul 13, 2026
0773a9f
tests: runtime_shell: Make script test cases be Windows compatible
cosmo0920 Jul 13, 2026
182f816
tests: runtime: Treat simple system test cases as special cases
cosmo0920 Jul 13, 2026
2f26052
tests: runtime: Adjust teardown operation order
cosmo0920 Jul 13, 2026
a82c5f4
build: tests: runtime: Enable and run event_test correctly
cosmo0920 Jul 13, 2026
eeb8489
in_event_test: Make Windows compatible
cosmo0920 Jul 13, 2026
0f95168
tests: runtime: Make Windows compatible
cosmo0920 Jul 13, 2026
6fd76d3
tests: runtime: Shorten waiting period for filter_kubernetes
cosmo0920 Jul 13, 2026
13870bc
tests: runtime: Shorten waiting period for out_stackdriver
cosmo0920 Jul 13, 2026
7f2c561
out_s3: Provide shortened wainting period for testing
cosmo0920 Jul 13, 2026
b7eb8cf
tests: runtime: Shorten waiting period for out_s3
cosmo0920 Jul 13, 2026
35f8a41
lib: cmetrics: upgrade to v2.2.1
edsiper Jul 12, 2026
f6c55ce
tests: runtime: processor_labels: update sample counts
edsiper Jul 12, 2026
eee835b
in_opentelemetry: reduce protobuf decode allocation churn
edsiper Jul 12, 2026
5c5b8ce
tests: integration: cover large protobuf log requests
edsiper Jul 12, 2026
43a6593
in_node_exporter_metrics: Add a capability to adjust log level w/ err…
cosmo0920 Jul 6, 2026
2cec2cb
in_node_exporter_metrics: Handle errno on log utility
cosmo0920 Jul 6, 2026
a87985d
network: enforce shared listener socket setup
edsiper Jul 14, 2026
7924217
downstream_worker: add managed listener runtime
edsiper Jul 14, 2026
f92fca0
tests: internal: cover downstream worker lifecycle
edsiper Jul 14, 2026
b7ee1e9
input_ingest: add bounded cross-thread ingestion
edsiper Jul 14, 2026
483b313
http_server: add managed listener workers
edsiper Jul 14, 2026
5c25675
tests: internal: cover HTTP listener workers
edsiper Jul 14, 2026
670b74c
in_tcp: add listener workers
edsiper Jul 14, 2026
7c88817
in_udp: add listener workers
edsiper Jul 14, 2026
c44e09b
in_forward: add listener workers
edsiper Jul 14, 2026
14e6070
in_opentelemetry: defer worker ingestion
edsiper Jul 14, 2026
3eeb56b
in_prometheus_remote_write: defer worker ingestion
edsiper Jul 14, 2026
ddea708
tests: integration: cover downstream listener workers
edsiper Jul 14, 2026
439894e
github: workflows: Enable runtime tests only for x64 Windows architec…
cosmo0920 Jul 14, 2026
23d5157
AGENTS: Remove the restriction of runtime tests on Windows
cosmo0920 Jul 14, 2026
af326fa
skills: Remove the restrictions of runtime tests on Windows
cosmo0920 Jul 14, 2026
f267faa
github: workflows: Run parallel on enabling runtime tests
cosmo0920 Jul 14, 2026
ab218b1
tests: runtime: Wait for longer period to check sufficient amount
cosmo0920 Jul 14, 2026
c7cf044
github: workflows: Exclude filter_rewrite_tag on CI
cosmo0920 Jul 14, 2026
6ec192d
http_server: Inherit parent's setting for reusing port
cosmo0920 Jul 14, 2026
127b9b3
tests: internal: Add a test case for single managed case
cosmo0920 Jul 14, 2026
86b75e0
workflows: bump softprops/action-gh-release from 3.0.1 to 3.0.2
dependabot[bot] Jul 14, 2026
10d2443
tests: runtime: Save with byte order mark for non-ASCII environment o…
cosmo0920 Jul 14, 2026
b8b405c
tests: runtime: Use ASCII format of BOM in the middle of lines
cosmo0920 Jul 14, 2026
0c61016
network: Plug an unintialized member
cosmo0920 Jul 15, 2026
064e90b
tests: runtime: out_tcp: Make more rigid accumutated assertions
cosmo0920 Jul 15, 2026
fd5ea1f
workflows: bump github/codeql-action/upload-sarif from 4.37.0 to 4.37.1
dependabot[bot] Jul 17, 2026
3c2b831
github: workflows: Enable unit testing on 5.0 branch
cosmo0920 Jul 21, 2026
aec9cf9
mp: avoid unbounded recursion in chunk cobj record iteration
zshuang0316 Jul 21, 2026
8a4c159
tests: internal: cover condition filtering in mp chunk cobj iteration
zshuang0316 Jul 21, 2026
dc289a0
build: build shared library for tests
edsiper Jul 21, 2026
b8e625d
tests: link test binaries against shared library
edsiper Jul 21, 2026
459215a
build: select static test linkage on MSVC
edsiper Jul 21, 2026
c9c3afc
tests: use platform test link library
edsiper Jul 21, 2026
18c1e87
build: keep jemalloc tests statically linked
edsiper Jul 21, 2026
865762d
tests: runtime: avoid duplicate Calyptia plugins
edsiper Jul 21, 2026
c830fb6
tests: internal: avoid duplicate Azure Blob plugin
edsiper Jul 21, 2026
7a5180c
aws: add columnar compression API for arrow and parquet
Jun 7, 2026
e8d0cd0
out_s3: add format=arrow and format=parquet columnar output
Jun 7, 2026
6e32b84
tests: internal: aws_compress: add columnar format compression tests
Jun 7, 2026
cb7256c
tests: integration: out_s3: add columnar format scenarios
Jun 7, 2026
ca978ca
input_ingest: preserve known log record counts
edsiper Jul 29, 2026
1f805d4
in_opentelemetry: optimize batched protobuf ingestion
edsiper Jul 29, 2026
3af25c4
tests: integration: cover batched OTLP worker accounting
edsiper Jul 29, 2026
fdad32f
io: Handle DTLS protocol
cosmo0920 Apr 20, 2026
2b1a21c
stream: Distinguish DTLS protocol
cosmo0920 Apr 20, 2026
54a6800
upstream: Handle DTLS protocol
cosmo0920 Apr 20, 2026
1a0277b
tls: flb_tls: Handle DTLS protocol
cosmo0920 Apr 15, 2026
1a3d314
connection: Handle DTLS connections
cosmo0920 Apr 15, 2026
e35016a
out_syslog: Handle Dgram on DTLS
cosmo0920 Apr 15, 2026
210d202
tests: integeration: Add out_syslog cases for UDP, TCP, and DTLS
cosmo0920 Apr 20, 2026
a4353fc
out_syslog: Address review comments
cosmo0920 Apr 20, 2026
ccb00b5
io: Store fd on UDP
cosmo0920 Apr 20, 2026
20be9c3
tests: integration: Resolve openssl fullpath before running
cosmo0920 Apr 20, 2026
66b3825
out_syslog: Preserve platform DTLS options in DTLS
cosmo0920 Apr 22, 2026
c3381b1
io: DTLS async/nonblocking parity
cosmo0920 Apr 22, 2026
2de126c
tls: openssl: Handle relatively old OpenSSL versions
cosmo0920 Apr 24, 2026
42acb63
plugin_alias: Implement a mechanism of plugin aliases
cosmo0920 Apr 2, 2026
483a778
network: Handle network separator correctly
cosmo0920 Apr 2, 2026
e9d2e86
output: Handle plugin aliases
cosmo0920 Apr 2, 2026
8a0a054
input: Handle plugin aliases
cosmo0920 May 7, 2026
956f906
filter: Handle plugin aliases
cosmo0920 May 7, 2026
7fca6c9
processor: Handle plugin aliases
cosmo0920 May 7, 2026
704a735
tests: Add internal tests for handling plugin aliases
cosmo0920 Apr 2, 2026
9789cbb
config: Introduce adaptive flushing interval
cosmo0920 Feb 25, 2026
5baa5f8
engine: Implement adaptive flushing intervals
cosmo0920 Feb 25, 2026
2f9a57d
conf: fluent-bit.conf: Add example settings for adaptive intervals
cosmo0920 Feb 25, 2026
1660e7c
tests: internal: Add test cases for adaptive flushing
cosmo0920 Feb 25, 2026
ced54ca
engine: Add a fallback mechanism when failing to set up an interval
cosmo0920 Feb 25, 2026
195ef76
out_gcs: Implement out_gcs plugin
cosmo0920 May 11, 2026
29e6aa3
tests: runtime: Add out_gcs runtime test cases
cosmo0920 May 11, 2026
cd70d02
out_gcs: Add a guard for uploading objects
cosmo0920 Jul 16, 2026
3a803cd
in_node_exporter_metrics: Implement metrics of powersupply
cosmo0920 May 1, 2026
f1ca6cb
in_node_exporter_metrics: collect TcpExt and IpExt counters on netstat
cosmo0920 May 1, 2026
dca899e
in_node_exporter_metrics: Add filesystem metrics for macOS
cosmo0920 May 1, 2026
b180b25
in_node_exporter_metrics: Enable fielsystem metrics by default
cosmo0920 May 1, 2026
8ee6a63
in_node_exporter_metrics: Report powersupplyclass errors on exceptions
cosmo0920 May 1, 2026
a5ad2f5
in_node_exporter_metrics: Ensure ito destroy regex instances
cosmo0920 May 1, 2026
a04510c
in_node_exporter_metrics: Address review comments
cosmo0920 May 7, 2026
8106645
in_node_exporter_metrics: Use util function to read numeric long values
cosmo0920 May 7, 2026
9365f31
out_file: Add RA support for dynamic creation of directories
cosmo0920 May 25, 2026
6ff6c44
tests: runtime: Add testcases for dynamic creation of directories
cosmo0920 May 25, 2026
42ef26b
tls: openssl: Implement reloading certificates feature
cosmo0920 Jun 16, 2026
09367cb
tests: internal: Add test cases for reloading certificates
cosmo0920 Jul 17, 2026
a219486
tests: integration: add macOS leaks memory checks
cosmo0920 Jul 22, 2026
9826f0f
tests: integration: Add pytest-xdist dependency to run in parallel
cosmo0920 Jul 22, 2026
ca218bb
tests: integration: Support run with mutiple testing workers
cosmo0920 Jul 22, 2026
45729b4
tests: integration: Handle macOS side of conditions
cosmo0920 Jul 22, 2026
1784c1e
tests: integration: Handle requirements more strictly
cosmo0920 Jul 22, 2026
3766460
tests: integration: Caching Fluent Bit version on running integration…
cosmo0920 Jul 22, 2026
450df3a
tests: integraiton: FIx a failing integration test
cosmo0920 Jul 22, 2026
3459c25
tests: integration: Fix failing cases
cosmo0920 Jul 22, 2026
ce60904
tests: integration: Adjust numbers of workers
cosmo0920 Jul 22, 2026
dcc139b
tests: integration: Use the same handlings of environment variables
cosmo0920 Jul 22, 2026
9a3ff3a
tests: integration: Address review comments
cosmo0920 Jul 22, 2026
4debb4d
connection: add per-connection I/O state
edsiper Jul 23, 2026
63a999b
downstream: add connection event coroutines
edsiper Jul 23, 2026
656e8f7
coro: make thread initialization self-contained
edsiper Jul 23, 2026
d29bd1e
downstream_worker: dispatch connection coroutines
edsiper Jul 23, 2026
676b6eb
engine: dispatch downstream event coroutines
edsiper Jul 23, 2026
6a0e626
input_thread: dispatch downstream event coroutines
edsiper Jul 23, 2026
2ae89c9
tls: stop asynchronous I/O after connection errors
edsiper Jul 23, 2026
5d5e8be
in_forward: migrate TLS events to downstream coroutines
edsiper Jul 23, 2026
0c0be00
tests: integration: cover Forward TLS coroutine lifecycle
edsiper Jul 23, 2026
5860a17
downstream: restrict event coroutines to streams
edsiper Jul 23, 2026
bf42b0b
io: harden asynchronous event restoration
edsiper Jul 23, 2026
ca28a4f
tls: harden asynchronous event restoration
edsiper Jul 23, 2026
470cdac
coro: increase default stack headroom
edsiper Jul 23, 2026
18bb8ae
connection: track deferred downstream release
edsiper Jul 23, 2026
368fa3c
downstream: defer busy callback release
edsiper Jul 23, 2026
aeb4982
in_forward: migrate plain TCP events to coroutines
edsiper Jul 23, 2026
3301410
tests: integration: expand Forward coroutine coverage
edsiper Jul 23, 2026
80139e1
in_podman_metrics: add per-container disk I/O metrics
stondo Jun 23, 2026
b00cf3f
tests: runtime: Add a test case for empty pod-service definition
cosmo0920 Jul 24, 2026
8275606
filter_kubernetes: Plug SEGV occurrences on enalbing pod association
cosmo0920 Jul 24, 2026
97a2f10
filter_kubernetes: Plug memory leaks on exceptions
cosmo0920 Jul 24, 2026
88fe545
in_process_exporter_metrics: Fix the reported RSS ram
anagno Jul 22, 2026
fdb38a1
fips: Add FIPS initializing component
cosmo0920 Jul 1, 2026
d51e58f
config: Add a system config for FIPS
cosmo0920 Jul 1, 2026
712e996
engine: Add a verification step for FIPS on enabled
cosmo0920 Jul 1, 2026
dc00814
bin: Provide a command line argument for FIPS verification
cosmo0920 Jul 1, 2026
0037460
out_s3: Add safe guard for FIPS compliance
cosmo0920 Jul 1, 2026
750f826
out_azure_blob: Block MD5 hash on fips enabled
cosmo0920 Jul 1, 2026
1258429
tests: runtime: Add a test case for sha256 hash with FIPS
cosmo0920 Jul 1, 2026
cdaac74
tests: internal: Compute an expected sha256 hash
cosmo0920 Jul 1, 2026
af25b79
lib: Handle FIPS mode on initailize
cosmo0920 Jul 16, 2026
6bfda00
reload: Validate FIPS mode on reload
cosmo0920 Jul 16, 2026
e89287f
hash: Teardown hash internal member correctly
cosmo0920 Jul 16, 2026
89485bc
tests: internal: Add test case for FIPS compliant
cosmo0920 Jul 16, 2026
a2e6dec
hmac: Teardown hmac contenxts cleanly
cosmo0920 Jul 16, 2026
4b5ecc3
in_lib: Adjust consuming mechanism to inprove throughput
cosmo0920 Jul 14, 2026
3a0916a
in_lib: Address a review comment
cosmo0920 Jul 21, 2026
ae031d9
in_lib: preserve partial records while draining input
cosmo0920 Jul 21, 2026
b2145cb
tests: runtime: isolate Loki mock server configuration
edsiper Jul 22, 2026
b8d983b
in_node_exporter_metrics: fix netstat file reads
edsiper Jul 29, 2026
0f5190f
build: plugins: Generate plugin defs on separated build directories
cosmo0920 Jul 17, 2026
10213ef
in_process_exporter_metrics: Add cmt_expire() to flush stale metrics
piwai Jul 13, 2026
8b46258
tests: runtime: out_chronicle: Prevent resource races on checking res…
cosmo0920 Jul 24, 2026
cdecd1a
tests: runtime: out_http: Prevent resource races on checking results
cosmo0920 Jul 24, 2026
9ed9f64
tests: runtime: Show errors on unpacking failures
cosmo0920 Jul 24, 2026
79b2f2d
in_forward: batch Forward mode worker ingress
edsiper Jul 27, 2026
3820bbe
tests: integration: cover Forward mode worker batching
edsiper Jul 27, 2026
39ee78e
tests: integration: harden Forward worker assertions
edsiper Jul 29, 2026
117a727
in_tail: add Windows UTF-8 path encoding mode (#12020)
cosmo0920 Jul 29, 2026
e93f3e3
tls: yield downstream reads to event loop
edsiper Jul 22, 2026
0cbc8bb
in_forward: retain retryable TLS connections
edsiper Jul 22, 2026
87742b6
in_http: retain retryable TLS connections
edsiper Jul 22, 2026
fd16912
in_mqtt: retain retryable TLS connections
edsiper Jul 22, 2026
15fd423
in_syslog: retain retryable TLS connections
edsiper Jul 22, 2026
e8918dd
in_tcp: retain retryable TLS connections
edsiper Jul 22, 2026
2a293aa
in_unix_socket: retain retryable TLS connections
edsiper Jul 22, 2026
e9dccc5
http_server: retain retryable TLS connections
edsiper Jul 22, 2026
3c90e6f
tests: integration: cover bounded secure Forward reads
edsiper Jul 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 12 additions & 1 deletion .github/workflows/call-windows-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,21 @@ jobs:
- name: "Windows 32bit"
arch: x86
cmake_additional_opt: ""
runtime_tests: "Off"
vcpkg_triplet: x86-windows-static
cmake_version: "3.31.6"
os: windows-latest
- name: "Windows 64bit"
arch: x64
cmake_additional_opt: ""
runtime_tests: "On"
vcpkg_triplet: x64-windows-static
cmake_version: "3.31.6"
os: windows-latest
- name: "Windows 64bit (Arm64)"
arch: amd64_arm64
cmake_additional_opt: "-DCMAKE_SYSTEM_NAME=Windows -DCMAKE_SYSTEM_VERSION=10.0 -DCMAKE_SYSTEM_PROCESSOR=ARM64"
runtime_tests: "Off"
vcpkg_triplet: arm64-windows-static
cmake_version: "3.31.6"
os: windows-11-arm
Expand Down Expand Up @@ -207,13 +210,15 @@ jobs:
run: |
cmake -G "NMake Makefiles" `
-D FLB_TESTS_INTERNAL=On `
-D FLB_TESTS_RUNTIME=${{ matrix.config.runtime_tests }} `
-D FLB_NIGHTLY_BUILD='${{ inputs.unstable }}' `
-D OPENSSL_ROOT_DIR='C:\vcpkg\installed\${{ matrix.config.vcpkg_triplet }}' `
${{ matrix.config.cmake_additional_opt }} `
-D FLB_LIBYAML_DIR='C:\vcpkg\installed\${{ matrix.config.vcpkg_triplet }}' `
-D FLB_WITHOUT_flb-rt-out_elasticsearch=On `
-D FLB_WITHOUT_flb-rt-out_td=On `
-D FLB_WITHOUT_flb-rt-out_forward=On `
-D FLB_WITHOUT_flb-rt-filter_rewrite_tag=On `
-D FLB_WITHOUT_flb-rt-in_disk=On `
-D FLB_WITHOUT_flb-rt-in_proc=On `
-D FLB_WITHOUT_flb-it-unit_sizes=On `
Expand Down Expand Up @@ -247,6 +252,12 @@ jobs:

- name: Run unit tests for Fluent Bit packages (x86, x64, and ARM64)
run: |
ctest --build-run-dir "$PWD" --output-on-failure
$nparallel = 1
if ('${{ matrix.config.runtime_tests }}' -eq 'On') {
$nparallel = [Math]::Min([Environment]::ProcessorCount, 8)
}

Write-Host "Running CTest with parallel level $nparallel"
ctest --parallel $nparallel --build-run-dir "$PWD" --output-on-failure
shell: pwsh
working-directory: build
2 changes: 1 addition & 1 deletion .github/workflows/cron-scorecards-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
uses: github/codeql-action/upload-sarif@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1
with:
sarif_file: results.sarif
category: ossf-scorecard
2 changes: 1 addition & 1 deletion .github/workflows/cron-stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Mark stale
runs-on: ubuntu-latest
steps:
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
- uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the `exempt-stale` label.'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-fuzz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
path: ./out/artifacts
- name: Upload Sarif
if: always() && steps.build.outcome == 'success'
uses: github/codeql-action/upload-sarif@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
uses: github/codeql-action/upload-sarif@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1
with:
# Path to SARIF file relative to the root of the repository
sarif_file: cifuzz-sarif/results.sarif
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/staging-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Release 2.0 - not latest
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
if: startsWith(inputs.version, '2.0')
with:
body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
Expand All @@ -818,7 +818,7 @@ jobs:
make_latest: false

- name: Release 2.1 - not latest
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
if: startsWith(inputs.version, '2.1')
with:
body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
Expand All @@ -830,7 +830,7 @@ jobs:
make_latest: false

- name: Release 3.0 - not latest
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
if: startsWith(inputs.version, '3.0')
with:
body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
Expand All @@ -842,7 +842,7 @@ jobs:
make_latest: false

- name: Release 3.1 - not latest
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
if: startsWith(inputs.version, '3.1')
with:
body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
Expand All @@ -854,7 +854,7 @@ jobs:
make_latest: false

- name: Release 3.2 - not latest
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
if: startsWith(inputs.version, '3.2')
with:
body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
Expand All @@ -866,7 +866,7 @@ jobs:
make_latest: false

- name: Release 4.0 - not latest
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
if: startsWith(inputs.version, '4.0')
with:
body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
Expand All @@ -878,7 +878,7 @@ jobs:
make_latest: false

- name: Release 4.1 - not latest
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
if: startsWith(inputs.version, '4.1')
with:
body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
Expand All @@ -890,7 +890,7 @@ jobs:
make_latest: false

- name: Release 4.2 - not latest
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
if: startsWith(inputs.version, '4.2')
with:
body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
Expand All @@ -902,7 +902,7 @@ jobs:
make_latest: false

- name: Release 5.0 and latest
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
if: startsWith(inputs.version, '5.0')
with:
body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
- 'examples/**'
branches:
- master
- 5.0
- 4.2
- 4.1
- 4.0
Expand Down
39 changes: 36 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@

## Preferred Commands
- Configure: `cmake -S . -B build -DFLB_TESTS_RUNTIME=On -DFLB_TESTS_INTERNAL=On`
- Configure on Windows:
`cmake -S . -B build -DFLB_TESTS_RUNTIME=On -DFLB_TESTS_INTERNAL=On`
- Build: `cmake --build build -j8`
- Test: `ctest --test-dir build --output-on-failure`
- Prefer targeted tests with `ctest --test-dir build -R <name> --output-on-failure`
when the affected area is known, because the full enabled suite can be slow.
- Windows supports building and running runtime tests. Prefer focused
`flb-rt-*` targets or CTest matches because the full runtime suite can be
slow. The GitHub Actions unit-test workflow enables runtime execution only
for x64 to control CI running time. Do not apply that CI-only restriction to
local agents or AI cloud builds.
- Run a focused integration test with
`ctest --test-dir build -R flb-it-opentelemetry --output-on-failure`
- Run the in-tree Python integration suite with:
Expand All @@ -29,8 +36,22 @@ Fluent Bit is a C/C++ monorepo built with CMake.

Keep changes scoped: plugin logic in its plugin directory, shared behavior in `src/` or `lib/`.

## Bundled Library Changes
- Treat `lib/` as bundled third-party or separately maintained code unless the
specific path is clearly Fluent Bit-owned.
- Before editing bundled library code, ask for explicit user confirmation. If
the agent environment supports confirmation popups, use one; otherwise ask in
chat before writing files.
- Prefer changes that can be sent upstream as a focused patch. Keep bundled
library patches isolated from Fluent Bit glue code, and document the upstream
project/path in the close-out.
- Do not mix bundled library edits with unrelated Fluent Bit core, plugin,
documentation, or test changes in the same commit unless the user explicitly
asks for that structure.

## Build, Test, and Development Commands
- `cmake -S . -B build -DFLB_TESTS_RUNTIME=On -DFLB_TESTS_INTERNAL=On`: configure with runtime + internal tests.
- `cmake -S . -B build -DFLB_TESTS_RUNTIME=On -DFLB_TESTS_INTERNAL=On`:
configure runtime and internal tests, including on Windows.
- `cmake --build build -j8`: compile Fluent Bit and tests.
- `ctest --test-dir build --output-on-failure`: run enabled tests.
- `ctest --test-dir build -R flb-it-opentelemetry --output-on-failure`: run a focused integration test.
Expand Down Expand Up @@ -63,6 +84,12 @@ Keep changes scoped: plugin logic in its plugin directory, shared behavior in `s
- Add or update tests for behavior changes, especially protocol parsing and encoder/decoder paths.
- Prefer targeted tests close to the changed module (`tests/internal`, plugin runtime tests).
- Prefer focused `ctest -R ...` runs or specific test binaries when the touched area is known.
- Windows supports `tests/runtime`, `flb-rt-*` targets, and runtime CTest
matches. Configure with `-DFLB_TESTS_RUNTIME=On` and run applicable focused
runtime coverage. In `.github/workflows/call-windows-unit-tests.yaml`, keep
runtime execution disabled for x86 and ARM64 unless the workflow scope
explicitly changes; that exclusion controls GitHub Actions running time only.
It does not apply to local agents or AI cloud builds.
- Use `tests/integration` when validating end-to-end plugin behavior, network
protocols, downstream request generation, or local fake-server interactions
that are awkward to cover in `ctest` binaries alone.
Expand All @@ -81,6 +108,9 @@ Keep changes scoped: plugin logic in its plugin directory, shared behavior in `s
`cmake --build build -j8`
`tests/integration/.venv/bin/python -m pytest <focused-scenario> -q`
`VALGRIND=1 VALGRIND_STRICT=1 tests/integration/.venv/bin/python -m pytest <focused-scenario> -q`
- On Windows, use the same `-DFLB_TESTS_RUNTIME=On` configuration and run
relevant focused runtime cases. Valgrind is normally unavailable on Windows;
report that exact blocker instead of conflating it with runtime-test support.
- Run broader test coverage when changing shared lifecycle, routing, storage, or accounting code.
- Validate both success and failure paths (invalid payloads, boundary sizes, null/missing fields).
- You can also run specific binaries from `build/bin` (e.g., `./bin/flb-it-opentelemetry`).
Expand Down Expand Up @@ -167,7 +197,8 @@ Keep changes scoped: plugin logic in its plugin directory, shared behavior in `s
path inference before choosing a commit subject. For example, changes only to
`AGENTS.md` must use `agents:`, not `docs:`.
- For pull-request-style validation, use full history and fetch the base branch
first, matching CI behavior:
first, matching CI behavior. This is required because the checker can fall
back to validating only `HEAD` when the base ref is unavailable:
`git fetch --all --prune`
`git fetch origin <base-branch>:origin/<base-branch>`
- Before pushing a branch or opening/updating a PR, agents must lint the full
Expand All @@ -185,6 +216,7 @@ Keep changes scoped: plugin logic in its plugin directory, shared behavior in `s
- Do not open issues, pull requests, or remote branches unless the user explicitly asks.
- Do not rewrite git history, amend commits, or force-push unless the user explicitly asks.
- Do not revert user changes outside the requested scope.
- Do not edit bundled libraries under `lib/` without explicit confirmation.
- Prefer minimal patches that avoid unrelated formatting or refactoring churn.

## Agent Playbook (Pipeline Architecture Primer)
Expand Down Expand Up @@ -255,7 +287,8 @@ Keep changes scoped: plugin logic in its plugin directory, shared behavior in `s

### Testing strategy
- Use `tests/internal` for core lifecycle/accounting logic.
- Use `tests/runtime` for plugin-level behavior and end-to-end semantics.
- Use `tests/runtime` for plugin-level behavior and end-to-end semantics,
including Windows runtime targets supported by the active toolchain and host.
- Add regression tests for:
- mixed signals
- processor drop/modify paths
Expand Down
18 changes: 14 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ set(CMAKE_POLICY_DEFAULT_CMP0069 NEW)

# Fluent Bit Version
set(FLB_VERSION_MAJOR 5)
set(FLB_VERSION_MINOR 0)
set(FLB_VERSION_PATCH 9)
set(FLB_VERSION_MINOR 1)
set(FLB_VERSION_PATCH 0)
set(FLB_VERSION_STR "${FLB_VERSION_MAJOR}.${FLB_VERSION_MINOR}.${FLB_VERSION_PATCH}")

set(CMAKE_POSITION_INDEPENDENT_CODE ON)
Expand Down Expand Up @@ -374,6 +374,7 @@ if(FLB_ALL)
# Output plugins
set(FLB_OUT_ES 1)
set(FLB_OUT_FORWARD 1)
set(FLB_OUT_GCS 1)
set(FLB_OUT_GELF 1)
set(FLB_OUT_HTTP 1)
set(FLB_OUT_NATS 1)
Expand Down Expand Up @@ -816,6 +817,7 @@ add_subdirectory(${FLB_PATH_LIB_JSMN})
# Runtime Tests (filter_kubernetes) requires HTTP Server
if(FLB_TESTS_RUNTIME)
FLB_OPTION(FLB_HTTP_SERVER ON)
FLB_OPTION(FLB_IN_EVENT_TEST ON)
endif()

# Monkey Core Library
Expand Down Expand Up @@ -1453,8 +1455,8 @@ if(NOT FLB_POSIX_TLS)
check_c_source_compiles("
__thread int a;
int main() {
__tls_get_addr(0);
return 0;
a = 1;
return a - 1;
}" FLB_HAVE_C_TLS)
if(FLB_HAVE_C_TLS)
FLB_DEFINITION(FLB_HAVE_C_TLS)
Expand Down Expand Up @@ -1530,6 +1532,14 @@ else()
endif()

# Instruct CMake to build the Fluent Bit Core
if(MSVC OR FLB_JEMALLOC)
# MSVC tests need plugin-private symbols that are not exported from fluent-bit.dll.
# Jemalloc must not be embedded in both the test executable and shared library.
set(FLB_TEST_LINK_LIBRARY fluent-bit-static)
else()
set(FLB_TEST_LINK_LIBRARY fluent-bit-shared)
endif()

add_subdirectory(include)
add_subdirectory(plugins)
add_subdirectory(src)
Expand Down
20 changes: 13 additions & 7 deletions MAINTENANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ This document outlines the maintenance strategy and version support for Fluent B

| Branch | Version | Status | Maintainer | Notes |
|------------|--------------------|---------------------|-------------------------------------------------------------|--------------------------------------------------------------------|
| `master` | v5.0 (development) | Active development | [Eduardo Silva](https://github.com/edsiper) | All new features and bug fixes land here first |
| `4.2` | v4.2.x | Stable | [Eduardo Silva](https://github.com/edsiper) [Hiroshi Hatake (@cosmo0920)](https://github.com/cosmo0920) | Current stable release series. Active development and updates. May receive minor enhancements in addition to fixes. |
| `master` | v5.1 (development) | Active development | [Eduardo Silva](https://github.com/edsiper) | Next minor development line. All new features and bug fixes land here first |
| `5.0` | v5.0.x | Stable | [Eduardo Silva](https://github.com/edsiper) [Hiroshi Hatake (@cosmo0920)](https://github.com/cosmo0920) | Current stable release series. Receives bug fixes, security fixes, and selected low-risk backports. |
| `4.2` | v4.2.x | Maintenance only | [Eduardo Silva](https://github.com/edsiper) [Hiroshi Hatake (@cosmo0920)](https://github.com/cosmo0920) | Critical fixes and safe backports only. Maintained until **July 30, 2026** |
| `4.1` | v4.1.x | Maintenance only | [Hiroshi Hatake (@cosmo0920)](https://github.com/cosmo0920) | Critical fixes and safe backports only. Maintained until **February 28, 2026** |

---

## Maintenance Policy

Active development is currently on Fluent Bit **v5.0** (tracked in the `master` branch). The **v4.2** branch is the current stable release series and receives active updates. Previous release lines enter **maintenance mode** after the next major/minor release.
Active development is currently on the next Fluent Bit **v5.1** line (tracked in the `master` branch). The **v5.0** branch is the current stable release series and receives stable branch updates. Previous release lines enter **maintenance mode** after the next major/minor release.

### Accepted Changes for Maintenance Branches

Expand All @@ -26,9 +27,13 @@ Active development is currently on Fluent Bit **v5.0** (tracked in the `master`

Maintenance releases continue on an as-needed basis depending on urgency and impact.

### v4.2 Stable Series
### v5.0 Stable Series

**v4.2** is the current stable release series and receives active development, bug fixes, and security updates. This is the recommended version for production use.
**v5.0** is the current stable release series and receives bug fixes, security updates, and selected low-risk backports. This is the recommended version for production use.

### v4.2 Maintenance

**v4.2** has entered **maintenance mode** and receives critical fixes and safe backports until **July 30, 2026** (as specified in [SECURITY.md](SECURITY.md)).

### v4.1 Maintenance

Expand All @@ -44,11 +49,12 @@ Maintenance releases continue on an as-needed basis depending on urgency and imp

## How to Contribute to Maintained Versions

If you're submitting a fix or feature relevant to a stable or maintenance branch (v4.2 or v4.1):
If you're submitting a fix or feature relevant to a stable or maintenance branch (v5.0, v4.2, or v4.1):

- Open your PR against the `master` branch
- Add a note in the PR or issue: `Target: v4.2` or `Target: v4.1`
- Add a note in the PR or issue: `Target: v5.0`, `Target: v4.2`, or `Target: v4.1`
- Tag the branch maintainer to request backport consideration:
- For v5.0: [@edsiper](https://github.com/edsiper) [@cosmo0920](https://github.com/cosmo0920)
- For v4.2: [@edsiper](https://github.com/edsiper) [@cosmo0920](https://github.com/cosmo0920)
- For v4.1: [@cosmo0920](https://github.com/cosmo0920)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Fluent Bit supports a wide array of platforms, including Linux, Windows, MacOS,
## 📌 Roadmap & Maintenance

We follow a fast-paced development cycle, with major releases every 3–4 months.
The active development branch (`master`) is currently focused on **v5.0** (development).
The active development branch (`master`) is currently focused on **v5.1** (development).

For version-specific maintenance timelines and policies, see our [MAINTENANCE.md](https://github.com/fluent/fluent-bit/blob/master/MAINTENANCE.md).

Expand Down
1 change: 1 addition & 0 deletions cmake/headers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if(NOT DEFINED FLB_PATH_ROOT_BINARY_DIR)
endif()

include_directories(
${FLB_PATH_ROOT_BINARY_DIR}/generated/include
${FLB_PATH_ROOT_SOURCE}/include/
${FLB_PATH_ROOT_SOURCE}/lib/

Expand Down
Loading
Loading