Repository navigation
Description
Update 2026-11-26 (infra move): The Renovate CronJob is in dan-petty/homelab now.
It does not run devops ci freshness. That wiring is dan-petty/homelab#380, which belongs to homelab. This check waits on it and on #4911.
Split from #4911.
devops ci freshness sends the four dependency gauges through OTLP, and the Grafana panel of k8s/devops/dashboards/devops-cli.json reads devops_cli_dependencies_outdated. Only a live cluster shows that the collector receives the series and that the panel shows them, and this part waits on the merge of #4911 and on a deploy of the Service image, so no offline test can check it. The offline tests of the command cover the gauge values, the series budget and the panel query. Dependencies: #4911. Acceptance criteria: after one run of the Renovate CronJob, the Prometheus query devops_cli_dependencies_outdated{repository=``dan-petty/devops-cli``} returns a value; the panel of k8s/devops/dashboards/devops-cli.json shows devops_cli_dependencies_outdated by repository and manager; and each repository that the report names holds a devops_cli_dependencies_tracked series with a value above zero.
Proposed design
Problem statement
Keep this item as a live-cluster verification after #4911 and a Service image deploy; do not add an offline test. The dependency freshness gauges from devops ci freshness are only proven when a live cluster receives them and the Grafana panel shows them. Offline tests cover the gauge values, the series budget and the panel query, but not the collector or the deployed panel.
Acceptance criteria
Requirement: Freshness series reaches Prometheus
After one run of the Renovate CronJob, the live cluster SHALL expose the devops_cli_dependencies_outdated series for dan-petty/devops-cli.
Scenario: Outdated gauge query returns a value
- WHEN An operator runs the Prometheus query devops_cli_dependencies_outdated{repository="dan-petty/devops-cli"} after the Renovate CronJob completes.
- THEN The query returns at least one sample with a numeric value.
Requirement: Panel shows freshness by repository and manager
The panel of k8s/devops/dashboards/devops-cli.json SHALL show devops_cli_dependencies_outdated grouped by repository and manager.
Scenario: Panel renders the freshness series
- WHEN A person opens the panel after the Renovate CronJob completes.
- THEN The panel shows one line for each repository and manager pair, including dan-petty/devops-cli.
Requirement: Tracked gauge is positive for each reported repository
Each repository that the freshness report names SHALL expose a devops_cli_dependencies_tracked series with a value above zero.
Scenario: Tracked gauge query returns positive values
- WHEN An operator runs the Prometheus query devops_cli_dependencies_tracked after the Renovate CronJob completes.
- THEN Each repository in the report has at least one sample with a value above zero.
Existing Tool Considered
No alternatives check has run. Prometheus and Grafana cover the need: Prometheus stores and queries the four dependency gauges, and Grafana shows the existing panel in k8s/devops/dashboards/devops-cli.json. They lack an offline proof of the live collector and the deployed panel; this item is that live check.
Key questions
- Which live checks prove that the collector receives the dependency freshness series and that the panel shows them?: Use the existing Prometheus queries from the issue and the existing Grafana panel in k8s/devops/dashboards/devops-cli.json. No new tool or code is needed. (best practice) [sources: k8s/devops/dashboards/devops-cli.json]
- Chosen: Prometheus query plus Grafana panel. This is the deployed path, and the panel already reads devops_cli_dependencies_outdated.
- Rejected: Add an offline test. An offline test cannot see the live collector or the deployed panel.
- Rejected: Add a new live-check command. The existing Prometheus and Grafana commands prove the live result with no new code.
- Which dashboard file holds the dependency freshness panel?: The panel is in k8s/devops/dashboards/devops-cli.json. [sources: k8s/devops/dashboards/devops-cli.json]
Fit
Fits in one pull request.
Suspected block
A deploy of the Service image that includes #4911 and the dependency freshness gauges, followed by one Renovate CronJob run.
Activity
devops-cli-service commentedon Nov 16, 2026
Both concern the dependency freshness gauges, but dan-petty/devops-cli#4911 delivers the OTLP export and the candidate verifies the series appear in the live Prometheus and Grafana panel.devops-cli-service commentedon Nov 18, 2026
Refine cannot set this item to Ready at 4ddf77e while the items below stay open. The next refine round looks at the item again when they close, or when a person replies in a comment or edits the body.