Skip to content

test(roadmap): roadmap tests start no git on fake - #2886

Merged
dan-petty merged 1 commit into
mainfrom
test/2178-roadmap-tests-reach-git-fake
Oct 31, 2026
Merged

dan-petty merged 1 commit into
mainfrom
test/2178-roadmap-tests-reach-git-fake

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Description

This pull request migrates the roadmap refine, run, and intake tests to use the git_fake process runner seam, ensuring no test starts a real git subprocess.

  • Migrated tests/roadmap/test_roadmap_refine.py away from real git repository initialization to direct file fixtures and scripted git answers.
  • Migrated tests/roadmap/test_roadmap_run.py to SimulatedGit backed by git_fake, answering clone, branch, tag, remote, rev-parse, and config operations in memory.
  • Audited tests/roadmap/test_roadmap_intake.py to confirm zero git subprocesses start.
  • Extended ProcessFake and GitFake to support dynamic callable answers.
  • Archived OpenSpec change 2178-roadmap-tests-reach-git-fake.

Verification

  • Execution duration across all 367 tests decreased from 28.98s to 19.45s (~33% faster).
  • Verified zero real git processes start with hermetic git tripwire refusal.
  • Verified all contract and invariant tests pass.
  • Verified uv run devops ci run passes all 21 quality gates.

Closes #2178

## Description

This pull request migrates the roadmap refine, run, and intake tests to use the `git_fake` process runner seam, ensuring no test starts a real git subprocess.

- Migrated `tests/roadmap/test_roadmap_refine.py` away from real git repository initialization to direct file fixtures and scripted git answers.
- Migrated `tests/roadmap/test_roadmap_run.py` to `SimulatedGit` backed by `git_fake`, answering clone, branch, tag, remote, rev-parse, and config operations in memory.
- Audited `tests/roadmap/test_roadmap_intake.py` to confirm zero git subprocesses start.
- Extended `ProcessFake` and `GitFake` to support dynamic callable answers.
- Archived OpenSpec change `2178-roadmap-tests-reach-git-fake`.

## Verification

- Execution duration across all 367 tests decreased from 28.98s to 19.45s (~33% faster).
- Verified zero real git processes start with hermetic git tripwire refusal.
- Verified all contract and invariant tests pass.
- Verified `uv run devops ci run` passes all 21 quality gates.

Closes #2178
@dan-petty dan-petty added type/test Type test: a new or changed test scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Oct 31, 2026
@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 16:32
@dan-petty
dan-petty merged commit 642341f into main Oct 31, 2026
18 checks passed
@dan-petty
dan-petty deleted the test/2178-roadmap-tests-reach-git-fake branch October 31, 2026 16:32
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/test Type test: a new or changed test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(roadmap): the roadmap refine, run and intake tests start no git and reach git through the git fake

1 participant