feat(opencode): add provider HttpApi trial slice#1371
Conversation
|
Warning Review limit reached
More reviews will be available in 40 minutes and 38 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (8)
✨ 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 |
4142e39 to
28e17c1
Compare
Summary
Add a local provider HttpApi trial slice for the provider route group:
Why
This is the second Hono to Effect HttpApi vertical slice after the config scaffolding. It keeps production Hono routing intact while making the provider group available in local HttpApi parity coverage.
Related Issue
Related to #936
Human Review Status
Pending
Review Focus
Please focus on whether the provider HttpApi handlers preserve Hono response shapes, OAuth error status mapping, and
ModelState.recordRecentbehavior without switching production routing.Risk Notes
This is a parity/scaffolding slice only; production server routing remains Hono. Fresh-eye and Claude found no P0/P1. Non-blocking residuals: the provider HttpApi error schemas are still trial/OpenAPI declarations and inherit the existing Hono 400 schema mismatch for runtime validation and OAuth NamedError bodies; full invalid-body matrix coverage can be tightened before HttpApi is wired as production routing. Skipped conditional checklist items: no visible UI or copy changed, no platform/packaging surface changed, and no docs/release/dependency/permission/generated surfaces changed.
How To Verify
Screenshots or Recordings
N/A, no visible UI changes.
Checklist
bug,enhancement,task,documentation. Type labels are author-added; the labeler bot does NOT assign them. Add the label in the GitHub UI, then tick this.app,ui,platform,harness,ci. The labeler bot assigns these on PR open based on changed paths. Confirm the bot's choice (or override if wrong), then tick this.P0,P1,P2,P3. The priority-triage bot suggests one on PR open. Confirm or override, then tick this.Pending,Approved by @<reviewer>, orNot required: <reason>(default isPending; "not required" is restricted to bot-authored low-risk PRs).dev, and my PR title and commit messages use Conventional Commits in English.