OG T
581b244ad1
CD Pipeline / build-and-deploy (push) Has been cancelled
feat(Phase 5 Sprint 5.1): Telegram callback_handler 接上 dispatcher
整合點: _handle_callback_query 未知 action fallback 路徑
變更:
1. Line 2601 原「⚠️ 未知操作」改呼叫 _dispatch_category_action()
2. 新增 _dispatch_category_action() method:
- 查 callback_action_spec registry
- 若 action 不存在 → 回「未知操作」(行為不變)
- 若存在 → acknowledge + 從 incident 取 labels + dispatch + reply 原卡片
效果:
- check_process / check_port / check_log_* / check_health / open_signoz /
open_flywheel 等 10 個查類按鈕現在有完整 flow(雖 Sprint 5.2 還沒接 MCP,但 stub 會 reply)
- 當 CD 部署 + Sprint 5.2 實裝 MCP 接線後,查類按鈕自動上線
Sprint 5.1 DOD:
- ✅ callback_handler 接線 _dispatch_category_action
- ✅ Dispatcher 讀 incident labels 替換模板變數
- ✅ Reply to 原告警卡片(Redis tg_msg lookup)
- ⏳ MCP 實際執行(Sprint 5.2)
回歸測試: 109/109
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-14 20:41:22 +08:00
..
2026-03-25 16:08:49 +08:00
2026-04-09 15:05:16 +08:00
2026-03-25 09:26:58 +08:00
2026-03-28 18:51:52 +08:00
2026-03-26 16:06:20 +08:00
2026-04-03 13:22:36 +08:00
2026-04-03 13:22:36 +08:00
2026-04-14 19:37:03 +08:00
2026-04-12 22:50:20 +08:00
2026-04-14 14:39:14 +08:00
2026-04-14 18:43:29 +08:00
2026-04-07 13:13:42 +08:00
2026-04-14 20:38:00 +08:00
2026-04-14 19:03:38 +08:00
2026-03-31 16:25:00 +08:00
2026-04-11 22:05:52 +08:00
2026-04-09 12:26:18 +08:00
2026-04-14 20:34:14 +08:00
2026-04-14 20:34:14 +08:00
2026-04-10 22:35:37 +08:00
2026-03-29 16:00:46 +08:00
2026-03-26 15:32:52 +08:00
2026-03-29 15:57:04 +08:00
2026-03-23 23:51:37 +08:00
2026-04-14 20:06:05 +08:00
2026-03-26 21:55:50 +08:00
2026-04-05 00:39:29 +08:00
2026-04-04 12:35:05 +08:00
2026-04-05 12:11:05 +08:00
2026-04-11 20:45:53 +08:00
2026-04-12 20:20:47 +08:00
2026-04-05 00:22:38 +08:00
2026-03-22 18:57:44 +08:00
2026-04-11 20:45:53 +08:00
2026-03-29 16:00:46 +08:00
2026-04-09 19:10:27 +08:00
2026-03-31 12:23:02 +08:00
2026-04-12 18:45:40 +08:00
2026-04-12 22:45:09 +08:00
2026-03-31 16:06:35 +08:00
2026-04-01 11:11:50 +08:00
2026-03-24 12:57:36 +08:00
2026-03-31 16:06:35 +08:00
2026-04-12 22:52:05 +08:00
2026-04-09 23:36:36 +08:00
2026-04-07 11:17:40 +08:00
2026-04-11 20:45:53 +08:00
2026-03-26 19:25:52 +08:00
2026-03-31 22:47:54 +08:00
2026-03-31 22:47:54 +08:00
2026-04-14 18:25:15 +08:00
2026-03-29 22:17:27 +08:00
2026-03-31 11:23:38 +08:00
2026-03-26 21:55:50 +08:00
2026-04-12 17:52:57 +08:00
2026-04-03 14:40:27 +08:00
2026-04-10 10:43:53 +08:00
2026-04-11 20:45:53 +08:00
2026-04-02 09:02:41 +08:00
2026-03-31 18:55:06 +08:00
2026-04-11 20:45:53 +08:00
2026-04-11 20:45:53 +08:00
2026-03-26 10:01:57 +08:00
2026-04-09 10:52:40 +08:00
2026-03-26 12:49:30 +08:00
2026-04-09 14:55:04 +08:00
2026-03-31 16:06:35 +08:00
2026-04-14 20:38:00 +08:00
2026-04-06 11:46:05 +08:00
2026-04-10 11:35:10 +08:00
2026-04-04 12:02:03 +08:00
2026-04-10 21:52:38 +08:00
2026-04-14 15:19:54 +08:00
2026-04-08 16:36:18 +08:00
2026-04-09 18:34:50 +08:00
2026-03-26 16:03:16 +08:00
2026-04-14 18:46:25 +08:00
2026-03-29 16:00:46 +08:00
2026-04-04 12:35:05 +08:00
2026-04-05 13:40:52 +08:00
2026-03-29 15:27:49 +08:00
2026-04-01 16:20:57 +08:00
2026-04-08 21:47:38 +08:00
2026-03-26 13:06:47 +08:00
2026-03-26 15:32:52 +08:00
2026-03-29 15:27:49 +08:00
2026-04-14 20:41:22 +08:00
2026-03-30 01:52:59 +08:00
2026-03-24 09:20:56 +08:00
2026-03-26 16:06:20 +08:00
2026-03-26 22:13:10 +08:00
2026-04-08 16:36:18 +08:00
2026-04-07 13:02:20 +08:00