Skip to content

chore(config): remove configurable derived annotations - #26262

Draft
pront wants to merge 1 commit into
masterfrom
pront-remove-configurable-derived
Draft

chore(config): remove configurable derived annotations#26262
pront wants to merge 1 commit into
masterfrom
pront-remove-configurable-derived

Conversation

@pront

@pront pront commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

Motivation

#[configurable(derived)] only bypassed the macro-time field-description check. It was not emitted into metadata or consulted during schema generation, which already falls back to the field type's documentation.

Changes

  • remove the field-description compile-time requirement and the derived macro option
  • remove all derived annotations from configuration fields
  • simplify the now-unused virtual-newtype parsing plumbing

References

Closes #15271.

Vector configuration

Not applicable. The generated schema and component documentation remain unchanged.

How did you test this PR?

  • generated component documentation from clean master and this branch; tracked output is identical
  • normalized generated configuration schemas from clean master and this branch are identical
  • cargo test -p vector-config (56 passed)
  • cargo fmt --all

Is this a breaking change?

  • Yes
  • No

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment in the changelog.d directory.
  • No. A changelog fragment is not required.

@github-actions github-actions Bot added domain: sources Anything related to the Vector's sources domain: transforms Anything related to Vector's transform components domain: sinks Anything related to the Vector's sinks domain: core Anything related to core crates i.e. vector-core, core-common, etc labels Aug 29, 2026
@pront pront added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: core Anything related to core crates i.e. vector-core, core-common, etc domain: sinks Anything related to the Vector's sinks domain: sources Anything related to the Vector's sources domain: transforms Anything related to Vector's transform components no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(config): add proper integer validation support to configuration schema once schemars adds support

1 participant