validate: Add checking the backend block to the validate command#38021
Merged
SarahFrench merged 6 commits intomainfrom Feb 13, 2026
Merged
validate: Add checking the backend block to the validate command#38021SarahFrench merged 6 commits intomainfrom
validate command#38021SarahFrench merged 6 commits intomainfrom
Conversation
…sn't match the schema. This needs more testing, but hopefully this validation still allows validation using ENVs ok.
…hen validating backend blocks
4438532 to
1292a4d
Compare
SarahFrench
commented
Dec 19, 2025
validate command
…missing from a backend's config
validate commandvalidate command
validate commandvalidate command
This comment was marked as resolved.
This comment was marked as resolved.
radeksimko
previously approved these changes
Feb 12, 2026
Member
radeksimko
left a comment
There was a problem hiding this comment.
Nice one! Just very minor suggestion for the changelog entry, feel free to ignore.
3 tasks
radeksimko
approved these changes
Feb 13, 2026
Member
radeksimko
left a comment
There was a problem hiding this comment.
Sorry about the quoting issue in my earlier suggestion!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the validate command to check the backend block.
Prior to these changes there was some checking of the backend block, achieved just by parsing the configuration. For example repeated attributes are detected before any backend-specific validation happens.
This PR introduces code that will identify:
This PR maintains the idea that validation is an offline process. Due to this we don't use the backend's Configure method at any point during validation; this would cause network traffic.
Target Release
1.15.x
Rollback Plan
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
CHANGELOG entry