Skip to content

feat(roadmap): Run review scanners in the runner pod - #6166

Merged
dan-petty merged 4 commits into
mainfrom
feat/3827-devops-review-runs-in-the-runner
Nov 21, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/3827-devops-review-runs-in-the-runner

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

A devops review in the pod of a runner Job fails closed when a review scanner that its files need is not on PATH. It lists the scanner as not installed, keeps the findings of the scanners that ran, and exits 1, so a review that skipped a scanner never reads as clean. Gitleaks, Pluto, golangci-lint and Semgrep join RUNNER_TOOLS as tools of the devtools image, which holds all five review scanners, so the Dockerfile gets no pin. ADR 0031 records the direct executor in the pod, and SECURITY.md states the exception.

Closes #3827

Change: openspec/changes/archive/2026-11-21-3827-devops-review-runs-in-the-runner/

@devops-cli-service devops-cli-service Bot 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 17, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Stopped at group 2.

Failed check: pytest on base: tests/ai/review/test_review_runner_executor.py.

Failure class: provider.
Action taken: repair, 1 fix round(s).
Action left: retry: run the item again.

Step Status Attempts Tokens in/out Last failing command
group 2 stopped 2 8859483/28056 pytest on base: tests/ai/review/test_review_runner_executor.py

Reason:

ModelRateLimitError: HTTP 429, model openrouter/deepseek/deepseek-v4.1-flash-1017, body: No deployments available for selected model, Try again in 120 seconds. Passed model
Refused commands: other:1ff85c86f9d4 1, uv 1, tail 1, other:c690a00a7ad3 1. Other retries: 0.

Last message of the agent (a claim that no check verified): Group 2 is complete and committed. What changed - tests/ai/review/test_review_runner_executor.py: added the gitleaks_absent fixture (PATH holds no Gitleaks) and test_a_review_in_the_runner_pod_that_lacks_a_scanner_lists_it_as_not_run_and_exits_nonzero. It fails first on the base with ImportError: cannot import name 'ReviewScannerMissingError', then asserts the printed report lists Not installed, so not run: Gitleaks, keeps the Bandit (B602) and Semgrep findings, and raises the error with REVIEW_SCANNER_MISSING and exit status 1. - src/devops_cli/exceptions/ai.py: added ReviewScannerMissingError (code REVIEW_SCANNER_MISSING, base exit status 1) beside the other review errors, and listed it in __all__. - src/devops_cli/ai/review/runner.py: added _raise_for_missing_scanners, which reads the review's own static_analyzers table after the report is printed and raises when any analyzer is ANALYZER_NOT_INSTALLED; threaded in_runner into _run_review_with_executor and applied it on both the routed-files-only and the normal path; corrected the docstring. - docs/ERRORS.md: regenerated with uv run devops docs generate; only the new row was added. - tasks.md: ticked 2.1, 2.2, 2.3 (text unchanged). Verification actually run - uv run devops ci test tests/ai/review/test_review_runner_executor.py → 3 passed (fails on the base as required). - uv run devops ci docs → "All documentation files are up to date." - Also green: `tests/docs/test_excep

The item is Blocked, and the job will not run it. Fix the cause. Then comment implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits of roadmap.implement.digest_clears_per_class and roadmap.implement.digest_clears_per_item allow it.

The job kept 1 work-in-progress commit on the branch feat/3827-devops-review-runs-in-the-runner on origin. The last is c00181cef4ecbdcc645dc70cb8aeb259076cc07f. The job discarded only the work after it. The next run continues from it and does the tasks that are not ticked.

Step Status Attempts Tokens in/out Last failing command
group 2 stopped 2 8859483/28056 pytest on base: tests/ai/review/test_review_runner_executor.py
  • fail-to-pass of group 2: stops with an error on the base commit. Tests that fail on the base commit: none.

@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Stopped at group 3.

Failure class: provider.
Action taken: none.
Action left: retry: run the item again.

Step Status Attempts Tokens in/out Last failing command
group 3 stopped 1 4173405/16614 -

Reason:

ModelRateLimitError: HTTP 429, model openrouter/deepseek/deepseek-v4.1-flash-1017, body: No deployments available for selected model, Try again in 120 seconds. Passed model
Refused commands: other:82de038d03b2 1, grep 1. Other retries: 1.

Last message of the agent (a claim that no check verified): Now run the test file.

The job discarded this work. The diff is cut to 20000 characters. Read it before you retry:

diff --git a/Dockerfile b/Dockerfile
index 621251614..594284a35 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -83,9 +83,10 @@ RUN DEVOPS_CLI_USER_DATA_ROOT=/opt/devops-tools /app/.venv/bin/devops install-to
       --tool openspec --target-dir /opt/devops-tools/bin && \
     chmod -R a+rX /opt/devops-tools
 
-# The pinned promtool and tofu go where OpenSpec went, from the same lock and with the same
-# checksum check. The Service image does not hold them, so they have their own stage, which
-# `runner-deps` copies.
+# The pinned promtool, tofu and the scanners of a review go where OpenSpec went, from the same lock
+# and with the same checksum check. The Service image does not hold them, so they have their own
+# stage, which `runner-deps` copies. The scanners are the ones that a review in the runner pod
+# starts (#3827): Gitleaks, Pluto, osv-scanner, golangci-lint and Semgrep.
 FROM builder AS runner-tools
 RUN DEVOPS_CLI_USER_DATA_ROOT=/opt/devops-tools /app/.venv/bin/devops install-tools \
       --tool promtool --target-dir /opt/devops-tools/bin && \
@@ -93,6 +94,16 @@ RUN DEVOPS_CLI_USER_DATA_ROOT=/opt/devops-tools /app/.venv/bin/devops install-to
       --tool trivy --target-dir /opt/devops-tools/bin && \
     DEVOPS_CLI_USER_DATA_ROOT=/opt/devops-tools /app/.venv/bin/devops install-tools \
       --tool tofu --target-dir /opt/devops-tools/bin && \
+    DEVOPS_CLI_USER_DATA_ROOT=/opt/devops-tools /app/.venv/bin/devops install-tools \
+      --tool gitleaks --target-dir /opt/devops-tools/bin && \
+    DEVOPS_CLI_USER_DATA_ROOT=/opt/devops-tools /app/.venv/bin/devops install-tools \
+      --tool pluto --target-dir /opt/devops-tools/bin && \
+    DEVOPS_CLI_USER_DATA_ROOT=/opt/devops-tools /app/.venv/bin/devops install-tools \
+      --tool osv-scanner --target-dir /opt/devops-tools/bin && \
+    DEVOPS_CLI_USER_DATA_ROOT=/opt/devops-tools /app/.venv/bin/devops install-tools \
+      --tool golangci-lint --target-dir /opt/devops-tools/bin && \
+    DEVOPS_CLI_USER_DATA_ROOT=/opt/devops-tools /app/.venv/bin/devops install-tools \
+      --tool semgrep --target-dir /opt/devops-tools/bin && \
     chmod -R a+rX /opt/devops-tools
 
 # The runner: the pod of a cluster Job in which `devops roadmap implement` runs its steps (#2667).
@@ -100,7 +111,8 @@ RUN DEVOPS_CLI_USER_DATA_ROOT=/opt/devops-tools /app/.venv/bin/devops install-to
 # run (pytest, ruff, mypy, pre-commit and the rest of the dev group), and git, which a step and
 # the job need. `deps` holds uv and gh. The stage adds the tools that the gate and the hooks need
 # (#3072): curl, jq and shellcheck from apt, the Node runtime, and actionlint, OpenSpec, promtool
-# and Trivy at their pins. The list of the tools is `RUNNER_TOOLS` in
+# and Trivy at their pins. It also adds the scanners of a review, so `devops review` runs in the pod
+# (#3827). The list of the tools is `RUNNER_TOOLS` in
 # `src/devops_cli/roadmap/runner_tools.py`, and the last step of the `runner` stage checks every
 # one of them. A Job installs no tool, so the image holds no npm, and pip goes (it vendors
 # `certifi`, `urllib3` and `msgpack`), as in the service stage: the scan of the image reports them.
diff --git a/docs/CLUSTER.md b/docs/CLUSTER.md
index 84b5f25ef..0b5498db7 100644
--- a/docs/CLUSTER.md
+++ b/docs/CLUSTER.md
@@ -65,7 +65,7 @@ This rollout is an exception to RL1 of the [service patterns](SERVICE_PATTERNS.m
 
 The implement job runs tests, `ruff`, `mypy` and OpenSpec, which the Service image does not hold. A step runs `ruff check` on every changed Python file. It runs `mypy` with the options of `devops ci typecheck` on the changed files under `src/`, and no type check on a test file, because the gate checks `src` only (`src/devops_cli/ci/typecheck.py` is the one definition). Its steps run in a runner Job (#2667). `devops roadmap implement --item <number> --confirm`, run on a workstation, makes one by hand for that item and follows its log (`--no-wait` prints the Job's name, `--dry-run` prints the Job). It refuses an item that an agent or a person claimed, an item that is neither Ready nor Planned, and a repository that has a runner Job that has not ended. It makes the Job with the code of `devops k8s run-job --template runner --repo <owner/name> -- roadmap implement --repo <owner/name> --item <number> --confirm`, which is the way to pass `--filter` or `--limit` to the job. Both commands label the Job and its pod `implement-repo=<digest of the repository>`, the label that the row `implement` lists its Jobs by, and make no Job while a Job with that label has not ended. The label is a digest of the lower-case repository name. The lock is best effort: each command lists the Jobs just before it creates one, so a Job that starts between the two calls is not seen. If the App is not installed on the repository, the Job fails in its pod, and the error in its log names the repository. `--repo` is required with the runner template: it sets `service.github_app.token_repository` on the Job, and the job runs no step unless that setting equals the repository it acts on. The Service makes one for each Staged or Planned item in the row `implement` (Roadmap service, step 16).
 
-- **Image.** Stage `runner` of the `Dockerfile` builds on stage `runner-deps`, which adds to the runtime venv of stage `deps` git, the dev dependencies of `uv.lock` (pytest, ruff, mypy, bandit, deptry, ast-grep, zizmor, pre-commit), the Node runtime, and the tools that the gate and the hooks need (#3072, #3108): `curl`, `jq` and `shellcheck` from apt, `actionlint` from the pinned image of the maintained fork, and promtool and Trivy at the pins of `tools.lock`, which stage `runner-tools` installs with `devops install-tools`. The dependencies lie in their own layers (#4550). `deps` and `runner-deps` install the requirements that stage `lock` exports from `uv.lock` with `--no-emit-project`, and a release changes only `src/` and the project version, so it keeps those layers. Stage `runner`, which no build caches (`no-cache-filters`), adds only the apt upgrade and the project: the `devops_cli` package, its dist-info and `bin/devops`. The Service image has the same split (`service-deps` and `service`). Measured with local builds: a change of `src/` changes 32 MB of layers in each image (1,747 MB in the runner image and 1,219 MB in the Service image before #4550), and a change of `src/` and of the version also changes 32 MB. The table `RUNNER_TOOLS` in `src/devops_cli/roadmap/runner_tools.py` lists every tool with the reason it is there and its version command, and `NOT_IN_RUNNER` lists each program that the image leaves out, with the reason (no cluster tool, no scanner that the gate does not install, no npm, no tool that fails the image scan). The image holds `actionlint` 1.17.1 and Trivy 0.76.2 since their releases passed the image scan (#3108), so a Job runs the `actionlint` row and the IaC scan. Without npm it cannot run the `audit` row, and the pull request runs it. The apt tools have no pin, because Debian gives the version and a pin would fail the build on each security update; the image holds `git` 2.47.3, `curl` 8.14.1 and `jq` 1.7. The last step of the stage runs `python -m devops_cli.roadmap.runner_tools`, so an image that lacks a tool or holds it at another version than its pin does not build. Tests fail when a `devops ci` row, a hook of `.pre-commit-config.yaml`, a required job of `ci.yml`, a live-marked test or an entry of `tools.lock` needs a program that is in neither table, and when a pin of the table differs from a Dockerfile. The Service image holds none of the added tools. `trivy image --scanners vuln --severity HIGH,CRITICAL --ignore-unfixed --exit-code 1 --ignorefile .trivyignore` on the built stage exits 0. The measured growth is 56 MB compressed (522 MB to 578 MB, as `docker save` output through `gzip -1`) and about 70 MB in the new layers, which adds the transfer of those layers to the first pull on a node (about 5 s on 100 Mbit/s). The promtool step of the build takes 19 s. The smoke test of `ci.yml` and `release.yml` runs the same check on the loaded image and fails when `docker image inspect` reports more than 3000000000 bytes (2.43 GB measured). The release publishes the image as `ghcr.io/dan-petty/devops-cli/runner`, next to the Service image, and Image Updater keeps it on the digest of `latest` (Service Image Updates). Each Job runs `uv run` in its own worktree, with the uv cache on the home volume.
+- **Image.** Stage `runner` of the `Dockerfile` builds on stage `runner-deps`, which adds to the runtime venv of stage `deps` git, the dev dependencies of `uv.lock` (pytest, ruff, mypy, bandit, deptry, ast-grep, zizmor, pre-commit), the Node runtime, and the tools that the gate and the hooks need (#3072, #3108): `curl`, `jq` and `shellcheck` from apt, `actionlint` from the pinned image of the maintained fork, and promtool and Trivy at the pins of `tools.lock`, which stage `runner-tools` installs with `devops install-tools`. Stage `runner-tools` also installs the scanners of a review at the pins of `tools.lock` (#3827): Gitleaks, Pluto, osv-scanner, golangci-lint and Semgrep. So `devops review` starts its scanners directly in the pod, which needs no user namespace. `kubectl` and `kube-linter` stay out: #3562 and its split #5394 own them. The dependencies lie in their own layers (#4550). `deps` and `runner-deps` install the requirements that stage `lock` exports from `uv.lock` with `--no-emit-project`, and a release changes only `src/` and the project version, so it keeps those layers. Stage `runner`, which no build caches (`no-cache-filters`), adds only the apt upgrade and the project: the `devops_cli` package, its dist-info and `bin/devops`. The Service image has the same split (`service-deps` and `service`). Measured with local builds: a change of `src/` changes 32 MB of layers in each image (1,747 MB in the runner image and 1,219 MB in the Service image before #4550), and a change of `src/` and of the version also changes 32 MB. The table `RUNNER_TOOLS` in `src/devops_cli/roadmap/runner_tools.py` lists every tool with the reason it is there and its version command, and `NOT_IN_RUNNER` lists each program that the image leaves out, with the reason (no cluster tool, no scanner that a review does not start, no npm, no tool that fails the image scan). The image holds `actionlint` 1.17.1 and Trivy 0.76.2 since their releases passed the image scan (#3108), so a Job runs the `actionlint` row and the IaC scan. Without npm it cannot run the `audit` row, and the pull request runs it. The apt tools have no pin, because Debian gives the version and a pin would fail the build on each security update; the image holds `git` 2.47.3, `curl` 8.14.1 and `jq` 1.7. The last step of the stage runs `python -m devops_cli.roadmap.runner_tools`, so an image that lacks a tool or holds it at another version than its pin does not build. Tests fail when a `devops ci` row, a hook of `.pre-commit-config.yaml`, a required job of `ci.yml`, a live-marked test or an entry of `tools.lock` needs a program that is in neither table, and when a pin of the table differs from a Dockerfile. The Service image holds none of the added tools. `trivy image --scanners vuln --severity HIGH,CRITICAL --ignore-unfixed --exit-code 1 --ignorefile .trivyignore` on the built stage exits 0. The five scanners of a review add their own layers, and the same scan is the check that none of them brings a fixed HIGH finding (#3827). The measured growth is 56 MB compressed (522 MB to 578 MB, as `docker save` output through `gzip -1`) and about 70 MB in the new layers, which adds the transfer of those layers to the first pull on a node (about 5 s on 100 Mbit/s). The promtool step of the build takes 19 s. The smoke test of `ci.yml` and `release.yml` runs the same check on the loaded image and fails when `docker image inspect` reports more than 3000000000 bytes (2.43 GB measured). The release publishes the image as `ghcr.io/dan-petty/devops-cli/runner`, next to the Service image, and Image Updater keeps it on the digest of `latest` (Service Image Updates). Each Job runs `uv run` in its own worktree, with the uv cache on the home volume.
 - **Template.** Suspended CronJob `devops-cli-runner` has 2 CPU, 4 Gi of memory requested and 8 Gi at most (the default of a manual run; the Service sets the size of its Jobs, see Size), an `emptyDir` home of 8 Gi, an `emptyDir` `/tmp` of 1 Gi, `ephemeral-storage` of 4 Gi requested and 10 Gi at most, `activeDeadlineSeconds: 7200` and `backoffLimit: 0`. It sets `DEVOPS_CLI_ROADMAP_IMPLEMENT_IN_RUNNER=true`, which no other pod sets, and `PYTEST_XDIST_AUTO_NUM_WORKERS=2`, the CPU limit, because `pytest-xdist` counts the CPUs of the node and not of the pod (about 280 MB for each worker). It uses ServiceAccount `devops-cli`, which mounts no token, and the Secret `devops-cli` through `envFrom`. A Job is made from the template and changes only the args, the name, the labels, the environment values `DEVOPS_CLI_SERVICE_GITHUB_APP_TOKEN_REPOSITORY` and `PYTEST_XDIST_AUTO_NUM_WORKERS`, the deadline and the CPU and memory values of `resources` (see Size and Deadline).
 - **Role.** ServiceAccount `roadmap-service` is the account of the Service pod. Role `roadmap-service-jobs` in namespace `devops` allows `create`, `delete`, `get`, `list` and `patch` on `jobs`, `get` on CronJobs `devops-cli-runner` and `roadmap-stage`, `get` on Deployment `roadmap-service` (#2917), `list` on `pods` and `get` on `pods/log`, and nothing else. Kubernetes limits `create`, `delete` and `list` to no name, and the name of each Job is new, so those three and `patch` cover the namespace. The `patch` moves the deadline of a Job (see Deadline); the admission policy checks a patch as it checks a create. The policy `roadmap-service-job-deletes` admits the `delete` of a stage Job ([Stage Jobs](#stage-jobs)) and of a fix-checks Job that waits suspended (#6018), and refuses the `delete` of any other Job. A holder of the Role can make any pod that Pod Security `restricted` admits in namespace `devops`, and such a pod can take Secret `devops-cli`. The Service pod holds that Secret already, so the Role gives no new secret. That holds only while namespace `devops` holds no Secret but `devops-cli`, so the admission policy below pins the Jobs of the Service. The Service pod mounts a projected token that expires after one hour; the client reads it again as the kubelet renews it. A Job pod mounts no token.
 - **Admission policy.** ValidatingAdmissionPolicy `roadmap-service-jobs` and its binding (`k8s/devops/roadmap-service/admissionpolicy.yaml`, #2696) refuse a `CREATE` or an `UPDATE` of a runner Job in namespace `devops` unless the Job has: one container and no init container, with no `command`; the image `ghcr.io/dan-petty/devops-cli/runner`, alone or followed by `:` or `@`; ServiceAccount `devops-cli` with `automountServiceAccountToken: false`; only Secret `devops-cli` in `envFrom` and no `valueFrom` in `env`; only the volumes `tmp`, `home` and `config` of the template; no `hostNetwork`, `hostPID` or `hostIPC`; no `priorityClassName`, `nodeName`, `imagePullSecrets` or `manualSelector`; the pod label `app.kubernetes.io/name: devops-cli-job`, because the NetworkPolicies select pods by that label and a Job pod with the label of the Service would take its egress to the API server, and no pod label `app.kubernetes.io/component: roadmap-stage`; `completions` and `parallelism` of 1 or not set; `backoffLimit: 0` and no `podFailurePolicy`; an `activeDeadlineSeconds` of 14400 at most (`CONST_ROADMAP_IMPLEMENT_DEADLINE_CAP_SECONDS`, the most that the setting `roadmap.implement.deadline_ceiling_seconds` may be; a test holds both); and a CPU request that equals the CPU limit and is 1 with a memory request of 2Gi, or 4 with 6Gi (the table of Size), a memory limit, and a `PYTEST_XDIST_AUTO_NUM_WORKERS` that equals the CPU limit. The policy applies only to the user `system:serviceaccount:devops:roadmap-service`. It never evaluates a Job of another identity, such as the CLI user (`devops k8s run-job`), Argo CD or the CronJob controller. It runs in the API server, so no webhook can be down. `failurePolicy` is `Fail`: if an expression errors, the Job of the Service is refused, the create raises an error, and the next round tries again. Argo CD syncs the policy with the other manifests of the stack, and AppProject `homelab` already admits the two cluster-scoped kinds. A Job whose name starts with `devops-cli-stage-` is a stage Job, which the policy checks with the rules of [Stage Jobs](#stage-jobs) (the variable `stage` of the policy). The gate check `tests/gate/k8s_checks/job_admission_policy.py` (row `k8s` of `devops ci`) runs the expressions against the Jobs that CronJobs `devops-cli-runner` and `roadmap-stage` make, so a change of a template that the policy refuses fails in CI. To check the live policy, make a Job as the Service with `kubectl --as=system:serviceaccount:devops:roadmap-service create --dry-run=server -f <job>`. These are not pinned: the tag or digest of the image, the `args`, the plain `env` values but the worker count, the memory limit, `nodeSelector`, `tolerations`, `hostUsers`, the security context (Pod Security `restricted` checks the pod) and the number of Jobs. A person with an admin role can delete the policy, and Argo CD restores it.
diff --git a/src/devops_cli/roadmap/runner_tools.py b/src/devops_cli/roadmap/runner_tools.py
index cf9a0eb6e..062876e74 100644
--- a/src/devops_cli/roadmap/runner_tools.py
+++ b/src/devops_cli/roadmap/runner_tools.py
@@ -79,8 +79,8 @@ def _dev(name: str, *needed_by: str, package: str = "") -> RunnerTool:
     )
 
 
-def _locked(name: str, *needed_by: str) -> RunnerTool:
-    return RunnerTool(name, ToolSource.TOOLS_LOCK, needed_by, (name, "--version"))
+def _locked(name: str, *needed_by: str, check: tuple[str, ...] = ()) -> RunnerTool:
+    return RunnerTool(name, ToolSource.TOOLS_LOCK, needed_by, check or (name, "--version"))
 
 
 def _apt(name: str, *needed_by: str, check: tuple[str, ...] = ()) -> RunnerTool:
@@ -152,6 +152,13 @@ RUNNER_TOOLS: tuple[RunnerTool, ...] = (
     ),
     _apt("shellcheck", "ci:actionlint"),
     _locked("trivy", "gate:static"),
+    # The scanners of a review in the pod of a runner Job (#3827). Each one prints its version from
+    # its own command, and `expected_text` compares that output with the pin of `tools.lock`.
+    _locked("gitleaks", "job", check=("gitleaks", "version")),
+    _locked("pluto", "job", check=("pluto", "version")),
+    _locked("osv-scanner", "job"),
+    _locked("golangci-lint", "job"),
+    _locked("semgrep", "job"),
     _base("nice", "ci:security"),
     _base(
         "timeout",
@@ -220,15 +227,8 @@ NOT_IN_RUNNER: dict[str, str] = {
         "request checks it."
     ),
     "popeye": _SCANNER,
-    "pluto": _SCANNER,
     "kubeconform": _SCANNER,
     "tflint": _SCANNER,
-    "gitleaks": _SCANNER,
-    "osv-scanner": _SCANNER,
-    "golangci-lint": _SCANNER,
-    "semgrep": (
-        "Only the workflow `rule-pack.yml` installs it, and only when a rule file changes."
-    ),
     "ansible-core": (
         "No gate row, hook or job starts Ansible. Only `devops infra` starts it, on a workstation."
     ),
diff --git a/tests/roadmap/test_roadmap_runner_tools.py b/tests/roadmap/test_roadmap_runner_tools.py
index 2b5adb9d5..edcad852a 100644
--- a/tests/roadmap/test_roadmap_runner_tools.py
+++ b/tests/roadmap/test_roadmap_runner_tools.py
@@ -19,6 +19,7 @@ from typing import Any
 import pytest
 import yaml
 
+from devops_cli.ai.review.pipeline import STATIC_ANALYZERS
 from devops_cli.commands.ci import get_check_specs
 from devops_cli.config.defaults import DEFAULT_PYTHON_VERSION
 from devops_cli.roadmap.runner_tools import (
@@ -277,6 +278,32 @@ def test_the_scanned_tools_are_in_the_runner_with_the_pins_of_their_images() ->
     ) == (True, True, True, True, True, True, True, True)
 
 
+def 

The item is Blocked, and the job will not run it. Fix the cause. Then comment implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits of roadmap.implement.digest_clears_per_class and roadmap.implement.digest_clears_per_item allow it.

The job kept 1 work-in-progress commit on the branch feat/3827-devops-review-runs-in-the-runner on origin. The last is 4c6a6726ca63bd07abfdb71843e388c3c72087ef. The job discarded only the work after it. The next run continues from it and does the tasks that are not ticked.

Step Status Attempts Tokens in/out Last failing command
group 3 stopped 1 4173405/16614 -

devops-cli-service Bot and others added 3 commits November 21, 2026 13:06
… the ADR (#3827)

The runner image builds FROM the devtools image since #6513, and that image holds Gitleaks,
Pluto, golangci-lint and Semgrep. So the scanners are RUNNER_TOOLS entries of the source
DEVTOOLS and the Dockerfile gets no pin. ADR 0030 is taken, so the record is 0031. SECURITY.md
states the runner exception.
@dan-petty
dan-petty force-pushed the feat/3827-devops-review-runs-in-the-runner branch from eeb7405 to 3dadca2 Compare November 21, 2026 13:07
@dan-petty
dan-petty marked this pull request as ready for review November 21, 2026 13:17
@dan-petty
dan-petty self-requested a review as a code owner November 21, 2026 13:17
@dan-petty
dan-petty merged commit 9f164f7 into main Nov 21, 2026
29 checks passed
@dan-petty
dan-petty deleted the feat/3827-devops-review-runs-in-the-runner branch November 21, 2026 13:18
dan-petty pushed a commit that referenced this pull request Nov 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.188.0](v0.187.2...v0.188.0)
(2026-11-21)


### Features

* **roadmap:** Run review scanners in the runner pod
([#6166](#6166))
([9f164f7](9f164f7))


### Bug Fixes

* **repos:** Give git children the session credential
([#6479](#6479))
([7f3886e](7f3886e))
* **roadmap:** an alternatives block names no blocker of an item
([#6624](#6624))
([5eac8e5](5eac8e5))
* **roadmap:** Refuse repair text in stage feasibility lines
([#6323](#6323))
([c105f59](c105f59))

---
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>
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): devops review runs in the runner shell

1 participant