fix: check correct condition in package reconciler#7091
Conversation
Signed-off-by: Amund Tenstad <github@amund.io>
📝 WalkthroughWalkthroughThe reconciler's health status determination was updated to use the runtime-specific healthy condition type ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Quick clarification: Could you help us understand the reasoning behind switching to the runtime-specific condition type? This will help ensure the change aligns with the intended health evaluation semantics across the codebase. Thanks for the contribution! 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description of your changes
Simply changes the condition checked before issuing a
Successfully configured package revisionevent in the package reconciler.We are seeing a large amount of
Successfully configured package revisionevents:kubectl describe providerrevisions.pkg.crossplane.io provider-family-azure-90808de820d9I'm thinking it's due to the change in 8d44f18#r176263065.
and that the condition in the
if GetConditionshould match the one inMarkConditions.I have:
[ ] Run./nix.sh flake checkto ensure this PR is ready for review.[ ] Added or updated unit tests.[ ] Added or updated e2e tests.[ ] Linked a PR or a docs tracking issue to document this change.[ ] Addedbackport release-x.ylabels to auto-backport this PR.[ ] Followed the API promotion workflow if this PR introduces, removes, or promotes an API.Need help with this checklist? See the cheat sheet.