fix(prism): autonomous Lium rent pool with 429 requeue - #110
Conversation
Serialize rents against Lium's 3/5s and 60/h caps, cool down from 429 bodies, requeue without burning retry budget, and recover last-6h rate-limited failures into the queue automatically.
|
Warning Review limit reached
Next review available in: 20 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?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 reviews. How do review 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 refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (14)
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 |
Summary
lium-rent-pool: serialize rents to Lium’s 3/5s + 60/hour caps, parsetry again in N seconds, apply cooldown on HTTP 429.prism-liumrent path (no blind multi-retry on/rentthat burns the hourly budget).retry_count/ gating attempts; bin recovers failed 429 rows from the last 6h every 2 minutes and soft-opens gating.Test plan
cargo test -p lium-rent-pool -p prism-lium --libcargo clippyon touched crates (-D warnings)cargo run -p xtask -- loc-cap/external-docs-checklium rent pool waiting/lium 429 recovery tick, and prior 429failedrows return toqueuedwithout burning retries