All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 11m28s
- alert_rule_engine.py: 新增 get_incident_type(alertname) 優先從 YAML 規則 match.alertname 查找 incident_type/rule_id Fallback: ALERTNAME_TO_TYPE 靜態 dict → "custom" - webhooks.py: alert_type 改用 get_incident_type(alertname) 取代 ALERTNAME_TO_TYPE.get() 靜態查找 - YAML 規則 19 條 alertname 覆蓋自動生效(無需手改 dict) - 新 alertname 觸發 generic_fallback → auto_generate_rule() 後自動加入 YAML Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>