Uh oh!
There was an error while loading. Please reload this page.
✨ Update Installed status condition handling - #1314
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
a7841e0 to
6dcc6f8CompareUh oh!
There was an error while loading. Please reload this page.
| installedBundle, _ := r.InstalledBundleGetter.GetInstalledBundle(ctx, ext) | ||
| if installedBundle == nil { | ||
| setInstallStatus(ext, nil) | ||
| setInstalledStatusConditionFailed(ext, err.Error()) |
There was a problem hiding this comment.
I know we talked about this about during our sync yesterday, but wanted to pose the question here as well in case other maintainers have opinions on it:
Do we need to set the Installed condition to False here and overwrite any errors that may exist in it with the finalizer error?
My feeling is that we do not need to do this as a user may want to still be able to see the original failed installation message. We already set the Progressing condition with the finalizer error so I think that should be sufficient here.
Additionally, if the Installed condition did not previously exist, I don't think there is any reason to set it here. Non-existent Installed condition should be interpreted as "Unknown".
Maybe a more fundamental question (that popped into my head as I was typing ^) - if there is no reason for us to change any of the status related to installation of the extension can we just remove any logic to do with the installed status from the finalizer error handling?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
6dcc6f8 to
f6c0f36CompareUh oh!
There was an error while loading. Please reload this page.
7500b15 to
a752bfaCompareCodecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #1314 +/- ##
==========================================
+ Coverage 75.76% 75.95% +0.19%
==========================================
Files 40 41 +1 Lines 2430 2429 -1 ==========================================
+ Hits 1841 1845 +4 + Misses 415 411 -4 + Partials 174 173 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
4a49a29 to
ba2d504CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ba2d504 to
faaa36cCompareUh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Tayler Geiger <tayler@redhat.com>
faaa36c to
7783af5CompareUh oh!
There was an error while loading. Please reload this page.
Description
Updates Installed status condition per status condition RFC. Closes#1291.
Reviewer Checklist