ci: 移除 Alert Chain + Monitoring Coverage 的 continue-on-error
Some checks failed
CD Pipeline / build-and-deploy (push) Failing after 1m55s
Some checks failed
CD Pipeline / build-and-deploy (push) Failing after 1m55s
告警鏈路失敗 / 覆蓋率不足 → 阻塞部署 (B5 技術債清除) 保留: SSH scp 188 (網路不穩) + E2E Playwright (瀏覽器環境) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -423,9 +423,9 @@ jobs:
|
||||
# Phase O-4.5 2026-04-02: Alert Chain Smoke Test (Wave A.6 + B.2 ADR-037)
|
||||
# 驗證告警鏈路 E2E: API Health + Webhook + OTEL + Event Exporter
|
||||
# 2026-04-05 Claude Code cache優化: 使用 /opt/api-venv (已有 requests),移除 Setup Python Tools step
|
||||
# 2026-04-10 ogt: 移除 continue-on-error — 告警鏈路失敗必須阻塞部署
|
||||
- name: Alert Chain Smoke Test
|
||||
id: alert_chain_smoke
|
||||
continue-on-error: true
|
||||
run: |
|
||||
# 2026-04-05 Claude Code: 使用真實 API 地址(192.168.0.121:32334 NodePort)
|
||||
# CI job container 的 localhost 不等於 K3s 節點,必須用內網 IP
|
||||
@@ -438,10 +438,9 @@ jobs:
|
||||
|| echo "alert_chain_status=fail" >> $GITHUB_OUTPUT
|
||||
|
||||
# Phase O-5 Wave C.2 2026-04-02 ogt: 監控覆蓋率驗證 (generate_monitoring.py --check)
|
||||
# continue-on-error: true — 覆蓋率不足不阻塞部署,但反映在 TG 通知
|
||||
# 2026-04-10 ogt: 移除 continue-on-error — 覆蓋率不足必須阻塞部署
|
||||
- name: Monitoring Coverage Check
|
||||
id: monitoring_coverage
|
||||
continue-on-error: true
|
||||
run: |
|
||||
source /opt/api-venv/bin/activate
|
||||
python3 scripts/generate_monitoring.py --check && echo "coverage_status=pass" >> $GITHUB_OUTPUT || echo "coverage_status=fail" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user