Skip to content

chore(transforms): add validate_structure and rename validate_env - #25953

Merged
thomasqueirozb merged 2 commits into
masterfrom
chore/component-build-lifecycle-rfc-transforms-plumbing
Jul 27, 2026
Merged

chore(transforms): add validate_structure and rename validate_env#25953
thomasqueirozb merged 2 commits into
masterfrom
chore/component-build-lifecycle-rfc-transforms-plumbing

Conversation

@thomasqueirozb

Copy link
Copy Markdown
Member

Summary

Implements steps 1 and 2 of the transform migration from RFC 2026-07-15. Adds validate_structure() for context-free validation and renames validate_env() to validate_with_context() for context-dependent validation.

Vector configuration

NA

How did you test this PR?

  • make check-clippy passes
  • Unit tests for affected transforms pass

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

@github-actions github-actions Bot added the domain: transforms Anything related to Vector's transform components label Jul 27, 2026
@thomasqueirozb thomasqueirozb added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Jul 27, 2026
@thomasqueirozb
thomasqueirozb marked this pull request as ready for review July 27, 2026 21:12
@thomasqueirozb
thomasqueirozb requested a review from a team as a code owner July 27, 2026 21:12
@thomasqueirozb
thomasqueirozb enabled auto-merge July 27, 2026 21:14
@datadog-vectordotdev

datadog-vectordotdev Bot commented Jul 27, 2026

Copy link
Copy Markdown

Pipelines  Tests

⚠️ Warnings

🚦 1 Pipeline job failed

Changelog | validate-changelog   View in Datadog   GitHub Actions

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: a4d3594 | Docs | Datadog PR Page | Give us feedback!

@thomasqueirozb
thomasqueirozb added this pull request to the merge queue Jul 27, 2026
Merged via the queue into master with commit 5663476 Jul 27, 2026
84 of 85 checks passed
@thomasqueirozb
thomasqueirozb deleted the chore/component-build-lifecycle-rfc-transforms-plumbing branch July 27, 2026 21:55
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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.

2 participants