Skip to content

chore(config): Enable pedantic lints for loading and schemas - #26594

Merged
pront merged 2 commits into
masterfrom
pront-pedantic-config-loading
Oct 8, 2026
Merged

pront merged 2 commits into
masterfrom
pront-pedantic-config-loading

Conversation

@pront

@pront pront commented Oct 8, 2026

Copy link
Copy Markdown
Member

Summary

Motivation

Continue the pedantic Clippy rollout in configuration loading, schema handling, and component configuration wrappers while keeping the review below 500 changed lines.

Changes

Enable pedantic checks for the loading, schema, sink, validated-sink, source, and transform configuration modules and the separate secret-backend example. Apply mechanical iterator, default-value, and documentation fixes. Keep existing conversion bounds, error contracts, and ownership behavior behind narrow issue-linked allowances.

References

Related: #23659. Split from #26574.

How did you test this PR?

All 184 selected configuration tests passed, covering environment and secret interpolation, schema coercion, configuration loading, and configuration unit tests. Workspace/all-target Clippy passed with the secret-backend example included. One Nextest leak marker on glob_expansion did not recur in an isolated rerun.

Does this PR include user facing changes?

  • Yes.
  • No.

@pront
pront requested a review from a team as a code owner October 8, 2026 16:54
@pront pront added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Oct 8, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T17:15:58.082041Z 2af25b8 New commits
🔒 Security Review ✅ Completed 2026-10-08T17:16:37.409841Z 2af25b8 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@datadoghq-integration datadoghq-integration 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.

Bits Code Review: PASS

More details

Static review found no reportable regression in interpolation, schema coercion, or component defaults. Runtime behavior was not independently exercised.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 433acfc · @DataDog review to ask questions

@pront
pront enabled auto-merge October 8, 2026 17:07
@pront
pront added this pull request to the merge queue Oct 8, 2026
Merged via the queue into master with commit b854614 Oct 8, 2026
85 checks passed
@pront
pront deleted the pront-pedantic-config-loading branch October 8, 2026 18:24
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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