docs(awooop): record t111 source freshness rollout [skip ci]

This commit is contained in:
Your Name
2026-05-20 16:37:04 +08:00
parent b7bab4abcc
commit 4a9d76d29e
2 changed files with 86 additions and 0 deletions

View File

@@ -1,3 +1,81 @@
## 2026-05-20T111 Alerts 顯示 Source provider 新鮮度,揭露 Sentry / SigNoz stale ingestion
**觸發**
- T110 已顯示 Sentry / SigNoz provider window 各有 2 筆 source events但若只顯示 `total=2`Operator 仍可能誤判為「目前 Sentry / SigNoz 持續有 ingestion」。
- Production live API 顯示 Sentry / SigNoz 最新事件在 2026-05-13目前 2026-05-20 的 Alertmanager incident 大量顯示 `Sentry 0 / SigNoz 0`,更像是 provider ingestion freshness / correlation 技術債,而不是前端漏顯。
**修正**
- `/zh-TW/alerts``來源卷宗覆蓋率` 區塊新增 provider freshness
- overall latest timestamp + age。
- top provider latest timestamp + age。
- dedicated Sentry / SigNoz window latest timestamp + age。
- 超過 24 小時未更新的 provider window 以 warning tone 顯示,讓 stale ingestion 在前端一眼可見。
- zh-TW / en i18n 補齊 freshness / stale / no-events 文案。
**Local / production verification**
```text
node JSON parse zh-TW/en messages
-> i18n json ok
pnpm --dir apps/web exec tsc --noEmit --pretty false
-> pass
pnpm --dir apps/web exec next lint --file 'src/app/[locale]/alerts/page.tsx'
-> no warnings or errors
git diff --check
-> pass
NEXT_PUBLIC_API_URL=https://awoooi.wooo.work pnpm --dir apps/web run build
-> compiled successfully, 90/90 static pages
Local Playwright http://localhost:3030/zh-TW/alerts --disable-web-security
-> overall latest 05/20 16:20 (fresh)
-> alertmanager: total 100, missing 0, Sentry 0, SigNoz 0, latest 05/20 16:20 (fresh)
-> sentry window: total 2, with refs 2, missing 0, latest 05/13 21:46 (stale 6d)
-> signoz window: total 2, with refs 2, missing 0, latest 05/13 21:46 (stale 6d)
-> screenshot /tmp/awoooi-t111-source-freshness-local.png
Production Playwright https://awoooi.wooo.work/zh-TW/alerts
-> overall latest 05/20 16:30 (fresh)
-> alertmanager: total 100, missing 0, Sentry 0, SigNoz 0, latest 05/20 16:30 (fresh)
-> sentry window: total 2, with refs 2, missing 0, latest 05/13 21:46 (stale 6d)
-> signoz window: total 2, with refs 2, missing 0, latest 05/13 21:46 (stale 6d)
-> coverage API responses all 200
-> screenshot /tmp/awoooi-t111-source-freshness-production-timeout.png
```
**Gitea deploy / smoke**
```text
Code commit:
c2bf579a feat(web): show source provider freshness on alerts
Deploy marker:
b7bab4ab chore(cd): deploy c2bf579 [skip ci]
Gitea Actions:
Code Review #1935 -> success in 11s
CD #1934 -> success via deploy marker after ~7m
```
**邊界 / 下一步**
- T111 是 visibility / diagnosis不修復 Sentry / SigNoz ingestion也不自動補舊 source refs。
- 目前前端已能說清楚Alertmanager 是 freshSentry / SigNoz source windows 是 stale 6d。下一步應盤 webhook / scheduled smoke / provider log ingestion並建立 provider freshness alert 與 incident correlation rule。
**目前整體進度**
- 首頁資料可信度:約 99.9%。
- Alerts 完整清單可追蹤性:約 99.985%。
- 前端 AI 自動化管理介面同步:約 99.985%。
- AwoooP 告警可觀測鏈:約 99.96%。
- MCP / 自建 MCP 使用證據可見性:約 99.6%。
- Execution / Ansible / PlayBook 證據可見性:約 99.3%。
- Source refs / Sentry / SigNoz 可見性:約 99.55%。
- Source provider freshness 可見性:約 99.6%;實際 Sentry / SigNoz freshness 仍不合格latest 2026-05-13。
- 低風險自動修復閉環:約 95.3%。
- 完整 AI 自動化管理產品化:約 99.5%。
## 2026-05-20T110 Alerts 顯示來源卷宗覆蓋率與 Sentry / SigNoz provider 視窗
**觸發**

View File

@@ -2466,6 +2466,14 @@ Phase 6 完成後
- 邊界T110 解決「前端看不到 provider 是否有 ingestion」問題目前證據顯示 Sentry / SigNoz provider events 存在且 source refs 完整。下一步是 incident-level correlation coverage / matching rule讓 Alertmanager incident 自動掛上對應 Sentry / SigNoz / log trace不是再修前端顯示。
- 目前進度更新:首頁資料可信度約 99.9%Alerts 完整清單可追蹤性約 99.98%;前端 AI 自動化管理介面同步約 99.98%AwoooP 告警可觀測鏈約 99.95%MCP / 自建 MCP 使用證據可見性約 99.6%Execution / Ansible / PlayBook 證據可見性約 99.3%Source refs / Sentry / SigNoz 可見性約 99.4%Source refs latest source-event 覆蓋率約 100%incident-level Sentry / SigNoz correlation 仍需補強;低風險自動修復閉環約 95.3%;完整 AI 自動化管理產品化約 99.45%。
**T111 Alerts 顯示 Source provider 新鮮度,揭露 Sentry / SigNoz stale ingestion2026-05-20 台北)**
- 觸發T110 顯示 Sentry / SigNoz provider window 各有 2 筆,但只顯示 `total=2` 仍可能讓 Operator 誤以為 provider ingestion 正常持續production API 實際顯示 Sentry / SigNoz 最新事件在 2026-05-13已與 2026-05-20 的 Alertmanager live incidents 脫節。
- 修正:`/alerts``來源卷宗覆蓋率` 區塊新增 overall/top provider/dedicated provider latest timestamp 與 age超過 24 小時未更新的 provider window 使用 warning tone。zh-TW / en i18n 補齊 freshness / stale / no-events 文案。
- 驗證i18n JSON okweb typecheck passtargeted lint no warnings/errors`git diff --check` passproduction build compiled successfully90/90 static pages。Local Playwright 使用 production API 確認 `overall latest 05/20 16:20 (fresh)``alertmanager ... latest 05/20 16:20 (fresh)``sentry window ... latest 05/13 21:46 (stale 6d)``signoz window ... latest 05/13 21:46 (stale 6d)`
- Production / CI`c2bf579a feat(web): show source provider freshness on alerts` 已推 Gitea maindeploy marker `b7bab4ab chore(cd): deploy c2bf579 [skip ci]`。ActionsCode Review #1935 success 11s、CD #1934 success via deploy marker。Production Alerts Playwright 確認 coverage API 全 200頁面可見 `overall latest 05/20 16:30 (fresh)``alertmanager ... fresh``sentry window ... stale 6d``signoz window ... stale 6d`screenshot `/tmp/awoooi-t111-source-freshness-production-timeout.png`
- 邊界T111 是 visibility / diagnosis不修復 Sentry / SigNoz ingestion、不補舊 refs、不建立自動 matching rule。現階段可明確對統帥說Alertmanager source flow 是 freshSentry / SigNoz source windows 是 stale下一步需盤 webhook / provider ingestion / freshness alert再做 incident-level correlation rule。
- 目前進度更新:首頁資料可信度約 99.9%Alerts 完整清單可追蹤性約 99.985%;前端 AI 自動化管理介面同步約 99.985%AwoooP 告警可觀測鏈約 99.96%MCP / 自建 MCP 使用證據可見性約 99.6%Execution / Ansible / PlayBook 證據可見性約 99.3%Source refs / Sentry / SigNoz 可見性約 99.55%Source provider freshness 可見性約 99.6%,實際 Sentry / SigNoz freshness 仍不合格;低風險自動修復閉環約 95.3%;完整 AI 自動化管理產品化約 99.5%。
---
### 2026-04-20 晚 (台北) — C1-C4 全流程串接 — Playbook 鏈路保護commit de2d34d