Repository navigation
Description
Problem
devops grafana dashboards lint applies the design rules to each dashboard, also to a copy of an upstream dashboard. docs/DESIGN.md (row "Grafana") says: "The linter checks the colors and the units of the own dashboards. The dashboards copied from upstream stay as they are published." Owner decision 7 of #4735 says the same.
At dan-petty/homelab commit 5ccbd2e with v0.263.1, make k8s-dashboards gives 489 color, fill and unit errors in 7 dashboards that are upstream copies (k8s-views-*, cloudnative-pg, seaweedfs, argo-workflows-controller). The required check K8s of that repository thus fails.
_check_design in src/devops_cli/grafana/linter.py has no exemption.
Proposed change
A dashboard is an upstream copy when it states gnetId (the id of a grafana.com dashboard) or has the tag upstream (a copy from another source). The lint does not apply the color, fill-opacity and unit rules to an upstream copy. Each other rule still applies to it.
Owner decision (2026-11-30): correct the lint, not the upstream copies.
Acceptance criteria
- A dashboard with
gnetId, or with the tagupstream, gets no color, fill-opacity or unit finding. - The same dashboard still gets each query, layout, identity and datasource finding.
- A dashboard with neither mark gets the same findings as before.
- Each dashboard under
k8s/devops/dashboards/still passes the lint.
Existing tool considered
The existing dashboard linter takes the rule. gnetId and tags are fields of the Grafana dashboard model. No new dependency.
Related
#4762, #4735, dan-petty/homelab#713.
Activity
dan-petty commentedon Nov 30, 2026
The required K8s check in dan-petty/homelab fails with 489 errors, which is a CI failure.devops-cli-service commentedon Nov 30, 2026
Released in v0.265.2: https://github.com/dan-petty/devops-cli/releases/tag/v0.265.2
devops-cli-service commentedon Nov 30, 2026
Live since 2026-11-30 22:54 UTC