OG T
4b3fdd82f9
CD Pipeline / build-and-deploy (push) Has been cancelled
fix(api): incidents list 不再同步等待 AI 決策 (效能修復)
問題: GET /api/v1/incidents 對每個 incident await AI 分析 (120-180s)
多個活躍 incident 時 timeout 乘積爆炸 → 前端完全無法載入
修復:
- list endpoint 只查 Redis 已快取的決策 token (立即返回)
- 無快取時回 decision=null,背景 fire-and-forget 觸發 AI
- 前端對有興趣的 incident 再 GET 單筆端點取得決策結果
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 10:49:30 +08:00
..
2026-03-26 16:06:20 +08:00
2026-04-08 16:24:09 +08:00
2026-03-29 21:16:50 +08:00
2026-04-09 10:49:30 +08:00
2026-04-09 09:01:59 +08:00
2026-04-05 01:00:31 +08:00
2026-03-22 18:57:44 +08:00
2026-04-09 09:05:23 +08:00
2026-03-22 18:57:44 +08:00
2026-04-07 16:00:12 +08:00
2026-04-09 09:12:42 +08:00
2026-03-29 15:27:49 +08:00
2026-04-08 22:59:53 +08:00
2026-04-08 17:06:44 +08:00
2026-03-22 18:57:44 +08:00
2026-04-02 00:23:29 +08:00