Repository navigation
test(cli): pr, gh and repos tests patch no names - #4097
Merged
dan-petty merged 2 commits intoNov 8, 2026
Merged
Conversation
The tests of the pr, gh and repos commands patched 266 names inside devops_cli. They now reach gh and git through the process fake, GitHub through the session fake, the roadmap through the in-memory store, and settings through the config fixture.
Owner
Author
|
Results of the local runs.
Left for a later item of #3769 (named in the proposal): four tests in |
dan-petty
marked this pull request as ready for review
November 8, 2026 00:17
dan-petty
deleted the
test/3769-pr-gh-repos-command-tests-on-edge-fakes
branch
November 8, 2026 01:42
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The tests of the
pr,ghandreposcommands patched 266 names insidedevops_cli. Each test now reaches its edge through a shared double:process_fakeforghandgit,github_apifor the GitHub session,roadmap_store,config,clockandmcp_dispatcher. A new helper,tests/support/gh_process.py, holds theghanswers that nine files repeated. Tests that called a private helper now run the command and read its output. Node ids and checked behavior stay the same, and no file undersrc/changes.The rule of
docs/TESTING.mdis that a test doubles only an edge. This change removes the patches that block the ban of #1336.Closes #4085
Change:
openspec/changes/archive/2026-11-07-4085-pr-gh-repos-command-tests-on-edge-fakes/