Repository navigation
refactor!: remove proxy tiers and Request.forefront - #2336
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v2 #2336 +/- ##
=====================================
Coverage ? 94.14%
=====================================
Files ? 184
Lines ? 13577
Branches ? 0
=====================================
Hits ? 12782
Misses ? 795
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
vdusek
force-pushed
the
remove-proxy-tiers
branch
from
October 16, 2026 07:48
ca488ac to
0e51ff8
Compare
vdusek
marked this pull request as ready for review
October 16, 2026 07:49
Pijukatel
approved these changes
Oct 16, 2026
This was referenced Oct 16, 2026
This was
linked to
issues
Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes
tiered_proxy_urlsfromProxyConfiguration, together with_ProxyTierTracker,ProxyInfo.proxy_tier,Request.last_proxy_tierand theproxy_tierargument ofnew_url()/new_proxy_info(). JS v4 dropped tiers as well (apify/crawlee#3599).Also removes
Request.forefront, since the tier tracker was the only code that set it. Following apify/crawlee#4157, a retried request and a request replaced by theerror_handlergo to the back of the queue. A request deferred by aRequestThrottledErroris reclaimed at the front, where v1 put it at the back.The proxy management guide replaces the "Tiered proxies" section with "Switching proxies on retries". That section shows a
new_url_functionthat picks the proxy byrequest.retry_count. The upgrade guide gets a section for each removal. The example will need an update in #2298, which drops therequestargument fromnew_url_function.Closes: #2299
Closes: #2300
✍️ Drafted by Claude Code