Repository navigation
Description
Problem
Since #6537 (#6517, 2026-11-20), the runner image installs no dev group into /app/.venv. The bootstrap of the Job installs the dev group into <checkout>/.venv, and checkout_environment puts that venv first on the PATH of the checks.
The base replay of a behavior group does not use that venv. replay_group_tests (src/devops_cli/roadmap/implement/implement_base_replay.py) calls replay_on_base in the Job process, and pytest_replay_argv (src/devops_cli/ci/fail_to_pass.py) starts sys.executable -m pytest. In the Job, sys.executable is /app/.venv/bin/python, which has no pytest. So each behavior group stops at its first exit check, and the Job discards the work.
Stop reports of 2026-11-21 with /app/.venv/bin/python: No module named pytest:
| Item | Time | Failed check |
|---|---|---|
| #6603 | 09:51Z | pytest on base: tests/roadmap/project_review/test_review_readers.py |
| #4147 | 14:18Z | pytest on base: tests/security/test_secret_redaction.py |
| #6522 | 15:50Z | pytest on base: tests/github/test_ci_job_time.py |
| #6627 | 19:29Z | pytest on base: tests/roadmap/refine/test_roadmap_refine_sanitize.py, tests/roadmap/test_roadmap_body_hash.py |
The #6627 run used 4,475,162 input tokens before it stopped.
openspec/specs/roadmap-implement-runner/spec.md already says that the exit checks of a step get the checkout venv first on PATH. The replay ignores PATH, because it names the interpreter.
Expected
The base replay of an implement step runs the Python of <checkout>/.venv. devops ci fail-to-pass keeps sys.executable, because its process runs in the checkout venv.
This is a fix of a broken existing check, not a new gate, so the freeze of #6519 does not apply.
Acceptance criteria
- A test shows that
replay_group_testsstarts pytest with<checkout>/.venv/bin/python. - The spec of the runner says which interpreter the base replay uses.
- After the release, the next implement Job with a behavior group reports a base replay result and not
No module named pytest.
Dependencies
None. Related: #6517, #6519, #6627.
Source
Source: #6627
Activity
dan-petty commentedon Nov 21, 2026
All implement Jobs with a behavior group fail with No module named pytest.#6517 moved the dev venv to the checkout; this candidate fixes the replay that still points at the old /app/.venv interpreter.devops-cli-service commentedon Nov 21, 2026
Released in v0.190.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.190.0
devops-cli-service commentedon Nov 21, 2026
Live since 2026-11-21 23:18 UTC
dan-petty commentedon Nov 22, 2026
The acceptance criterion "the next implement Job reports a base replay result" passes in release 0.190.0.
runner:v0.190.0(digestsha256:92fa9590…).devops-cli-implement-devops-cli-6603-d401c8(perf(roadmap): the project review keeps its own listing snapshot #6603, started 2026-11-21T23:55Z) ran both behavior groups and opened draft perf(roadmap): Cut review reads with a snapshot and counts #6716. Its step comment records "fail-to-pass of group 1: fails on the base commit" and the same for group 2..../model-clone/.venv/lib/python3.14/site-packages, the venv of the checkout.The stops of #4147, #6522, #6603, #6627 and #6633 (the last Job of #6633 ran the 0.189.0 image) are cleared with
implement: retry.