Skip to content

chore(api): remove validator globals#1458

Merged
akijakya merged 1 commit into
mainfrom
fix/replace-validator-globals
May 6, 2026
Merged

chore(api): remove validator globals#1458
akijakya merged 1 commit into
mainfrom
fix/replace-validator-globals

Conversation

@akijakya
Copy link
Copy Markdown
Member

@akijakya akijakya commented May 5, 2026

Closes #1420

@akijakya akijakya self-assigned this May 5, 2026
@akijakya akijakya requested a review from a team as a code owner May 5, 2026 14:49
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped⏩ skipped✅ passedMay 6, 2026, 8:18 AM

@github-actions github-actions Bot added the size/S Denotes a PR that changes 50-199 lines label May 5, 2026
dir-mcp v1.3.0 no longer calls InitializeValidator or
(*Record).Validate(ctx), so the backward-compat surface is no longer
needed. Remove the global state, the deprecated method, the test helper
(record_testing.go), and the backward-compat test

Signed-off-by: András Jáky <ajaky@cisco.com>
@akijakya akijakya force-pushed the fix/replace-validator-globals branch from a4e6bfc to d76b0bf Compare May 6, 2026 08:17
@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@akijakya akijakya merged commit a5c76f3 into main May 6, 2026
33 checks passed
@akijakya akijakya deleted the fix/replace-validator-globals branch May 6, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 50-199 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump dir-mcp and silence deprecated validator wrappers in dir/cli

3 participants