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

fix: Clearing a dashboard yaml stops updating errors #4923

Merged
merged 5 commits into from
May 20, 2024

Conversation

AdityaHegde
Copy link
Collaborator

Completely clearing a dashboard (cmd/ctrl + a and delete) and adding back something will stop showing any successive errors. This is reset after a refresh or opening some other file and coming back.

I think this is because we remove the resource query. Even resetting/refetching after that doesnt bring it back. A proper fix will follow but this is a hotfix for the release.

Might fix #4918

@AdityaHegde AdityaHegde added Type:Bug Something isn't working blocker A release blocker issue that should be resolved before a new release labels May 17, 2024
@AdityaHegde AdityaHegde self-assigned this May 17, 2024
@AdityaHegde AdityaHegde force-pushed the adityahegde/errored-recovery-issue branch from 75eeedb to 7679954 Compare May 20, 2024 05:04
@AdityaHegde
Copy link
Collaborator Author

Pull some temporary changes from #4883

@AdityaHegde AdityaHegde merged commit 94731fd into main May 20, 2024
4 checks passed
@AdityaHegde AdityaHegde deleted the adityahegde/errored-recovery-issue branch May 20, 2024 05:31
ericpgreen2 added a commit that referenced this pull request May 20, 2024
* Patch recovery after errored entity

* Use `setQueryData` rather than `refetchQueries` (which appears buggy)

* Pull changes from another PR

* Fix tsc

---------

Co-authored-by: Eric P Green <ericpgreen2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker A release blocker issue that should be resolved before a new release Type:Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQL Editor: latest reconcile error is sometimes not shown in editor
3 participants