gendesign/backend/app/workers
lekss361 aec45a55cb fix(#244): harvest_quarter — CAST CASE WHEN params (psycopg3 AmbiguousParameter)
psycopg3 could not determine the type of bare bind params inside CASE WHEN
... IS NULL expressions in _UPSERT_SQL. Wrap geom_json as CAST(:geom_json AS text)
and bbox coords as CAST(:bbox_xmin AS double precision) so Postgres has an explicit
type hint in both branches.

Also fixes pre-existing test breakage: QuarterDump gained required field
`opportunity` in a prior PR; added opportunity={} to all 3 inline QuarterDump
constructors in test_nspd_sync.py. Adds 2 regression tests for _upsert_dump
(null-geom path and real-geom path) to catch re-introduction.
2026-05-17 08:47:36 +03:00
..
tasks fix(#244): harvest_quarter — CAST CASE WHEN params (psycopg3 AmbiguousParameter) 2026-05-17 08:47:36 +03:00
__init__.py init 2026-04-25 13:45:19 +03:00
beat_schedule.py feat(permits): Celery beat monthly + analyze recent_permits (#105 Phase 4+5) (#213) 2026-05-16 12:23:52 +00:00
celery_app.py feat(backend): sentry-sdk init для FastAPI + Celery (#204 backend) (#207) 2026-05-16 15:09:16 +00:00
lifecycle.py refactor(workers): split celery_app.py god-object into 3 modules (#135) 2026-05-15 00:09:38 +03:00