This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
- Observability route:promotion review RAG 相似查詢、PPT audit history 缺表、host health probe 寫入、MCP 24h summary 缺表等 fail-safe 區塊已改成 debug/warning log,不再完全靜默。
|
||||
- Google Drive import:`services/import_service.py` 的日期 `IN (...)` 刪除/驗證查詢已改為 SQLAlchemy bind params,不再把 DataFrame 日期值拼進 SQL 字串。
|
||||
- OpenClaw Bot:中文字型下載、趨勢同期 DB 查詢、匯入格式業績預覽解析等 best-effort 區塊已補 debug/exception/warnings,避免真正錯誤完全無跡可查。
|
||||
- Telegram polling bot:舊 callback 正規化失敗、空 `momo:eig:` event_id 回覆失敗仍保持 fail-safe,但已補 debug log。
|
||||
- `ai_call_logger._write_to_db` 不是死函數:它是 `_async_write()` 的 daemon thread target;decorator token 自動抽取與 stack caller 推斷的 best-effort 失敗也已補 debug log。
|
||||
|
||||
## 已驗證為已修或過期
|
||||
@@ -81,3 +82,4 @@
|
||||
- `7e92850` 記錄 Agent Actions 動態入口驗證
|
||||
- `89c400d` 補上 OpenClaw best-effort 區塊紀錄
|
||||
- `ec5a22d` 記錄 Telegram pending action 驗證
|
||||
- `f44c429` 補強 AI logger best-effort 診斷
|
||||
|
||||
@@ -496,7 +496,7 @@ class TrendTelegramBot:
|
||||
elif data.startswith('cmd_'):
|
||||
data = f"cmd:{data[4:]}"
|
||||
except Exception:
|
||||
pass
|
||||
logger.debug("OpenClaw callback normalization failed", exc_info=True)
|
||||
dedupe_key = _build_polling_callback_dedupe_key()
|
||||
|
||||
if is_global_duplicate_update(dedupe_key, namespace="telegram_update"):
|
||||
@@ -608,7 +608,7 @@ class TrendTelegramBot:
|
||||
try:
|
||||
await query.answer("event_id 缺失,忽略動作未生效", show_alert=False)
|
||||
except Exception:
|
||||
pass
|
||||
logger.debug("empty event_id callback answer failed", exc_info=True)
|
||||
logger.warning("[EA HITL] empty event_id callback rejected: %r", data)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user