Skip to content

feat(roadmap): label Service Jobs by repository and item - #5739

Merged
dan-petty merged 1 commit into
mainfrom
feat/4558-label-service-jobs-by-repository-and-item
Nov 14, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/4558-label-service-jobs-by-repository-and-item

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Set repository labels, stack labels, and repository annotations on runner and stage Jobs and on their pods. This lets administrators and telemetry filter jobs and pods by repository and item.

Closes #4558

Change: openspec/changes/archive/2026-11-14-4558-label-service-jobs-by-repository-and-item/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 14, 2026
Set repository labels, stack labels, and repository annotations on
runner and stage Jobs and on their pods.

- Set roadmap.devops-cli/owner, roadmap.devops-cli/repo, and
  roadmap.devops-cli/item on Job and pod template metadata.
- Set app.kubernetes.io/component, app.kubernetes.io/part-of, and
  app.kubernetes.io/managed-by standard stack labels.
- Set annotation roadmap.devops-cli/repository on Job and pod template.
- Use RepoRef.adhoc_name to name runner Jobs under 63 characters.
- Set OTEL_SERVICE_NAME to roadmap-implement in the runner CronJob
  and update dashboard descriptions.

Closes #4558.
@dan-petty
dan-petty force-pushed the feat/4558-label-service-jobs-by-repository-and-item branch from 1359d46 to cdd043a Compare November 14, 2026 21:13
@dan-petty
dan-petty marked this pull request as ready for review November 14, 2026 21:21
@dan-petty
dan-petty merged commit 19c8934 into main Nov 14, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/4558-label-service-jobs-by-repository-and-item branch November 14, 2026 21:22
dan-petty pushed a commit that referenced this pull request Nov 14, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.144.0](v0.143.0...v0.144.0)
(2026-11-14)


### Features

* **k8s:** add devops k8s bootstrap-roadmap-key
([#5744](#5744))
([0955f8e](0955f8e))
* **monitoring:** divide dashboard folders by repository
([#5747](#5747))
([b37b625](b37b625))
* **monitoring:** split devops-cli dashboard into linked dashboards
([#5740](#5740))
([4ce6a74](4ce6a74))
* **roadmap:** label Service Jobs by repository and item
([#5739](#5739))
([19c8934](19c8934))


### Bug Fixes

* **roadmap:** repair a job record mark that a parallel write lost
([#5749](#5749))
([16acde2](16acde2))
* **roadmap:** Write the delivery metadata before the archived push
([#5750](#5750))
([f02d853](f02d853))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
dan-petty added a commit that referenced this pull request Nov 21, 2026
A fact can give not_before. A window that starts before it skips the
fact and sends no read, so the pair runner_jobs is not compared across
the Job rename of #5739 (live at 2026-11-14T22:29:00Z). The dry run
shows the condition.
dan-petty added a commit that referenced this pull request Nov 21, 2026
A fact can give not_before. A window that starts before it skips the
fact and sends no read, so the pair runner_jobs is not compared across
the Job rename of #5739 (live at 2026-11-14T22:29:00Z). The dry run
shows the condition.
dan-petty added a commit that referenced this pull request Nov 21, 2026
The project review gave `ok` with 0 or no rows for values that it did
not measure, and false disagreements.

- The base metric of a fact is a metric of its query. The loader refuses
another metric unless `base_reason` says why. A fact with no `{range}`
probes its base at the window end.
- `not_before` skips `prometheus.runner_jobs_started` for a window
before the Job names of #5739. The fact counts only the Jobs that start
in the window, because a finished Job keeps its series for 24 h.
- A `path:` condition reads the base and head commits of the window.
- `no_series_reason` says that the gauge of
`prometheus.oldest_pending_update` comes with #4911.
- `prometheus.stage_sli` is the share of the stage items that end
`staged` or `needs_split` (owner decision on #4692).

Check after the release: the windows of points 1 and 2 of #6612 give
their facts `skipped`.

Closes #6612

Change:
`openspec/changes/archive/2026-11-21-6612-correct-the-facts-and-the-stage-sli-of-the-review/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): label Service Jobs by repository and item

1 participant