-
Notifications
You must be signed in to change notification settings - Fork 10.2k
chore: upgrade @unkey/ratelimit #22902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Unkey's v2 api runs on AWS (including us-east-2, where cal runs) and has significantly lower latency than v1.
@chronark is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThe Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: applies to **/*.{ts,tsx} : flag excessive day.js use in performance-critical code; prefer native dat...
Applied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (08/05/25)1 reviewer was added to this PR based on Keith Williams's automation. "Add foundation team as reviewer" took an action on this PR • (08/05/25)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (08/05/25)1 label was added to this PR based on Keith Williams's automation. |
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
@emrysal ah shit my bad. I didn't think you'd be that quick, we just posted that yesterday :D |
E2E results are ready! |
What does this PR do?
This PR upgrades
@unkey/ratelimit
to v2.The v2 API runs on aws (including
us-east-2
, where cal runs) and has significantly lower latency.Here's some more context, but it's not really relevant to this PR: https://www.unkey.com/blog/serverless-exit
Visual Demo (For contributors especially)
We run this in our own dashboard on vercel and get these numbers:

Mandatory Tasks (DO NOT REMOVE)
I only tested this manually locally
How should this be tested?
It behaves the same way as before, just faster.
UNKEY_ROOT_KEY
env variable in .envyarn dx