fix(bootstrapper): skip already-failed versions in _phase_resolve()#1203
Conversation
|
Warning Review limit reached
More reviews will be available in 37 minutes and 57 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 Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughIn Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
|
Tick the box to add this pull request to the merge queue (same as
|
9bd0f58 to
0cd1083
Compare
In `--multiple-versions` mode, when a version fails to build, `_handle_phase_error()` discards it from `_seen_requirements` and records it in `_failed_versions`, but `_failed_versions` was never consulted before attempting builds. The resolution cache still returned the full candidate list, so every failed version was re-downloaded, re-prepared, and re-built on each subsequent resolution of the same requirement. Filter out already-failed versions in `_phase_resolve()` before expanding them into work items, avoiding redundant build attempts. Closes: python-wheel-build#1198 Co-Authored-By: Claude <claude@anthropic.com> Signed-off-by: Rohan Devasthale <rdevasth@redhat.com>
b2f94e7 to
093c2db
Compare
|
@mergify rebase |
🛑 The pull request rule doesn't match anymoreDetailsThis action has been cancelled. |
In
--multiple-versionsmode, when a version fails to build,_handle_phase_error()discards it from_seen_requirementsand records it in_failed_versions, but_failed_versionswas never consulted before attempting builds. The resolution cache still returned the full candidate list, so every failed version was re-downloaded, re-prepared, and re-built on each subsequent resolution of the same requirement.Filter out already-failed versions in
_phase_resolve()before expanding them into work items, avoiding redundant build attempts.Closes: #1198