fix(market-metrics): offer-trend таймаут — warning вместо exception (ложные GlitchTip-события) #2329
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#2329
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/offer-trend-log-level"
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?
Что
Профилирование QueryCanceled на /analyze (2/сутки в GlitchTip, прод-EXPLAIN на живом hot-участке 66:41:0702048:27):
objective_lots_history→ ~7.4 ГБ буфер-трафика, 1.6с на тёплом кэше. На холодном пробивает 8с (~3% прогонов; hot-участок гоняют ~60×/день — demo/QA).logger.exceptionприLoggingIntegration(event_level=ERROR)поднимал каждое срабатывание как GlitchTip-событие.Фикс: WARNING вместо exception + комментарий-обоснование. Поведение продукта не меняется.
Корневой фикс (устранить саму медленноту) — отдельным PR database-expert: покрывающий индекс
objective_lots_history (objective_lot_id, snapshot_date, fetched_at DESC) INCLUDE (...)+ дедуп radius_lots до join. Порог 8с не поднимаем — эндпоинт синхронный.Тесты
91 passed (market_metrics/offer_trend свип), ruff clean.