gendesign/tradein-mvp/backend/app
Light1YT 14798cc07c
All checks were successful
CI / changes (pull_request) Successful in 6s
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
feat(scheduler): wire house_imv_backfill as scheduled source (#854)
The house_imv_backfill service (services/house_imv_backfill.backfill_house_imv)
populates house_imv_evaluations on demand but was never on a schedule, so the
table stayed ~empty on prod. Register it as a standalone scrape_schedules source:

- trigger_house_imv_backfill_run mirrors trigger_avito_detail_backfill_run /
  trigger_yandex_address_backfill_run (_claim_run -> asyncio.create_task -> fresh
  SessionLocal -> add_done_callback). Since the service has no tasks/*-wrapper
  owning the run lifecycle, the trigger finalises scrape_runs itself
  (mark_done/mark_failed) like trigger_refresh_search_matview_run, and passes a
  heartbeat callback so reap_zombies does not kill a long live IMV run (#1363).
- dispatch branch in scheduler_loop routes source=="house_imv_backfill".
- migration 132 seeds an idempotent scrape_schedules row (window 15:00-17:00 UTC,
  after the Avito sweep/full-load + geocode/cadastral enrichment blocks).

Refs #854
2026-06-26 12:25:01 +05:00
..
api feat(scrapers): live pacing-регулятор (GET/PUT /scraper/pacing) + data-quality coverage endpoint 2026-06-20 12:47:03 +03:00
core fix(estimator): enable split-home disclosure at validated threshold 1.2 (audit #1871) 2026-06-24 01:54:58 +05:00
observability feat(tradein): enrich GlitchTip SDK init — integrations + PII scrub (#396) (#643) 2026-05-29 09:23:17 +00:00
schemas fix(estimator): data-age guards — sber staleness + IMV thin-market (#audit-5) 2026-06-20 15:03:19 +03:00
services feat(scheduler): wire house_imv_backfill as scheduled source (#854) 2026-06-26 12:25:01 +05:00
tasks feat(tradein): бэкфилл координат листингов из ekb_geoportal_buildings (street+house match) 2026-06-20 17:08:46 +03:00
__init__.py feat: add tradein-mvp subproject (Trade-In Estimator под /trade-in) 2026-05-21 00:25:39 +03:00
main.py feat(tradein): systemd timer scheduler — trigger script + units + SCHEDULER_ENABLE flag (#581) 2026-05-31 16:53:38 +00:00
scheduler_main.py feat(tradein): отдельный scraper-контейнер — scheduler вне API-процесса (#1182) 2026-06-12 10:50:50 +03:00