forked from cli/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Post-merge verification of PR review commands
Purpose: Run end-to-end live tests of the newly added commands against a temporary PR to confirm behavior on main.
Scope
- Commands to verify:
see-comments— list inline review comments by review id or latestreply-comment— reply by comment id (exercise the pending-review constraint behavior)review— open (GraphQL), add (GraphQL), submit (GraphQL)
Plan
- Create a short-lived test branch and PR with a small README change.
- Run
review opento create a pending review; capture review id. - Run
review addto add an inline comment at the last line of README.md; verify thread created. - Run
review submitwith event=COMMENT and a summary; verify submitted state. - Run
see-comments --latestto fetch the latest submitted review’s comments; confirm the inline comment id appears. - Run
reply-commentagainst the inline comment id; if 422 due to pending review state, first submit any pending review or use GraphQL thread reply, then retry and confirm success. - Negative case: attempt to add to a non-existent review id and verify error handling.
- Close the test PR.
Deliverable
- Post the terminal transcript (commands and outputs) and any relevant notes in a comment on this issue. Include the temporary PR link.
References
- Implemented in PR feat: add gh api review helper commands #17.
- Prior test PR: Test PR: validate PR review API commands #15 (closed).
Metadata
Metadata
Assignees
Labels
No labels