Skip to content
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

web: treat resources with a pending DisableStatus state as disabled #5499

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

lizzthabet
Copy link
Contributor

@lizzthabet lizzthabet commented Feb 15, 2022

This PR uses disableStatus.state to determine a resource's disable status, instead of the disableCount. It treats both a "disabled" and "pending" disable state as if the resource were disabled. More details are available in #5496, and this is part of the performance issue mitigation that's documented in #5495.

Note: I haven't been able to very consistently reproduce a tilt up experience where resources show up in the UI with a pending disable state, so I haven't been able to test this fix. If reviewers are able to test locally with the debug-many-resources repo, that'd be helpful.

@lizzthabet lizzthabet requested review from nicks and landism February 15, 2022 19:34
@lizzthabet lizzthabet self-assigned this Feb 15, 2022
@lizzthabet lizzthabet merged commit ecbf431 into master Feb 16, 2022
@lizzthabet lizzthabet deleted the lizz/fix/hide-pending-disable-resources branch February 16, 2022 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants