Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

errors - explictly check for AccessErrors for CRDs and Events #2587

Merged
merged 3 commits into from
Jul 12, 2021

Conversation

wwitzel3
Copy link
Contributor

@wwitzel3 wwitzel3 commented Jun 27, 2021

Signed-off-by: Wayne Witzel III [email protected]

What this PR does / why we need it:
Octant is currently broken with respect to partial resource loading on overview and summary pages.

Currently when attempting to load overview and summary pages if any single item in the listing fails, the entire content response is replaced with an error page. In the case of Overview pages, an emptyContentResponse is used and the page is stuck with the loading icon, even though some of the state was able to be fetched.

Special notes for your reviewer:
This fix is not ideal and a bit of shotgun anti-pattern, but it also unbreaks a lot of users in the short term and it important for restoring the functionality of Octant

@wwitzel3 wwitzel3 added api bug Something isn't working labels Jun 27, 2021
@wwitzel3 wwitzel3 marked this pull request as draft June 30, 2021 16:47
@wwitzel3
Copy link
Contributor Author

Tested it some more and it isn't quite ready yet.

@wwitzel3 wwitzel3 added this to In progress in 0.22 via automation Jul 1, 2021
@wwitzel3 wwitzel3 marked this pull request as ready for review July 8, 2021 18:55
@wwitzel3 wwitzel3 force-pushed the error-handling branch 2 times, most recently from 571d4e4 to 1106e15 Compare July 9, 2021 15:38
Copy link
Contributor

@lenriquez lenriquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

0.22 automation moved this from In progress to Reviewer approved Jul 9, 2021
@wwitzel3 wwitzel3 force-pushed the error-handling branch 3 times, most recently from bc8c2d2 to 3f71d07 Compare July 9, 2021 17:03
@wwitzel3 wwitzel3 force-pushed the error-handling branch 3 times, most recently from fa740d5 to 7ea9e61 Compare July 12, 2021 19:29
Signed-off-by: Wayne Witzel III <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api bug Something isn't working
Projects
No open projects
0.22
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants