ChatRunStatusResponse = { runId, status } to match the implemented endpoint (chat#1813)#250
Conversation
…d endpoint)
GET /api/chat/runs/{runId} returns { runId, status } — getRun(runId) exposes
only status, and there's no durable runId→chat mapping (the caller already holds
chatId/sessionId from the 202 start response). Drop chatId/sessionId/timestamps/
error from the status schema. The status enum is verified against real runs on
preview (running → completed observed). (chat#1813)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 4 minutes and 55 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 review availability. 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, additional reviews become available more gradually as earlier reviews age out of the rolling window. 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)
✨ 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 |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Follow-up to docs#249: reconcile the documented
GET /api/chat/runs/{runId}response with the api implementation (api#704).What
ChatRunStatusResponse→{ runId, status }(droppedchatId/sessionId/startedAt/completedAt/error).Why
The endpoint wraps the durable workflow's
getRun(runId).status, which exposes only status. There is no durablerunId → chatmapping today, and the caller already receiveschatId/sessionIdin the 202 start response — so echoing them on status is redundant. Returning{ runId, status }is the cheap, correct "is it done?" contract.A future
chats.last_run_idcolumn would let the status endpoint also returnchatId/sessionIdand enforce per-run ownership — a separate database+api follow-up if needed.Verified
The
statusenum (queued | running | completed | failed | cancelled) is confirmed against real preview runs — observedrunningthencompletedend-to-end.🤖 Generated with Claude Code
Summary by cubic
Aligned
GET /api/chat/runs/{runId}docs with the implemented API:ChatRunStatusResponsenow returns only{ runId, status }.Removed
chatId,sessionId,startedAt,completedAt, anderror; use thechatIdfrom the 202 start response to fetch produced content.Written for commit b820f93. Summary will update on new commits.