From 909849f920c06fb22fde5303fd1939c0d117d72b Mon Sep 17 00:00:00 2001 From: xiaoxing0135 <706015750@qq.com> Date: Thu, 28 May 2026 03:14:16 +0800 Subject: [PATCH] =?UTF-8?q?chore(ci):=20=E5=88=A0=E9=99=A4=20synthetic-mon?= =?UTF-8?q?itor=20(monitoring=20theater=20+=20long-red)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因 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 假装。 --- .github/workflows/synthetic-monitor.yml | 43 ------------------------- 1 file changed, 43 deletions(-) delete mode 100644 .github/workflows/synthetic-monitor.yml diff --git a/.github/workflows/synthetic-monitor.yml b/.github/workflows/synthetic-monitor.yml deleted file mode 100644 index a11ec5d..0000000 --- a/.github/workflows/synthetic-monitor.yml +++ /dev/null @@ -1,43 +0,0 @@ -# Multi‑region synthetic monitoring — runs tagent demo on schedule across regions -name: Synthetic Monitor - -permissions: - contents: read - -on: - schedule: - - cron: "7 */6 * * *" # every 6 hours, off‑peak minute - workflow_dispatch: - -jobs: - monitor: - name: "smoke ${{ matrix.region }}" - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - region: [us-east, us-west, eu-west, ap-southeast] - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 - with: - python-version: "3.11" - - - name: Install runtime - run: pip install -e runtime/ - - - name: Run demo (smoke) - run: tagent demo -y - env: - TAGENT_LLM_PROVIDER: stub - - - name: Run selftest - run: tagent selftest --e2e - env: - TAGENT_LLM_PROVIDER: stub - - - name: Report status - if: failure() - run: | - echo "::warning::Synthetic monitor FAILED in ${{ matrix.region }}"