Ensure context is configured for ResourceReconciler#Validate#654
Merged
scothis merged 2 commits intoreconcilerio:mainfrom Sep 29, 2025
Merged
Ensure context is configured for ResourceReconciler#Validate#654scothis merged 2 commits intoreconcilerio:mainfrom
scothis merged 2 commits intoreconcilerio:mainfrom
Conversation
With nested validation, other reconcilers need access to the config within the Validate method at test time. At runtime this was managed by SetupWithManager. Now the context is configured within each public entry point for ResourceReconciler. Signed-off-by: Scott Andrews <scott@andrews.me>
Member
Author
|
@annismckenzie does this resolve your issue? |
Closed
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #654 +/- ##
==========================================
+ Coverage 57.28% 57.38% +0.09%
==========================================
Files 39 39
Lines 4507 4510 +3
==========================================
+ Hits 2582 2588 +6
+ Misses 1811 1808 -3
Partials 114 114 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mamachanko
approved these changes
Sep 28, 2025
Contributor
|
This does fix my integration test but the subreconciler tests are still failing: Does that help? I can also provide more code if needed. |
Signed-off-by: Scott Andrews <scott@andrews.me>
Member
Author
|
@annismckenzie updated. Please try again |
Contributor
|
That fixes it, thanks for the quick turnaround. 🚀 |
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.
With nested validation, other reconcilers need access to the config within the Validate method at test time. At runtime this was managed by SetupWithManager.
Now the context is configured within each public entry point for ResourceReconciler.
Follow up to #652