chore: update v2 thresholds#2638
Conversation
Sync the rate-limit CSVs from cloud (ory-corp/cloud) and regenerate rate-limits.json: HydraPublicHigh/KratosAdminHigh increases plus the 50->60 / 900->950 / 800->850 ratchets.
There was a problem hiding this comment.
Pull request overview
Updates the documentation site’s rate-limit dataset to match the latest v2 base limits synced from cloud, ensuring the RateLimitsTable and any downstream consumers display the current thresholds and endpoints.
Changes:
- Updated
bucket-to-threshold.csvwith new v2 rate-limit thresholds (HydraPublicHigh, KratosAdminHigh, and the 50→60 / 900→950 / 800→850 ratchets). - Added
GET /.well-known/change-passwordto the endpoint-to-bucket mapping. - Regenerated
src/static/rate-limits.jsonfrom the CSV sources to reflect the new endpoints and thresholds.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/static/rate-limits.json | Regenerated static rate-limit data consumed by the docs UI. |
| src/lib/rate-limits/data/bucket-to-threshold.csv | Updates per-bucket limits for v2 tiers/environments. |
| src/lib/rate-limits/data/bucket-to-endpoints.csv | Adds the new Kratos public endpoint mapping for change-password. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
📝 WalkthroughWalkthroughThe entire ChangesRate Limits Configuration
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Sync the rate-limit CSVs from cloud and regenerate
rate-limits.jsonfor the new v2 base limits: HydraPublicHigh / KratosAdminHigh increases plus the50→60,900→950,800→850ratchets.