grafana/.github
Haris Rozajac 37c1e3fb02
Dashboard Schema v1beta1 to v2alpha1: Preserve string template variable datasource references in query variables (#115516)
* Dashboard migration: preserve legacy string datasource references

Fix v1beta1 → v2alpha1 conversion to handle legacy string datasource
references in QueryVariable, AdhocVariable, and GroupByVariable.

Previously, string datasource references (both template variables like
"$datasource" and direct names/UIDs like "prometheus") were being
dropped during conversion, causing variable chaining to break.

The frontend's DatasourceSrv.getInstanceSettings() already handles
string references by trying uid → name → id lookup at runtime, so we
preserve the string in the uid field and let the frontend resolve it.

* trigger frontend ci tests when dashboard migration code changes

* v1: if string convert to DS ref

* Update migration testdata to fix template variable datasource references

* update
2025-12-18 15:11:09 -07:00
..
actions Dashboard Schema v1beta1 to v2alpha1: Preserve string template variable datasource references in query variables (#115516) 2025-12-18 15:11:09 -07:00
ISSUE_TEMPLATE Clarify that data source request reports are not for bugs or support requests (#90661) 2024-07-19 20:07:08 +02:00
workflows CI: enable branch cleanup workflow (#115470) 2025-12-17 10:44:06 +01:00
actionlint.yaml CI: Switch jest unit tests to self-hosted runners (#109304) 2025-08-08 14:31:14 +01:00
bot.md Docs: Add documentation for auto-triage github action (#97672) 2025-01-09 14:58:26 +02:00
CODEOWNERS docs: remove SECURITY.md (#115549) 2025-12-18 14:23:07 +01:00
commands.json Suggestions: Hook project up to auto-triaging (#114984) 2025-12-09 14:53:55 -05:00
dependabot.yml fix(dependabot): Add missing go module directories (#112469) 2025-10-15 14:25:59 -04:00
issue-opened.json Chore: auto label internal issues (#108013) 2025-07-22 10:01:18 +02:00
license_finder.yaml Secrets: Remove v0alpha1 spec, files and references (#108100) 2025-07-15 12:33:00 +02:00
pr-checks.json Chore: Lint json files in .github directory (#89861) 2024-06-27 23:43:10 +03:00
pr-commands.json Gauge: Update labelling to include new gauge (#115499) 2025-12-17 10:46:25 -05:00
PULL_REQUEST_TEMPLATE.md Fix links to the What's new page in the PR template (#91672) 2024-08-08 23:32:37 +02:00
renovate.json5 FS: Update devenv docker images with renovate (#112943) 2025-11-05 12:24:45 +00:00
zizmor.yml Actions: Add Swagger verification (#106873) 2025-06-18 16:00:34 +02:00