fix(tradein/scraper-kit): scale cian anchor watchdog for proxy-pool browser fetches (#2160) #2272
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#2272
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/tradein-cian-anchor-timeout-pool"
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?
Summary
ANCHOR_TIMEOUT_SEC=240гильотинил КАЖДЫЙ якорь до save_listings →lots_fetched=0, после 3 подряд →mark_banned(ложный «бан» при живых фетчах: SERP стабильно отдавал 28 lots/страницу)._cian_anchor_timeout_s()по прецеденту avito (~pipeline:799) / yandex-combos (~1686) / domclick (~3306):max(240, 4×pages×(delay+70s) + detail_top_n×50s + houses 180s)= 1580s при дефолтах (worst-case защита от зависания, не ожидаемая длительность). INFO-лог с разбивкой, WARNING/mark_banned-сообщения показывают вычисленное значение.app/services/scrape_pipeline.py— живёт для admin-триггера и flag-off fallback до cleanup-волны strangler'а) + parity-тест синхрона формул.Test plan
test_cian_city_sweep.py, 4 новых: формула при дефолтах, floor 240s, без houses, parity kit↔legacy), ruff cleancian_city_sweep→ якоря проходят, lots сохраняются, статус doneRefs #2126, #2160