Skip to content

chore(lua transform)!: use internally-tagged version enum for config rendering - #26097

Draft
thomasqueirozb wants to merge 1 commit into
masterfrom
fix/lua-config-rendering
Draft

chore(lua transform)!: use internally-tagged version enum for config rendering#26097
thomasqueirozb wants to merge 1 commit into
masterfrom
fix/lua-config-rendering

Conversation

@thomasqueirozb

Copy link
Copy Markdown
Member

Summary

Restructure the lua transform config into a proper internally-tagged version enum so the generated docs mark version 2-only options (hooks, timers, metric_tag_values) with relevant_when: version = "2". version is now required, and deny_unknown_fields is enforced (previously bypassed by the flattened versioned configs).

Vector configuration

NA

How did you test this PR?

Ran the lua unit tests (39), the lua behavior tests, clippy, and regenerated the component docs.

Is this a breaking change?

  • Yes
  • No

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the no-changelog label to this PR.

References

NA

@github-actions github-actions Bot added docs review on hold The documentation team reviews PRs only after a PR is approved by the COSE team. domain: transforms Anything related to Vector's transform components domain: external docs Anything related to Vector's external, public documentation labels Aug 12, 2026
@thomasqueirozb thomasqueirozb changed the title fix(lua transform): use internally-tagged version enum for config rendering chore(lua transform)!: use internally-tagged version enum for config rendering Aug 12, 2026
@thomasqueirozb thomasqueirozb added the meta: breaking change Anything that breaks backward compatibility. label Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs review on hold The documentation team reviews PRs only after a PR is approved by the COSE team. domain: external docs Anything related to Vector's external, public documentation domain: transforms Anything related to Vector's transform components meta: breaking change Anything that breaks backward compatibility.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant