fix: support stable prerender concurrency#64
Conversation
commit: |
Benchmark ResultsCompared PR head Total median wall time: 16.46s -> 16.44s (-0.2%, 1.00x speedup)
Profile: |
|
Warning Review limit reached
More reviews will be available in 8 minutes and 57 seconds. Learn how PR review limits work. To continue reviewing without waiting, enable usage-based billing in the billing tab. ⌛ 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: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (8)
📝 WalkthroughWalkthrough
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/prerender.ts`:
- Around line 184-197: The validation in prerender config currently reports only
`prerender.concurrency`, even when the invalid value came from
`unstable_concurrency`. Update the logic around the `concurrency` resolution in
`src/prerender.ts` so the error message uses the actual provided key from
`PrerenderConfigObject` (`concurrency` or `unstable_concurrency`). Keep the
existing positive-integer check, but make the returned string reference the key
that was set to make the message actionable.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 45d66636-7f7e-4297-849d-920acfb2d8cc
📒 Files selected for processing (2)
src/prerender.tstests/prerender.test.ts
Summary\n- accept stable
prerender.concurrencyalongsideunstable_concurrency\n- validate the stable config key with focused coverage\n\n## Verification\n-pnpm test:core tests/prerender.test.ts\n-pnpm build