feat(workers): supply-layers refresh task + weekly beat (#950 Step 5) #1005
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#1005
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/950d-supply-layers-worker"
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?
Site Finder v2 / EPIC 6 — #950 Step 5. Детерминированный, без LLM. Часть #944.
Celery-таск
tasks.supply_layers_refreshсчитает L1/L2/L3 по каждому district Свердловской черезsupply_layers.compute_all_layersи UPSERT-ит вsupply_layers(m.125) поuq_supply_layers_logical, обновляя все mutable-колонки (никогда key).date.today()на весь батч → same-day re-run идемпотентен.objective_lots.district+domrf_kn_objects.district_name region_cd=66(не хардкод 8 имён).11 unit-тестов (ON CONFLICT contract + savepoint + coherent snapshot). code-reviewer opus OK (UPSERT/NULLS-NOT-DISTINCT точно совпадает с constraint, binds выровнены 1:1). Refs #950