feat(create-pr): simplify PR workflow - #696
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughAdds a new Changescreate-pr end-to-end wrapper
Sequence Diagram(s)sequenceDiagram
participant Caller
participant CreatePR
participant Preflight
participant Git
participant GH
participant WaitMerge
Caller->>CreatePR: Pipe PR body, commit message, files, optional auto-merge
CreatePR->>CreatePR: Write stdin to BODY_PATH
CreatePR->>Preflight: Run preflight-check.sh
Preflight-->>CreatePR: NOOP or MERGED terminal output, or OK
CreatePR->>Git: Stage files
CreatePR->>Git: Commit and push to origin
CreatePR->>GH: Query existing PR with pr view
GH-->>CreatePR: Existing PR URL or not found
CreatePR->>GH: Create PR with title and body file
alt auto-merge enabled
CreatePR->>GH: Enable auto-squash merge
CreatePR->>WaitMerge: Invoke wait-for-merge.sh
WaitMerge-->>CreatePR: MERGED or CI_FAILED or CLOSED output
end
CreatePR-->>Caller: Return terminal prefix output
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
# [17.25.0](v17.24.1...v17.25.0) (2026-06-22) ### Features * **create-pr:** simplify PR workflow ([#696](#696)) ([24576c5](24576c5))
Summary
Tests
Summary by CodeRabbit
New Features
Documentation
Tests