feat(browser): per-provider page pacing + resource-block tuning — снизить proxy fan-out (#1812) #1813
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#1813
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/browser-reduce-page-fanout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #1812. Часть: per-provider прокси-изоляция уже применена в prod env (avito=auv, cian=ha, yandex=ti, generic=mproxy) — cross-provider контеншн устранён. Этот PR — within-provider residual.
Что
_pace_provider): мин. интервал междуpage.gotoодного провайдера (envBROWSER_MIN_PAGE_INTERVAL_S, default 2.0с) — даёт под-коннектам прокси дренироваться. Под per-provider lock,_last_goto_at[provider]timestamp, чистится в recycle.BROWSER_BLOCK_RESOURCE_TYPES(defaultfont,media) черезpage.routeabort. document/script/stylesheet/xhr/fetch/image — пропускаются (image глушит camoufoxblock_imagesна уровне launch). LegacyBROWSER_BLOCKED_RESOURCE_TYPES— fallback.Тесты
48 passed (route abort font/media, continue document/script/css/xhr; pacing first-no-sleep/wait-remainder/disabled; env-parse).
На ревью / важно
BROWSER_BLOCK_RESOURCES(#1798) — теперь «выключить» = пустойBROWSER_BLOCK_RESOURCE_TYPES. Проверить, нет лиBROWSER_BLOCK_RESOURCES=...в prod.env.runtime(станет no-op).image,media,font→font,media(image остаётся через camoufox block_images launch-arg). Подтвердить, что фото-блок не отвалился.test_server_resource_block.py— приведён к новому контракту (иначе CI red).