-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate nested reconcilers at test-time #583
Comments
@scothis would you be so kind and assign this to me? I can't self-assign. |
mamachanko
added a commit
to mamachanko/reconcilerio-runtime
that referenced
this issue
Feb 7, 2025
* Nested validation is configured via the context with reconcilers#WithNestedValidation * (Sub)Reconciler tests always do nested validation * Moves the Validator interface from testing into reconcilers * Sequence now implements the Validator interface. Its Validate is not called from its SetupWithManager to avoid duplicate validations. fixes reconcilerio#583 Signed-off-by: Max Brauer <[email protected]>
mamachanko
added a commit
to mamachanko/reconcilerio-runtime
that referenced
this issue
Feb 7, 2025
* Nested validation is configured via the context with reconcilers#WithNestedValidation * (Sub)Reconciler tests always do nested validation * Moves the Validator interface from testing into reconcilers * Sequence now implements the Validator interface. Its Validate is not called from its SetupWithManager to avoid duplicate validations. fixes reconcilerio#583 Signed-off-by: Max Brauer <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a follow-up for #578.
Given I have a nested reconciler (say
Advice[Sequence[ChildReconciler, ChildReconciler]]
)When I run tests for the outer reconciler (say
Advice
)Then I would like my tests to error (not panic) and to see error messages for any of the reconcilers in the tree (say
ChildReconciler
)The text was updated successfully, but these errors were encountered: