-
Notifications
You must be signed in to change notification settings - Fork 161
fix(jans-cedarling): fix benchmarks to actually work #12923
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
base: main
Are you sure you want to change the base?
Conversation
…hmark Signed-off-by: dagregi <[email protected]>
Signed-off-by: dagregi <[email protected]>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
📝 WalkthroughWalkthroughThis PR modifies benchmark functions in the Cedarling authorization library to fix failing benchmarks. It refactors request builder functions from returning Results to returning concrete Request objects, updates issuer URLs for correct JWT validation, introduces pre-benchmark authorization validation, and adjusts function signatures to accept references instead of owned values. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)jans-cedarling/**/*.rs📄 CodeRabbit inference engine (jans-cedarling/AGENTS.md)
Files:
🧠 Learnings (8)📓 Common learnings📚 Learning: 2025-12-10T08:24:27.240ZApplied to files:
📚 Learning: 2025-12-10T08:24:27.240ZApplied to files:
📚 Learning: 2025-12-10T08:24:27.240ZApplied to files:
📚 Learning: 2025-11-28T05:59:26.842ZApplied to files:
📚 Learning: 2025-12-10T08:24:27.240ZApplied to files:
📚 Learning: 2025-12-10T08:24:27.240ZApplied to files:
📚 Learning: 2025-12-10T14:10:48.131ZApplied 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). (7)
🔇 Additional comments (5)
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 |
Prepare
Description
Target issue
closes #12900
Implementation Details
Test and Document the changes
Please check the below before submitting your PR. The PR will not be merged if there are no commits that start with
docs:to indicate documentation changes or if the below checklist is not selected.Summary by CodeRabbit
Tests
Refactor
✏️ Tip: You can customize this high-level summary in your review settings.