Skip to content

feat(roadmap): show parked and resumed jobs on the dashboard #6304

Not planned

Description

@devops-cli-service

Split from #5967.

Problem of this part of #5967, the Service writes one record for each park and each resume of a road map row. It also increments a counter. No dashboard panel shows these events. A person cannot see why a row waits. ## Why this part is deferred, the dashboard that reads the Service metrics is part of the environment tree of the infra repo that runs the Service (CONTEXT.md, Environment tree). This repository does not hold that tree. The proposal of #5967 ships the log record and the counter only. ## Acceptance criteria, the environment tree of the infra repo holds a dashboard panel that reads the park counter of #5967. The panel shows the active parks for each repository and model group. The panel shows each park and each resume of the last 24 hours. A person confirms the panel on the dashboard while one row is parked.

Proposed design

Problem statement

The Service writes one record for each park and each resume of a roadmap row, and it increments a counter (#5967). No panel of the Service dashboard shows these events, so a person cannot see why a row waits. The Service's dashboard is the product dashboard k8s/devops/dashboards/roadmap-service-telemetry.json, which this repository holds and the monitoring stack provisions, so this repository adds the panels; the data waits on #5967.

Acceptance criteria

Requirement: Park panel passes the dashboard lint

The product dashboard k8s/devops/dashboards/roadmap-service-telemetry.json SHALL hold a panel that reads the park counter of #5967 by repository and model group.

Scenario: The dashboard lint accepts the panel

  • WHEN a person runs uv run devops grafana dashboards lint k8s/devops/dashboards/roadmap-service-telemetry.json
  • THEN the command exits 0 and reports no error for the file

Requirement: Active parks by repository and model group

The dashboard SHALL show the active parks of each repository and model group.

Scenario: Two model groups hold one parked row each

  • WHEN a person opens the Roadmap Service Telemetry dashboard while two model groups hold one parked row each
  • THEN the panel shows one series for each repository and model group that holds a parked row, and no series for a group with no parked row

Requirement: Park and resume records of the last 24 hours

The dashboard SHALL list each park record and each resume record of the last 24 hours.

Scenario: One row parks and resumes

  • WHEN a person opens the records panel after one row parks and resumes
  • THEN the panel lists the park record and the resume record of that row, newest first, each with its repository and model group

Requirement: Person confirms the panel on a parked row

A person MUST confirm the panel on the live dashboard while one row is parked.

Scenario: Confirmation while a row is parked

  • WHEN a person opens the dashboard while one row is parked
  • THEN the panel names the repository and the model group of the parked row

Existing Tool Considered

No alternatives check has run on this issue. Grafana covers the need: the open, maintained dashboard server shows a timeseries panel over the Prometheus park counter and a logs panel over the Loki park and resume records, and the panel is JSON that devops grafana dashboards lint checks. Grafana, Prometheus and Loki lack the park counter and the park and resume records themselves, and #5967 adds them. The panel is a few panels of the product dashboard k8s/devops/dashboards/roadmap-service-telemetry.json, so this repository builds no code.

Key questions

  • Where does the dashboard panel that reads the Service metrics live?: In the product dashboard k8s/devops/dashboards/roadmap-service-telemetry.json, in this repository. The product dashboards read the devops_cli_* series and stay in devops-cli (refactor(k8s): split the product dashboards and rules in place #5292). The environment tree of the homelab is also in k8s/ until it moves to the infra repo (feat(infra): manage infra repos with devops infra #5120), but k8s/devops/dashboards/ is the product base, not the environment tree, so the move does not take it. A pull request in this repository adds the panel. [sources: k8s/README.md:12, k8s/README.md:333, k8s/devops/dashboards/kustomization.yaml, CONTEXT.md:296, .devops/project.toml]
  • Which open, maintained tool shows the panel?: Grafana shows the panel. The cluster runs Grafana, and its dashboard sidecar loads k8s/devops/dashboards/roadmap-service-telemetry.json from ConfigMap grafana-devops-cli-dashboards. Grafana reads the Prometheus park counter and the Loki park and resume records, and devops grafana dashboards lint checks the JSON with no new code. (best practice) [sources: k8s/README.md:331, k8s/devops/dashboards/kustomization.yaml, docs/commands/grafana.md:140, src/devops_cli/grafana/service_dashboard.py:72]
    • Chosen: Grafana panel over Prometheus and Loki. The cluster already runs Grafana, Prometheus and Loki, and the panel is JSON that the existing lint checks, with no code to keep.
    • Rejected: Own HTML page served by the Service. It builds and keeps code that Grafana provides, and it duplicates the dashboards that the monitoring stack provisions.
  • Which data does the panel use for each park and each resume of the last 24 hours?: A Grafana logs panel reads the park and resume records from Loki. A counter is cumulative, so it cannot list one event. A separate panel reads the park counter of feat(roadmap): park jobs while the gateway is offline #5967 for the active parks of each repository and model group, with the read of its kind: increase() for a counter, last_over_time() for a gauge. (best practice) [sources: src/devops_cli/grafana/service_dashboard.py:73, k8s/README.md:320, docs/CLUSTER.md:45, tests/telemetry/test_telemetry_instruments.py:191]
    • Chosen: Logs panel over the Loki records. Each park and each resume is one record, and Loki already holds the Service's records.
    • Rejected: Timeseries over increase() of the park counter. increase() gives a rate over the window and lists no single event.
    • Rejected: A new gauge metric for the parked rows. It duplicates the counter and the records that feat(roadmap): park jobs while the gateway is offline #5967 already writes.
  • Does the panel wait on feat(roadmap): park jobs while the gateway is offline #5967?: Yes. The park counter and the park and resume records do not exist in this commit: docs/CLUSTER.md:45 lists every Service series and names no park counter, and the group health that a park reads is the later step of feat(ai): Route around a stalled or offline model provider #5990 that its design names for feat(roadmap): park jobs while the gateway is offline #5967. The panel reads both, so it waits for feat(roadmap): park jobs while the gateway is offline #5967 to merge. [sources: docs/CLUSTER.md:45, openspec/changes/archive/2026-11-16-5990-route-around-a-stalled-or-offline/design.md:9]
  • Can one pull request in this repository deliver the panel?: Yes. The panel is a few panels of k8s/devops/dashboards/roadmap-service-telemetry.json, which this repository holds and the monitoring stack provisions, plus the promtool case of its queries. One pull request delivers it after feat(roadmap): park jobs while the gateway is offline #5967 merges. [sources: k8s/devops/dashboards/kustomization.yaml, k8s/README.md:333, tests/prometheus/test_dashboard_queries.py]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

#5967

Activity

  1. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    ContributorAuthor
  2. added
    type/feature
    source/agent
    scope/roadmap
    status/new
    value/medium
    priority/p2-medium
    effort/low
    on Nov 18, 2026
  3. devops-cli-service commented on Nov 19, 2026

    @devops-cli-service
    ContributorAuthor

    Refine cannot set this item to Ready at 3ecd647 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.

  4. dan-petty commented on Nov 26, 2026

    @dan-petty
    Owner

    This item closes as not planned (AGENTS.md Rule 2). It is the dashboard part of #5967, and #5967 closed as not planned on 2026-11-26, so the park and resume records that these panels read are not built.

    A suspended row is already visible: the Service sets devops_cli_service_job_suspended and devops_cli_service_job_retry_after_seconds with the labels repo, row and class, and the alerts RoadmapServiceRowSuspended and RoadmapProviderKeySpendLimit read them (docs/CLUSTER.md). A panel for those two gauges is a new, smaller item if a person needs it.

  5. removed
    status/new
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/roadmapsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions