Skip to content

fix(website): fix all generated config examples#25942

Merged
pront merged 6 commits into
masterfrom
pront-validate-examples-ci
Jul 24, 2026
Merged

fix(website): fix all generated config examples#25942
pront merged 6 commits into
masterfrom
pront-validate-examples-ci

Conversation

@pront

@pront pront commented Jul 24, 2026

Copy link
Copy Markdown
Member

Summary

`validate-config-examples` checks that auto-generated component config examples on the Vector website are valid according to `vector validate`. Ten components were failing. This PR fixes all ten and clears the known-failures list.

Vector configuration

N/A — website tooling and config schema changes only.

How did you test this PR?

cd website
VECTOR_BIN=../target/debug/vector make validate-config-examples

Output: `Validated 250 examples (4 skipped, 0 known failures). No new validation failures.`

Previously: `Validated 250 examples (4 skipped, 10 known failures).`

Change Type

  • Bug fix
  • New feature
  • Dependencies
  • Non-functional (chore, refactoring, docs)
  • Performance

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 domain: external docs Anything related to Vector's external, public documentation docs review on hold The documentation team reviews PRs only after a PR is approved by the COSE team. labels Jul 24, 2026
@pront pront added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Jul 24, 2026
@datadog-vectordotdev

datadog-vectordotdev Bot commented Jul 24, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 9b1beed | Docs | Give us feedback!

@github-actions github-actions Bot added domain: transforms Anything related to Vector's transform components domain: sinks Anything related to the Vector's sinks domain: vdev Anything related to the vdev tooling labels Jul 24, 2026
@pront
pront force-pushed the pront-validate-examples-ci branch from 9b0237b to 36e88fc Compare July 24, 2026 17:20
@pront pront changed the title fix(website): reduce example config validation failures from 10 to 6 fix(website): make all generated config examples pass vector validate Jul 24, 2026
@pront pront changed the title fix(website): make all generated config examples pass vector validate fix(website): fix all generated config examples Jul 24, 2026
@pront
pront force-pushed the pront-validate-examples-ci branch from 36e88fc to a546e77 Compare July 24, 2026 17:28
@pront
pront marked this pull request as ready for review July 24, 2026 17:29
@pront
pront requested review from a team as code owners July 24, 2026 17:29

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6e5902fd78

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/transforms/sample/config.rs Outdated
Comment thread src/transforms/remap.rs Outdated
Comment thread src/transforms/remap.rs Outdated
Comment thread src/transforms/sample/config.rs Outdated
Comment thread vdev/src/commands/build/component_docs/schema_utils.rs
@pront
pront force-pushed the pront-validate-examples-ci branch from 6e5902f to 5406b5f Compare July 24, 2026 18:13

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5406b5f9e4

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/transforms/remap.rs
Comment thread src/transforms/sample/config.rs
@pront
pront force-pushed the pront-validate-examples-ci branch 2 times, most recently from 5bf131d to 6e1eb91 Compare July 24, 2026 19:00
Comment thread website/scripts/validate-config-examples.js Outdated
Comment thread src/transforms/sample/config.rs
@github-actions github-actions Bot removed the docs review on hold The documentation team reviews PRs only after a PR is approved by the COSE team. label Jul 24, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6e1eb91740

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread website/cue/reference/components/transforms/generated/sample.cue Outdated
@pront
pront force-pushed the pront-validate-examples-ci branch from 6e1eb91 to 9751832 Compare July 24, 2026 19:13
@pront
pront enabled auto-merge July 24, 2026 19:18
@pront
pront added this pull request to the merge queue Jul 24, 2026
Merged via the queue into master with commit 7922410 Jul 24, 2026
106 checks passed
@pront
pront deleted the pront-validate-examples-ci branch July 24, 2026 20:04
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

domain: external docs Anything related to Vector's external, public documentation domain: sinks Anything related to the Vector's sinks domain: transforms Anything related to Vector's transform components domain: vdev Anything related to the vdev tooling 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.

3 participants