Skip to content

chore(ci): 删除 synthetic-monitor (monitoring theater + 长期红)#155

Merged
Wool-xing merged 1 commit into
mainfrom
chore/remove-fake-synthetic-monitor
May 27, 2026
Merged

chore(ci): 删除 synthetic-monitor (monitoring theater + 长期红)#155
Wool-xing merged 1 commit into
mainfrom
chore/remove-fake-synthetic-monitor

Conversation

@Wool-xing
Copy link
Copy Markdown
Owner

目标

删除 .github/workflows/synthetic-monitor.yml —— monitoring theater,长期红,无真实价值。

诊断

1. 表面问题(依赖缺失)

pip install -e runtime/ 只装 runtime 自身依赖,跑 utils/ 时缺 openpyxl / factory-boy → 每次跑都 ModuleNotFoundError。

2. 设计层问题(核心)

  • 4 "region" 全部跑同一台 GitHub-hosted Ubuntu runnermatrix.region 只是 label,没有真分发到 us-east/us-west/eu-west/ap-southeast)
  • 每 6 小时 × 4 假区 = 16 个红 run / 天,吃 Actions minutes + 制造告警噪音
  • 与 V1.43.0「防 mock 闭环 / 诚实化」主线冲突 —— monitoring theater 是 mock 的另一种形态

3. 已被 selftest-weekly 完整覆盖

维度 synthetic-monitor selftest-weekly
selftest --e2e ✅ stub LLM ✅ 真 LLM (Claude)
频率 6 小时 (16 红/天) 周一 03:00 UTC
区域 假(4 region 同 runner) 单 region (诚实)
依赖装齐 ❌ 缺 openpyxl/factory-boy ✅ config/requirements.txt
Artifact 留存 ✅ 90 天
真 LLM probe ✅ doctor --probe

处置

直接删除 synthetic-monitor.yml。selftest-weekly.yml 保留 smoke + e2e 覆盖。

不在本 PR 范围

  • 如果未来真需要多 region synthetic monitoring,单独设计 + 真实跨地域分发(Vercel / Cloudflare Workers / 第三方监控服务),不再以 GitHub Actions matrix 假装。

根因 1 (表面): pip install -e runtime/ 不装 utils/ 依赖 (openpyxl/factory-boy) → 每跑必 ModuleNotFoundError。
根因 2 (设计): 4 region matrix 全跑同一 GitHub-hosted Ubuntu,假分发,无真实多地域监控价值。
根因 3 (重复): selftest-weekly.yml 已覆盖 smoke + 真 LLM e2e + artifact 保留, synthetic-monitor 是其劣化版。

每 6 小时 × 4 假 region = 16 红 run/天,长期吃 Actions minutes + 噪音。
与 V1.43.0 防 mock / 诚实化主线相悖 (monitoring theater = mock 变体)。

未来若真需多 region 监控,走真实跨地域分发 (Vercel/CF Workers/外部监控),不再 matrix 假装。
@Wool-xing Wool-xing merged commit bbaef75 into main May 27, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant