fix(adr075): webhooks send_approval_card 補傳 alert_category+notification_type
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
斷點真正根因:_push_to_telegram_background 呼叫 send_approval_card() 時沒有傳入 alert_category 和 notification_type,導致動態按鈕永遠 fallback 到通用 [批准][拒絕][靜默]。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -395,6 +395,9 @@ async def _push_to_telegram_background(
|
||||
ai_cost=ai_cost,
|
||||
ai_provider=ai_provider,
|
||||
incident_id=incident_id,
|
||||
# ADR-075 斷點 B 修復: 傳入分類以啟用動態按鈕
|
||||
alert_category=alert_category,
|
||||
notification_type=notification_type,
|
||||
)
|
||||
|
||||
logger.info(
|
||||
|
||||
Reference in New Issue
Block a user