feat(desktop): use unique-names-generator for workspace names#252
feat(desktop): use unique-names-generator for workspace names#252
Conversation
Replace hardcoded word lists with the unique-names-generator library for generating workspace branch names. This increases naming variety from ~22,500 combinations to ~490,000+ (1,400 adjectives × 350 animals × 100 numbers). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded@Kitenite has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 21 minutes and 42 seconds before requesting another review. ⌛ 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)
WalkthroughThe changes replace hard-coded adjective and noun arrays in branch name generation with the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
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 |
Replace random 2-digit number (100 possibilities) with a 4-character base64url-encoded random suffix (262,144 possibilities) using Node's crypto.randomBytes for better collision resistance. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Use hex encoding (0-9, a-f) instead of base64url to ensure branch names are fully lowercase. Still provides 16M+ combinations (16^6). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Summary
unique-names-generatorlibraryTest plan
{adjective}-{animal}-{number}🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.