Files
awoooi/apps/api/src
OG T a07daf7e3f
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
fix(incidents): GET /incidents 加 48h age filter,阻止舊 incident 反覆觸發 AI 分析
根本原因: DECISION_TOKEN_TTL=3600s → 舊 incident token 每小時過期
→ GET /api/v1/incidents 重複觸發 get_or_create_decision → OPENCLAW_NEMO timeout
→ Expert System fallback (confidence=20%) → Telegram 洪水

修復: 只對 created_at 在 48h 內的 incident 觸發背景 AI 分析
48h+ 的舊 incident 不再觸發(仍顯示在列表,只是不重新分析)

2026-04-16 Claude Sonnet 4.6 Asia/Taipei

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 02:21:53 +08:00
..