Skip to content

test(cli): devops pr, gh and repos test over edge fakes - #2818

Merged
dan-petty merged 1 commit into
mainfrom
test/1324-pr-gh-repos-edge-fakes
Oct 31, 2026
Merged

dan-petty merged 1 commit into
mainfrom
test/1324-pr-gh-repos-edge-fakes

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Move command-layer parsing and domain helpers behind domain packages.

  • Move clone destination parsing from commands/repos.py to git/operations.py.
  • Move rate limit payload parsing and row formatting from commands/gh.py to github/rate_limit_view.py.
  • Move branch update command building and planning from commands/pr.py to github/branch_update.py.
  • Move pull request template invariant tests from tests/test_pr_cmd.py to tests/invariants/test_pull_request_template.py.
  • Document test_pull_request_template.py in docs/TESTING.md.

Closes #1324

Change: openspec/changes/archive/2026-10-31-1324-pr-gh-repos-edge-fakes/

Move command-layer parsing and domain helpers behind domain packages.

- Move clone destination parsing from `commands/repos.py` to `git/operations.py`.
- Move rate limit payload parsing and row formatting from `commands/gh.py` to `github/rate_limit_view.py`.
- Move branch update command building and planning from `commands/pr.py` to `github/branch_update.py`.
- Move pull request template invariant tests from `tests/test_pr_cmd.py` to `tests/invariants/test_pull_request_template.py`.
- Document `test_pull_request_template.py` in `docs/TESTING.md`.

Change: `openspec/changes/archive/2026-10-31-1324-pr-gh-repos-edge-fakes/`
Closes #1324
@dan-petty dan-petty added type/test Type test: a new or changed test scope/cli Core CLI framework, Typer subcommands, options, and tables labels Oct 31, 2026
@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 02:03
@dan-petty
dan-petty merged commit 68863da into main Oct 31, 2026
19 checks passed
@dan-petty
dan-petty deleted the test/1324-pr-gh-repos-edge-fakes branch October 31, 2026 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/cli Core CLI framework, Typer subcommands, options, and tables type/test Type test: a new or changed test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(cli): devops pr, gh and repos are thin adapters tested over edge fakes, and merge readiness is tested in its package

1 participant