You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Make ambiguous oneOf violations configurable - #410
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Risk Score: Normal - Addressing the comments needed
By default, ambiguous oneOf violations remain excluded. The new constructor option lets callers disable that exclusion so these violations are reported. Tests cover both settings. The change affects validation reporting; the supplied evidence does not indicate a production outage risk.
InternalViolationExclusions now accepts a flag that controls whether it excludes ambiguous oneOf violations. The existing one-argument constructor enables this behavior by default. Tests cover both enabled and disabled settings for the same response violation.
Suggested labels:coderabbit-risk:high
Change: Feature
Merge Risk: Minimal · up to b029b
The new setting is configurable without changing existing default behavior. No merge-blocking risk remains.
- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks @pboos for taking another look! Yes, keeping true as the default preserves the existing behavior, while allowing consumers to explicitly enable reporting of ambiguous oneOf violations.
Appreciate the review!
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
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.
functionality for #409