Skip to content

feat(pr): preview requests in dry run for pr commands - #2835

Merged
dan-petty merged 1 commit into
mainfrom
feat/2234-pr-dry-run
Oct 31, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/2234-pr-dry-run

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Summary

  • Add dry-run support for all 17 pr commands with the request-plan classification.
  • When --dry-run is supplied, preview the planned GitHub CLI requests and execute zero network or subprocess calls.
  • Remove all 17 pr commands and their 17 gh pr aliases from dry_run_gaps.json.
  • Regenerate documentation and CLI references.

Verification

  • Ran full test suite in tests/commands/test_pr_dry_run.py (37 passed).
  • Verified ratchet invariant tests in tests/invariants/test_dry_run_class_ratchet.py (7 passed).
  • Ran regression suites in tests/commands/test_pr.py and tests/commands/test_pr_cmd.py (107 passed).
  • Verified architectural invariants and complexity cap (138 passed).
  • Passed all pre-commit and pre-push quality gates.

Closes #2234

Add dry-run support for all 17 pr commands with the request-plan classification.
When --dry-run is supplied, preview the planned GitHub CLI requests and perform zero network or subprocess calls.
Update dry run gaps fixture and documentation.

Closes #2234
@dan-petty dan-petty added the type/feature Type feature: a new function label Oct 31, 2026
@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 05:30
@dan-petty
dan-petty merged commit 2a9b746 into main Oct 31, 2026
19 checks passed
@dan-petty
dan-petty deleted the feat/2234-pr-dry-run branch October 31, 2026 05:32
dan-petty pushed a commit that referenced this pull request Oct 31, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.26.0](v0.25.0...v0.26.0)
(2026-10-31)


### Features

* **k8s:** preview requests in dry run for cluster commands
([#2839](#2839))
([b6de1a4](b6de1a4)),
closes [#2238](#2238)
* **pr:** preview requests in dry run for pr commands
([#2835](#2835))
([2a9b746](2a9b746)),
closes [#2234](#2234)


### Bug Fixes

* **k8s:** enforce the window of each gateway deployment
([#2843](#2843))
([2ff7d9f](2ff7d9f)),
closes [#2825](#2825)
* **roadmap:** measure a task group by the files its step reads
([#2847](#2847))
([2f3986a](2f3986a)),
closes [#2838](#2838)
* **tests:** replace real test sleeps with clock
([#2169](#2169))
([#2833](#2833))
([506f769](506f769))

---
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

type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(pr): pr commands list their requests in a dry run and make none

1 participant