Skip to content

chore(config): Enable pedantic lints for validation and watchers - #26595

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

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

Conversation

@pront

@pront pront commented Oct 8, 2026

Copy link
Copy Markdown
Member

Summary

Motivation

Continue the pedantic Clippy rollout through configuration validation, unit-test support, and file watching in a small, independently mergeable PR.

Changes

Enable pedantic checks in the unit-test, Unix configuration, validation, and watcher modules. Apply mechanical iterator, assertion, and control-flow fixes while retaining existing error contracts, ownership, and numeric conversions through narrow allowances linked to #23659.

References

Related: #23659. Split from #26574.

How did you test this PR?

All 184 selected configuration tests passed on macOS, including configuration unit tests, graph validation, schema handling, and Unix helpers. Workspace/all-target Clippy passed with the normal platform gates. Watcher test code also compiled and passed Clippy with its macOS exclusion temporarily lifted, then restored; watcher runtime validation remains for Linux CI.

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:55
@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:11:13.722534Z 7e1f4b2 New commits
🔒 Security Review ✅ Completed 2026-10-08T17:11:15.238356Z 7e1f4b2 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

The completed static review found that the iterator rewrites and watcher branch reordering preserve existing condition checks and reload routing.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 3296bc6 · @DataDog review to ask questions

@pront
pront enabled auto-merge October 8, 2026 17:06
@pront
pront added this pull request to the merge queue Oct 8, 2026
Merged via the queue into master with commit 1c05ce3 Oct 8, 2026
85 checks passed
@pront
pront deleted the pront-pedantic-config-validation branch October 8, 2026 18:16
@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