Skip to content

docs(spec): plan #4621 Show Service jobs, branch and work log - #7285

Merged
dan-petty merged 2 commits into
mainfrom
feat/4621-show-service-jobs-branch-and-work
Nov 26, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/4621-show-service-jobs-branch-and-work

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

The Roadmap Service dashboard shows the Jobs of the Service: the row, repository, item, branch, lane clone, state and duration of each live Job, and the Loki lines of the selected Job. Each stage Job and implement Job of an item carries the annotations roadmap.devops-cli/branch and roadmap.devops-cli/worktree. The kube-state-metrics values keep the five kube_job families and allow the Job labels of ADR 0022 and the two annotations. The generated dashboard gains a Service jobs table, a Work log panel and the repo, item and job variables. The k8s row fails with the panel title and the key when a panel reads a Job family, label or annotation that the values do not export. The run history link waits for the run records and the read-only API.

Plans #4621

Change: openspec/changes/4621-show-service-jobs-branch-and-work/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/spec labels Nov 26, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 26, 2026 08:41
@dan-petty
dan-petty marked this pull request as draft November 26, 2026 13:18
devops-cli-service Bot and others added 2 commits November 26, 2026 14:08
An independent review found that the plan could not be built. It changed
three files of k8s/monitoring, and since the switch of 2026-11-23 the
check environment-freeze refuses each change there.

- The kube-state-metrics values, `jobs = true` of services.toml and the
  generated dashboard go to dan-petty/homelab#263. Three criteria are
  `Pending person:` lines that name it.
- The plan keeps the product part: the two annotations on the stage Job and
  the implement Job, and the Job panels of the SRE template with a test
  that fails first.
- The chart keeps the kube_job families by default, so the keep entries and
  their rule are gone. The annotation key of the chart is
  metricAnnotationsAllowList; the homelab item holds it.
- The panel titles follow the title rule, each table column has a source,
  and a link of the job column sets the variable job.
@dan-petty
dan-petty force-pushed the feat/4621-show-service-jobs-branch-and-work branch from 2e40b99 to 641e5a9 Compare November 26, 2026 14:09
@dan-petty

Copy link
Copy Markdown
Owner

Vetted and revised on 2026-11-26.

An independent review found that the first plan could not be built: it changed k8s/monitoring/k8s-monitoring-values.yaml, k8s/monitoring/dashboards/services.toml and the generated dashboard JSON, and the check environment-freeze refuses each change there since the switch of 2026-11-23. The revision (commit docs(spec): take the environment files out of plan #4621):

  • The cluster part is now dan-petty/homelab#263: the kube-state-metrics allowlists for Jobs, jobs = true for the Roadmap Service and the regenerated dashboard. Three acceptance criteria are Pending person: lines that name it.
  • The plan keeps the product part in five groups: the guard of the Service series, the branch and worktree annotations on the stage Job and the implement Job, the Job panels of the SRE template with a test that fails first, and the documents.
  • The chart keeps the kube_job families by default, so the keep entries and their rule are gone. The annotation key of the chart is metricAnnotationsAllowList; the first plan had metricAnnotationsAllowlist, which Helm ignores with no error.
  • Panel titles follow the title rule, each column has a source, and a link of the job column sets the variable job.

Known limits, not faults of the plan: worktree holds the clone path of the Service lane, not the working copy in the Job pod, and the 4 gate panels and 3 alerts of the comment of 2026-11-11 are out of scope (they need #4698).

One implement Job (devops-cli-implement-devops-cli-4621-2ca43a) built the first plan while I pushed this revision. Its push is refused because the branch history changed. That run could not pass the k8s row.

@dan-petty
dan-petty marked this pull request as ready for review November 26, 2026 14:17
@dan-petty
dan-petty merged commit 1acf833 into main Nov 26, 2026
26 checks passed
@dan-petty
dan-petty deleted the feat/4621-show-service-jobs-branch-and-work branch November 26, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/spec type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant