Optimize CodeRabbit API performance with caching, batching, and connection pooling. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for...
Optimize operator-controlled inputs and measure effects. Separate service latency, provider delay, limits, diff size, paths, tools, and guidance.
references/official-docs.md and re-check any time-sensitive contract before execution.Treat Git-provider sessions, CodeRabbit web sessions, CLI credentials, and CodeRabbit API keys as separate credentials. Use only an already-approved session or secret-manager reference, never print a secret, and do not place credentials in .coderabbit.yaml, source files, logs, or deliverables.
Capture events, files, diff size, tools, cache, limits, findings, and timing.
Classify delay or noise by boundary.
Pilot one scope, filter, instruction, profile, or incremental-review change.
Compare equivalent samples and roll back hidden-risk regressions.
Require security or code-owner approval before exclusions, tool disablement, or shared changes. Keep analysis and drafts local until approval is explicit, and record who approved the action and its scope.
A baseline, hypothesis, patch, comparison, risk check, and keep-or-rollback decision. Include source dates, unknowns, and the exact boundary between observed fact and recommendation.
| Condition | Response |
|---|---|
| Current contract is unclear or docs disagree | Stop mutation, cite both sources, and request owner resolution. |
| Required access or approval is missing | Produce a draft and evidence plan only. |
| Validation or pilot behavior differs from expectation | Restore the prior state and retain the failed evidence. |
| Output contains secrets or private code | Stop, quarantine the artifact, redact it, and notify the data owner. |
Exclude generated artifacts while retaining sensitive code.
Tune incremental-review pause for a high-churn branch.
references/official-docs.md.