Chore/remove beta public endpoints#1591
Conversation
|
Warning Review limit reached
More reviews will be available in 19 minutes and 18 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, 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 include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR restricts public provider access by enforcing privilege validation in the lookup handler and gating API availability by environment. Unprivileged providers return 404; the public endpoint deploys only to non-beta stages. ChangesPublic Provider Access Gating
🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
Dependency checks are currently failing. Those dependencies have been updated in the following PR: #1572. |
There is currently no valid use case for supporting public endpoints in the beta environment, as the beta environment is primarily used for state onboarding and searching records through the staff user search. This removes the public API endpoints from the beta environment for both the JCC and Cosmetology APIs
Testing List
yarn test:unit:allshould run without errors or warningsyarn serveshould run without errors or warningsyarn buildshould run without errors or warningsbackend/compact-connect/tests/unit/test_api.pyrun compact-connect/bin/download_oas30.pyCloses # 1574
Summary by CodeRabbit
Release Notes
Bug Fixes
Tests