fix: use ratelimit name to determine counter id#4200
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
📝 WalkthroughWalkthroughModified the cache key generation in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✨ 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 |
Graphite Automations"Post a GIF when PR approved" took an action on this PR • (10/29/25)1 gif was posted to this PR based on Andreas Thomas's automation. |


What does this PR do?
Adds the
namefield to the rate limiter key generation in theDurableRateLimiterclass. This change modifies the key format fromidentifier::window::shardtoidentifier::window::name::shard.Fixes # (issue)
Type of change
How should this be tested?
Checklist
Required
pnpm buildpnpm fmtconsole.logsgit pull origin mainAppreciated