feat(pr-patrol): detect shared commits in overlap warnings#1825
Conversation
When two PRs share commits (stacked branches), their file overlap is expected and not a real conflict risk. PR Patrol now fetches commit lists for overlapping PR pairs, identifies shared commits, and filters out files attributable to those shared commits before posting warnings. If all overlapping files come from shared commits, the warning is suppressed entirely (logged as "stacked branches"). If only some files are shared, the warning is posted for the remaining genuine overlaps with a note about the stacked relationship. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 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 |
|
This PR shares 1 file(s) with PR #1824:
Coordinate to avoid merge conflicts. Posted by PR Patrol — informational only. |
|
This PR shares 1 file(s) with PR #1826:
Coordinate to avoid merge conflicts. Posted by PR Patrol — informational only. |
Summary
Fixes false positive warnings like the one on #1822/#1811 where one branch was stacked on the other.
Test plan
tsc --noEmit)pnpm crux pr-patrol --dry-run --onceagainst live repo🤖 Generated with Claude Code