fix(workers): schedule mv_layout_velocity refresh (#1666) #1669

Merged
lekss361 merged 1 commit from fix/1666-layout-velocity-beat into main 2026-06-17 17:12:55 +00:00
Collaborator

Закрывает #1666 (gap-анализ site-finder, partial-UNtracked).

mv_layout_velocity (питает best_layouts #113) рефрешился только ручным refresh_layout_velocity() → в проде молча устаревал. Добавлен Celery-таск (зеркало refresh_quarter_price_index), регистрация в celery_app.include, beat-entry refresh-layout-velocityВс 03:00 МСК (вне monday-кластера тяжёлых рефрешей).

Verify: py_compile 3/3; build_beat_schedule() собирается (27 entries, новая запись присутствует); ruff clean.

Closes #1666

Закрывает #1666 (gap-анализ site-finder, partial-UNtracked). `mv_layout_velocity` (питает best_layouts #113) рефрешился только ручным `refresh_layout_velocity()` → в проде молча устаревал. Добавлен Celery-таск (зеркало `refresh_quarter_price_index`), регистрация в `celery_app.include`, beat-entry `refresh-layout-velocity` — **Вс 03:00 МСК** (вне monday-кластера тяжёлых рефрешей). Verify: py_compile 3/3; `build_beat_schedule()` собирается (27 entries, новая запись присутствует); ruff clean. Closes #1666
bot-backend added 1 commit 2026-06-17 13:40:30 +00:00
fix(workers): schedule mv_layout_velocity refresh in Celery beat (#1666)
All checks were successful
CI / backend-tests (push) Successful in 8m49s
CI / backend-tests (pull_request) Successful in 8m52s
CI / changes (push) Successful in 6s
CI / frontend-tests (push) Has been skipped
CI / changes (pull_request) Successful in 8s
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (push) Successful in 1m57s
CI / openapi-codegen-check (pull_request) Successful in 1m55s
7276edc885
mv_layout_velocity (powers best_layouts, #113) refreshed only via manual
refresh_layout_velocity() → prod data silently went stale. Add Celery task
mirroring refresh_quarter_price_index, register in celery_app include, add
weekly beat entry (Sun 03:00 MSK, outside the monday heavy-refresh cluster).

Closes #1666
lekss361 merged commit 184e429526 into main 2026-06-17 17:12:55 +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#1669
No description provided.