ogt
|
f64174106b
|
fix(ai): restore bounded alert automation fallback
|
2026-07-11 10:44:53 +08:00 |
|
Your Name
|
2ec7f6f440
|
fix(ops): harden heartbeat and momo alert noise
Code Review / ai-code-review (push) Successful in 14s
Deploy Alert Rules / Deploy Prometheus Alert Rules (push) Successful in 31s
CD Pipeline / tests (push) Successful in 1m59s
CD Pipeline / build-and-deploy (push) Successful in 7m36s
CD Pipeline / post-deploy-checks (push) Failing after 43s
Ansible / Reboot Recovery Contract / validate (push) Has been cancelled
|
2026-06-24 19:38:33 +08:00 |
|
Your Name
|
a84a5a0bc4
|
fix(api): suppress healthy Telegram heartbeat noise
Code Review / ai-code-review (push) Successful in 18s
CD Pipeline / tests (push) Successful in 1m53s
CD Pipeline / build-and-deploy (push) Successful in 10m32s
CD Pipeline / post-deploy-checks (push) Failing after 38s
|
2026-06-24 02:00:25 +08:00 |
|
Your Name
|
1276149114
|
test(alerts): 對齊心跳告警 SRE 群組契約
CD Pipeline / tests (push) Successful in 1m37s
Code Review / ai-code-review (push) Successful in 14s
CD Pipeline / build-and-deploy (push) Successful in 4m0s
CD Pipeline / post-deploy-checks (push) Successful in 1m39s
|
2026-06-12 11:11:00 +08:00 |
|
Your Name
|
8fb0c5df33
|
feat(heartbeat): noise reduction — silent 6h + warnings hash dedup
Code Review / ai-code-review (push) Successful in 47s
CD Pipeline / tests (push) Successful in 2m11s
CD Pipeline / build-and-deploy (push) Failing after 31m12s
CD Pipeline / post-deploy-checks (push) Has been skipped
P0 #4 (徹底長期修系列) — 統帥鐵證:「INFO | AWOOOI 系統報告」每 30 分鐘
推一次,一天 48 條同樣內容,即使我修了 P0 #3 假警報,每天的「全系統正常」
重複推送本身就是噪音,讓統帥誤以為告警還在重複。
修法(不違反「監控工具必須被監控」鐵律 — 健康狀態仍每 6h 推 1 次「我活著」):
| 狀況 | 推送行為 |
|------|---------|
| 健康(無 warnings)| 6h 內最多 1 次「我活著」訊號 |
| 有 warnings 跟上次同 hash | 跳過 |
| 有 warnings 跟上次不同 | 立即推送(新狀況不漏)|
| 健康 ↔ 有事 切換 | 自動清掉相反 marker |
Redis keys:
- `heartbeat:silent_last_sent` — 健康狀態 silent marker, TTL=6h
- `heartbeat:warnings_hash` — 上次 warnings 的 md5[:12], TTL=24h
效果:統帥每天從 48 條 heartbeat → ~4 條(健康狀態 4×6h),有事立即推。
Tests: 6 passed (test_heartbeat_dedup_p0_4.py)
- healthy_first_send_goes_through
- healthy_second_send_within_6h_skipped
- warnings_unchanged_skipped
- warnings_changed_pushes
- warnings_to_healthy_clears_warnings_hash
- healthy_to_warnings_clears_silent_marker
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-03 01:48:57 +08:00 |
|