Skip to content

tests: integration: cover processor worker isolation after FTS - #12511

Merged
edsiper merged 1 commit into
masterfrom
fix/processor-cfl-worker-state
Oct 26, 2026
Merged

edsiper merged 1 commit into
masterfrom
fix/processor-cfl-worker-state

Conversation

@edsiper

@edsiper edsiper commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

The worker-isolation fix is already in post-FTS master. This PR now adds regression tests only; it changes no production code.

f4789c59f gives each processor run its own decoder and encoder for both ordinary and windowed processing. The former shutdown prerequisites are also in master (543c66491, bbb69cb57), so the rebase drops all three superseded production/test-fix commits.

The remaining 12 integration cases check input/output processor placement, ordinary/threaded HTTP inputs, native and mixed chains, and filter boundaries. Four input workers, four workers on each of two output routes, eight clients, and 32 requests of 128 uniquely identified records exercise record isolation and per-stage counters.

Validation on master 05048e35d with these tests:

  • 12 cases pass normally and under strict Valgrind.
  • Every selected Memcheck process reports zero errors and zero definite/indirect/possible leaked bytes.
  • Full rebased PR commit range passes the repository prefix linter.
  • Stress tests and Memcheck do not constitute a race-detector proof.

From the repository root, with FLUENT_BIT_BINARY pointing at the branch build:

python -m pytest tests/integration/scenarios/processor_concurrency -q
VALGRIND=1 VALGRIND_STRICT=1 python -m pytest tests/integration/scenarios/processor_concurrency -q

No configuration or bundled-library changes. Target: master.

@coderabbitai

coderabbitai Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@edsiper edsiper added this to the Fluent Bit v5.2.0 milestone Oct 2, 2026
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
@edsiper
edsiper force-pushed the fix/processor-cfl-worker-state branch from fb984c2 to 162f199 Compare October 26, 2026 19:23
@edsiper edsiper changed the title processor: isolate CFL codec state across worker invocations tests: integration: cover processor worker isolation after FTS Oct 26, 2026
@edsiper
edsiper marked this pull request as ready for review October 26, 2026 21:36
@edsiper
edsiper requested a review from cosmo0920 as a code owner October 26, 2026 21:36
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T21:37:41.539132Z 162f199 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@edsiper
edsiper merged commit 33d7821 into master Oct 26, 2026
45 of 49 checks passed
@edsiper
edsiper deleted the fix/processor-cfl-worker-state branch October 26, 2026 21:36
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