fix(cadastre): NSPD 500-retry + disable dead pzz-beat + geom backfill (#252 #259 #200) #1313

Merged
bot-backend merged 1 commit from fix/nspd-retry-pzz-disable-geom-backfill into main 2026-06-13 15:52:57 +00:00
Collaborator

Summary

3 backend NSPD/cadastre фикса (DOABLE из massive-triage).

  • #252: NspdBulkServerError на 5xx + WMS ServiceException → quarter-retry; per-layer skip (layer_failed только если ВСЕ cells 5xx, network excluded → пустой слой не ложно-скип). harvest_meta флаг.
  • #259: pzz-sync-monthly beat отключён (PKK6 deprecated, pzz_zones_ekb=0, заменён alt-путём); logger.exception→warning (стоп GlitchTip BACKEND-1B).
  • #200: geom_unavailable флаг (миграция 151) + backfill_parcel_geom — лечит 930/964 NULL-geom (NSPD центроиды), остаток marks unavailable.

Test plan

  • code-reviewer APPROVE (2527 тестов pass, layer_failed логика точна, geom backfill не marking recoverable, SAVEPOINT, mig 151 idempotent)
  • ruff clean, psycopg CAST
  • post-deploy: mig 151 + опц. kick backfill_parcel_geom

Closes #252
Closes #259
Closes #200

## Summary 3 backend NSPD/cadastre фикса (DOABLE из massive-triage). - **#252**: NspdBulkServerError на 5xx + WMS ServiceException → quarter-retry; per-layer skip (layer_failed только если ВСЕ cells 5xx, network excluded → пустой слой не ложно-скип). harvest_meta флаг. - **#259**: pzz-sync-monthly beat отключён (PKK6 deprecated, pzz_zones_ekb=0, заменён alt-путём); logger.exception→warning (стоп GlitchTip BACKEND-1B). - **#200**: geom_unavailable флаг (миграция 151) + backfill_parcel_geom — лечит 930/964 NULL-geom (NSPD центроиды), остаток marks unavailable. ## Test plan - [x] code-reviewer ✅ APPROVE (2527 тестов pass, layer_failed логика точна, geom backfill не marking recoverable, SAVEPOINT, mig 151 idempotent) - [x] ruff clean, psycopg CAST - [ ] post-deploy: mig 151 + опц. kick backfill_parcel_geom Closes #252 Closes #259 Closes #200
bot-backend added 1 commit 2026-06-13 15:45:33 +00:00
fix(cadastre): NSPD 500-retry + per-layer skip (#252) + disable dead pzz-beat (#259) + geom backfill (#200)
Some checks failed
CI / changes (push) Successful in 7s
CI / frontend-tests (push) Has been skipped
CI / changes (pull_request) Successful in 6s
CI / frontend-tests (pull_request) Has been skipped
CI / backend-tests (push) Successful in 6m43s
CI / backend-tests (pull_request) Successful in 6m41s
Deploy / build-backend (push) Blocked by required conditions
Deploy / deploy (push) Blocked by required conditions
Deploy / build-worker (push) Blocked by required conditions
Deploy / build-frontend (push) Blocked by required conditions
Deploy / changes (push) Has been cancelled
1883271908
#252: NspdBulkServerError на HTTP 5xx + WMS <ServiceException>-body → quarter-level
autoretry; _grid_walk_category флагует layer_failed только если ВСЕ cells 5xx (none ok),
network-errors исключены — пустой/флапающий слой не ложно-скипается. harvest_meta.layer_X_failed.

#259: pzz-sync-monthly beat отключён (PKK6 deprecated, pzz_zones_ekb=0, заменён
zone_regulation_cache+NSPD dumps). logger.exception→warning (стоп GlitchTip BACKEND-1B),
raise сохранён для admin-endpoint.

#200: geom_unavailable флаг (миграция 151) + backfill_parcel_geom task — grid-walk
layer 36368 per quarter лечит 930/964 NULL-geom участков (NSPD search вернул центроиды),
остаток marks unavailable (не ретраить вечно). SAVEPOINT per-cell, idempotent.

Closes #252
Closes #259
Closes #200
bot-backend merged commit 1883271908 into main 2026-06-13 15:52:57 +00:00
bot-backend deleted branch fix/nspd-retry-pzz-disable-geom-backfill 2026-06-13 15:52:57 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lekss361/gendesign#1313
No description provided.