grafana / scenes

Build Grafana dashboards directly in your Grafana app plugins.
https://grafana.com/developers/scenes
Apache License 2.0
133 stars 20 forks source link

Add backwards compatibility for query variables referencing themselves #861

Closed oscarkilhed closed 1 month ago

oscarkilhed commented 1 month ago

There are some old dashboards that have query variables that reference themself in the query, this is preventing the query runner from executing the variable query as it is waiting for the variable to load.

I'm not confident this is the best solution to this issue. A different approach would be to remove the reference to itself when we build the scene, however this could potentially be quite messy. We should probably also look into if this is an issue with other variable types.

https://github.com/grafana/support-escalations/issues/11766

ivanortegaalba commented 1 month ago

Tests are breaking too

ivanortegaalba commented 1 month ago

Tests fixed!

grafanabot commented 1 month ago

:rocket: PR was released in v5.7.4 :rocket: