fix: add broader dedup search before fallback issue creation#2454
fix: add broader dedup search before fallback issue creation#2454alex-solovyev merged 1 commit intomainfrom
Conversation
claim-task-id.sh fallback at line 520 created issues unconditionally when issue-sync-helper.sh failed. This caused duplicates when the same task had different title prefixes (e.g., 't1344:' vs 'coderabbit:'). Add a GitHub search-based dedup check that matches across the full title before falling back to bare gh issue create.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
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. 📒 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 |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Fri Feb 27 05:03:14 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|



Summary
claim-task-id.shbefore the fallbackgh issue createpatht1344:,coderabbit:, etc.) and searches all issues (open + closed) for matchesProblem
create_github_issue()line 520 had a fallback that created bare GitHub issues with zero duplicate detection. The primary path viaissue-sync-helper.sh pushhas dedup, but only matchesstartswith("tNNN:")— missing issues with different title prefixes. When the helper failed, the fallback created duplicates unconditionally (observed: #2421 duplicated #2410).Fix
Before the fallback
gh issue create, the new code:gh repo viewgh issue list --search(full-text, not prefix-only)This is belt-and-suspenders alongside the intelligence-layer fix in PR #2446.
Verification
shellcheck -x)2>/dev/null || echo ""to avoid breaking the fallbackCloses #2447