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

Add dashboard UI check to all dashboards using uid based on filename hash #7446

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

pstibrany
Copy link
Member

What this PR does

This PR adds checks to make sure that dashboard UID hasn't changed accidentally. These UIDs are often referred to from runbooks or other internal links, and changing them accidentally can break the links. (Mimir CHANGELOG also refers to some of them).

Checklist

  • [na] Tests updated.
  • [na] Documentation added.
  • [na] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • [na] about-versioning.md updated with experimental features.

@pstibrany pstibrany requested a review from a team as a code owner February 23, 2024 09:50
Copy link
Contributor

@dimitarvdimitrov dimitarvdimitrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🪄 jsonnet keeps surprising me with how much it can do. LGTM

@pstibrany pstibrany enabled auto-merge (squash) February 23, 2024 11:44
@pstibrany pstibrany force-pushed the add-dashboard-uid-checks branch from 825c8f8 to f70c8cd Compare February 23, 2024 15:58
@pstibrany pstibrany merged commit 7c948e5 into main Feb 23, 2024
28 checks passed
@pstibrany pstibrany deleted the add-dashboard-uid-checks branch February 23, 2024 16:18
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