fix(site-finder): Overpass retry-backoff + mirror fallback for utility loader (#1746) #1931
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#1931
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/1746-overpass-retry-backoff"
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?
Публичный
overpass-api.deзарейтлимитил тяжёлые query-типы (429/504) → грузилось только ~1099/3000 utility-элементов (power+water прошли, остальное throttled).Fix: per-query retry-with-backoff на 429/5xx (honors
Retry-After, 3 попытки/endpoint, 10/30/60с + jitter) + mirror-fallback (OVERPASS_ENDPOINTS: overpass-api.de → kumi.systems → private.coffee) + inter-query delay 1с→3с. Query, упавший на всех retry+mirror, логируется и скипается (partial load, не abort); per-element SAVEPOINT/UPSERT без изменений.Tests: retry-success, mirror-fallback, 504, all-fail-skip, one-failing-query-isolation (всё мокнуто). Full suite 3565 passed, 0 failed. ruff clean, без schema/codegen.
После мержа+деплоя — re-populate (
sync_utility_infrastructure_to_db()) доберёт полное покрытие (towers/gas/heat/sewage), counts → ~3000.Refs #1746