Skip to content

fix(roadmap): the base replay of a step runs the checkout Python - #6692

Merged
dan-petty merged 2 commits into
mainfrom
fix/6688-base-replay-runs-checkout-python
Nov 21, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/6688-base-replay-runs-checkout-python

Conversation

@dan-petty

@dan-petty dan-petty commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

The base replay of an implement step now runs the pytest of the venv
of the checkout, by the absolute path of <checkout>/.venv/bin/python,
also when a person runs a step in the current folder.

Since #6517 the runner image holds no dev group, and the bootstrap of
the Job installs it into the venv of the checkout. The replay still
started sys.executable -m pytest, which in the Job is the image
Python, so each behavior group stopped at its first exit check with
"No module named pytest" and the Job discarded the work.

replay_on_base and pytest_replay_argv take the interpreter as a
keyword argument. devops ci fail-to-pass keeps sys.executable,
because its process runs in the venv of the checkout. The replay gets
no new reach: it already runs the tests and conftest.py of the head.

Closes #6688

Change: openspec/changes/archive/2026-11-21-6688-base-replay-runs-checkout-python/

The runner image holds no dev group since #6517, so the base replay of
an implement step, which started sys.executable -m pytest, stopped each
behavior group with "No module named pytest". The replay now runs the
pytest of <checkout>/.venv/bin/python, which the bootstrap fills.
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 21, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 21, 2026 21:48
@dan-petty
dan-petty merged commit db5de9b into main Nov 21, 2026
48 of 50 checks passed
@dan-petty
dan-petty deleted the fix/6688-base-replay-runs-checkout-python branch November 21, 2026 22:49
dan-petty pushed a commit that referenced this pull request Nov 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.190.0](v0.189.0...v0.190.0)
(2026-11-21)


### Features

* **k8s:** run a three-node SeaweedFS object store
([#6689](#6689))
([3f81cdb](3f81cdb))
* **roadmap:** the Service reads each runner container by name
([#6695](#6695))
([84c0627](84c0627)),
closes [#6690](#6690)


### Bug Fixes

* **roadmap:** a new-branch run takes no closed draft
([#6693](#6693))
([9ae7d7b](9ae7d7b))
* **roadmap:** the base replay of a step runs the checkout Python
([#6692](#6692))
([db5de9b](db5de9b))


### Code Refactoring

* **roadmap:** fix-checks rebases onto main in its agent phase
([#6694](#6694))
([a2092bd](a2092bd)),
closes [#6639](#6639)

---
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/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the base replay of a step runs the checkout Python

1 participant