守住 scheduler 失敗告警覆蓋

This commit is contained in:
OoO
2026-05-13 11:13:13 +08:00
parent 497c376b1d
commit b22cbb2aa0
2 changed files with 33 additions and 0 deletions

View File

@@ -31,6 +31,7 @@
- `app.py``SYSTEM_VERSION` 已從 `config.py` importapp 內只留版本註解。
- V2 提到的 `app.py` 死 import 與 `scheduler.py import schedule` 已不成立;`app.py` 仍使用 `schedule.run_pending()` 等呼叫。
- Cron 盲區清單多數已補 `_notify_scheduler_failure()`ROI 月報已避開 09:00 改 09:05AI smoke 已是 09:10。
- V2 指出的 9 個 cron 盲區已補回歸守門8 個 `run_scheduler.py` wrapper 必須呼叫 `_notify_scheduler_failure()``scheduler.py::run_promo_event_task` 必須呼叫 `notify_failure()`
- 0-byte `database/momo*.db` 迷惑檔已不存在;真實 SQLite 僅在 `data/momo_database.db`
- `.gitignore` 已涵蓋 `.claude/worktrees/``.tmp_*``MOMO Pro/`、uploads/screenshots。
- `cache_service.py` 已成為 `cache_manager.py` 的相容 shim`_SALES_CACHE_TTL` 單一來源有測試鎖住。
@@ -87,3 +88,4 @@
- `f44c429` 補強 AI logger best-effort 診斷
- `8a36856` 補強 Telegram callback 診斷
- `5b52af9` 補強 cache best-effort 診斷
- `497c376` 記錄 AI smoke service 入口驗證