Skip to content

ci: align validation with Fluent Bit consumers#83

Merged
edsiper merged 3 commits into
masterfrom
agent/align-ci-with-fluent-bit
Jul 11, 2026
Merged

ci: align validation with Fluent Bit consumers#83
edsiper merged 3 commits into
masterfrom
agent/align-ci-with-fluent-bit

Conversation

@edsiper

@edsiper edsiper commented Jul 11, 2026

Copy link
Copy Markdown
Member

Summary

Align CFL's CI with the environments and downstream libraries used by Fluent
Bit.

  • select and verify Clang correctly in the ARM64 matrix
  • build cmetrics, ctraces, and Fluent Bit against the CFL commit under test
  • enable Fluent Bit's content modifier, metrics selector, SQL, and sampling
    processors
  • report the CFL version bundled by each downstream consumer
  • declare GNU C99 as the default minimum and test GNU99 and GNU17
  • pin actions and the analysis container to immutable revisions
  • restrict default workflow permissions to read-only

Background

The ARM64 Clang job previously expanded CC to an empty value and therefore
ran GCC. CFL also had no downstream validation, so standalone tests could pass
even when a change could not be vendored into cmetrics, ctraces, or Fluent Bit.

Declaring the C standard before feature checks also prevents C11 APIs such as
timespec_get() from being detected under the compiler default and then
compiled into a GNU99 target.

Validation

  • Actionlint passed for all workflows
  • GNU99 CFL tests: 34/34 passed
  • GNU17 CFL tests: 34/34 passed
  • cmetrics with CFL HEAD: 20/20 tests passed
  • ctraces with CFL HEAD: 4/4 tests passed
  • Fluent Bit compiled with content modifier, metrics selector, SQL, and
    sampling processors
  • git diff --check

edsiper added 2 commits July 11, 2026 11:58
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
@edsiper edsiper marked this pull request as ready for review July 11, 2026 18:03
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
@edsiper edsiper merged commit 73e6866 into master Jul 11, 2026
26 checks passed
@edsiper edsiper deleted the agent/align-ci-with-fluent-bit branch July 11, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant