gendesign/backend/app
Light1YT c70154ed61
All checks were successful
CI / changes (pull_request) Successful in 6s
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Successful in 1m50s
CI / backend-tests (pull_request) Successful in 11m7s
fix(site-finder): Overpass retry-backoff + mirror fallback for utility loader (#1746)
Public overpass-api.de throttled later heavy query-types (429/504) →
only ~1099/3000 utility elements loaded. Harden the loader:

- per-query retry-with-backoff on 429/5xx (esp. 504): up to 3 attempts
  per endpoint, exponential backoff (10s/30s/60s) + jitter, honoring the
  Retry-After header when present.
- mirror fallback: OVERPASS_ENDPOINTS list (overpass-api.de →
  kumi.systems → private.coffee); exhausting one endpoint rotates to the
  next mirror.
- inter-query delay bumped 1s → 3s (gentler on the public endpoint).
- a query that fails all retries+mirrors is logged and skipped
  (partial-load, not abort) — existing per-element SAVEPOINT/UPSERT kept.

Tests: 429-then-200 retry, persistent-429 primary → mirror fallback,
504 → mirror, all-fail skip-without-abort, one-failing-query-does-not-
abort-others, plus Retry-After/backoff helper units. All mocked, no
real Overpass.
2026-06-27 01:36:13 +05:00
..
api feat(site-finder): OSM engineering-networks loader + endpoint (#1746) (#1930) 2026-06-26 20:01:00 +00:00
core fix(site-finder): optimize zone-regulation resolve in /analyze (#1850) 2026-06-25 09:12:41 +00:00
models merge: resolve conflicts with main (#1660) into week-review-finish 2026-06-17 20:21:06 +03:00
observability feat(backend): sentry-sdk init для FastAPI + Celery (#204 backend) (#207) 2026-05-16 15:09:16 +00:00
schemas feat(site-finder): OSM engineering-networks loader + endpoint (#1746) (#1930) 2026-06-26 20:01:00 +00:00
scrapers fix(week-review): backend-аудит v2 — 82 фиксов (#1660) 2026-06-17 17:13:38 +00:00
services fix(site-finder): Overpass retry-backoff + mirror fallback for utility loader (#1746) 2026-06-27 01:36:13 +05:00
templates fix(site-finder): 5 дефектов из боевого фидбека analyze (#1736 #1737 #1738 #1739 #1740) 2026-06-18 11:47:21 +05:00
workers feat(site-finder): OSM engineering-networks loader + endpoint (#1746) (#1930) 2026-06-26 20:01:00 +00:00
__init__.py init 2026-04-25 13:45:19 +03:00
main.py fix(week-review): backend-аудит v2 — 82 фиксов (#1660) 2026-06-17 17:13:38 +00:00