Skip to content

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

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

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

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Closes #3827

The job is not finished. It replaces this body when it finishes.

@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
devops-cli-service Bot force-pushed the feat/3827-devops-review-runs-in-the-runner branch from 3ac4098 to 30271ea Compare November 17, 2026 03:16
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Stopped at group 2.

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

Step Status Attempts Tokens in/out Last failing command
group 1 done 1 16719139/36877 pytest on base: tests/ai/review/test_review_runner_executor.py
group 2 stopped 1 1555354/7792 -

Reason:

ModelServerError: HTTP 500, model openrouter/deepseek/deepseek-v4.1-flash-1017, body: litellm.APIConnectionError: APIConnectionError: OpenrouterException - Connection closed.
Refused commands: other:ec55ce9c982c 1. Other retries: 0.

Last message of the agent (a claim that no check verified): none.

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.

Step Status Attempts Tokens in/out Last failing command
group 1 done 1 16719139/36877 pytest on base: tests/ai/review/test_review_runner_executor.py
group 2 stopped 1 1555354/7792 -
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.ai.review.test_review_runner_executor::test_a_review_in_the_runner_pod_starts_its_scanners_with_the_direct_executor, tests.ai.review.test_review_runner_executor::test_a_review_outside_the_runner_pod_keeps_the_sandbox.

…sion tests (#3827)

The plan of #3827 adds the keyword-only argument in_runner to
_run_pr_review_workflow. The two regression tests called it without the
argument and failed with a TypeError. They now pass in_runner=False, the
value outside the runner pod.
@dan-petty

Copy link
Copy Markdown
Owner

Fix of the failed Tests & Coverage shard (commit b09245e).

The plan adds the keyword-only argument in_runner to _run_pr_review_workflow. Two tests called the function without the argument and failed with TypeError: _run_pr_review_workflow() missing 1 required keyword-only argument: 'in_runner':

  • tests/git/test_review_worktree_regression.py::test_run_pr_review_workflow_partial_context
  • tests/git/test_review_worktree_regression.py::test_run_pr_review_workflow_with_worktree

The two calls now pass in_runner=False, the value outside the pod of a runner Job. The production call in pr() already passes settings.roadmap.implement.in_runner, as task 1.2 of the plan says. No other file changed.

Commands:

  • git rebase origin/main (the branch was already current)
  • uv run devops ci test tests/git/test_review_worktree_regression.py tests/ai/review/test_review_runner_executor.py: 14 passed
  • the pre-commit and pre-push hooks (ruff, ast-grep, devops ci fast static checks): passed
  • git push --force-with-lease from 30271ea to b09245e

dan-petty added a commit that referenced this pull request Nov 17, 2026
fix-checks stopped each round whose log named no path of the plan, also
when the plan's change broke another file (#6114: a caller of a changed
signature; #6041: a stale snapshot and stale documents).

- The scope check takes a failed file outside the plan when the branch
changes it, it uses a changed function, class or method, it is a test of
a changed module, or it is a snapshot test of a changed source module.
The model fix may change these files.
- Main skew and a failure that the change does not cause still stop, and
the reason names each file.
- Tier 1 writes snapshots again (`uv run pytest -n 0
--snapshot-update`), then the documents, with no model request.
- A comment names the files of each pushed repair.

Closes #6116

Change:
`openspec/changes/archive/2026-11-17-6116-fix-checks-repairs-failures-its-plan-causes/`
@dan-petty
dan-petty marked this pull request as ready for review November 17, 2026 07:54
@dan-petty
dan-petty self-requested a review as a code owner November 17, 2026 07:54
@dan-petty
dan-petty merged commit ddde85a into main Nov 17, 2026
23 checks passed
@dan-petty
dan-petty deleted the feat/3827-devops-review-runs-in-the-runner branch November 17, 2026 07:54
dan-petty pushed a commit that referenced this pull request Nov 17, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.171.0](v0.170.0...v0.171.0)
(2026-11-17)


### Features

* **roadmap:** Run review scanners in the runner pod
([#6114](#6114))
([ddde85a](ddde85a))
* **service:** Roll the Service with a surge release
([#6146](#6146))
([a459b65](a459b65))


### Bug Fixes

* **k8s:** Run kube-linter on the Argo CD builds in CI
([#6112](#6112))
([dba90f1](dba90f1)),
closes [#6068](#6068)
* **k8s:** Take the k8s area of the config-read list to zero
([#6124](#6124))
([0857ee5](0857ee5)),
closes [#6119](#6119)
* **roadmap:** judge a pyproject tool setting by its diff
([#6089](#6089))
([0a787eb](0a787eb)),
closes [#3491](#3491)
* **roadmap:** Name both command registration forms
([#6148](#6148))
([0d3b1e1](0d3b1e1))
* **roadmap:** Read the files of a named pull request
([#6144](#6144))
([5a29fed](5a29fed))
* **roadmap:** refuse a placeholder group title in a plan
([#6092](#6092))
([cfd820b](cfd820b))
* **service:** the metrics row sends too many counted requests
([#6095](#6095))
([b3fc5dc](b3fc5dc))

---
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