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

[v10.0.x] Alerting: Fix stale query preview error #68836

Merged
merged 1 commit into from
May 22, 2023

Conversation

grafanabot
Copy link
Contributor

Backport b37a6e9 from #68619

* Use mutable ref to keep queries to be previewed to prevent stale state

* Extract code related to AlertQueryRunner to a separate hook

* Use hooks form state to keep fresh queries, fix recording rules preview

* Remove unused import

* Update query update explanation

(cherry picked from commit b37a6e9)
@grafanabot grafanabot requested review from a team and konrad147 May 22, 2023 14:25
@grafanabot grafanabot added backport A backport PR no-changelog Skip including change in changelog/release notes type/bug labels May 22, 2023
@konrad147 konrad147 self-assigned this May 22, 2023
@konrad147 konrad147 modified the milestones: 10.0.0, 10.0.x May 22, 2023
@konrad147 konrad147 merged commit 8ff5718 into v10.0.x May 22, 2023
9 checks passed
@konrad147 konrad147 deleted the backport-68619-to-v10.0.x branch May 22, 2023 14:41
@zerok zerok modified the milestones: 10.0.x, 10.0.0-preview May 31, 2023
@torkelo torkelo added add to changelog and removed no-changelog Skip including change in changelog/release notes labels Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants