fix(create-pr): allow new PR after branch was merged - #698
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 (2)
📝 WalkthroughWalkthrough
Conditional MERGED Exit and E2E Coverage
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 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.2](v17.25.1...v17.25.2) (2026-06-24) ### Bug Fixes * **create-pr:** allow new PR after branch was merged ([#698](#698)) ([43bdff7](43bdff7))
Summary
MERGED:로 종료해 새 PR을 못 만들던 버그 수정Changes
preflight-check.sh:MERGED:종료를 현재 HEAD가 머지된 PR tip(headRefOid)과 같을 때로 한정. 머지 이후 새 커밋이 있으면 통과시켜 새 PR 생성 경로로 진행.headRefOid조회 실패 시 기존 동작 유지create-pr-e2e.bats: 버그 재현 테스트 + HEAD==머지tip 회귀 방지 테스트 추가, stub에headRefOid/rev-parse HEAD보강Tests
bats tests/me/create-pr-e2e.bats8개 통과shellcheck preflight-check.sh통과Summary by CodeRabbit