docs(recovery): log gitea cd classifier fix
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 32s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
Your Name
2026-07-01 16:37:59 +08:00
parent 5d0c1acfb3
commit 7f0e4c53a2

View File

@@ -51634,6 +51634,28 @@ production browser smoke:
- 沒有使用 GitHub / gh / GitHub API / GitHub Actions。
- 沒有重啟主機,沒有 Docker / Nginx / K3s / DB restart沒有 workflow_dispatch沒有 DROP / TRUNCATE / restore / prune。
## 2026-07-01 — 16:44 Gitea CD #4265 tests failure classifier sync
**完成內容**
- Gitea main 已 fast-forward 到 `8af9789de fix(ci): harden harbor repair ssh timeouts`,公開 Actions readback 顯示最新 CD `#4265` 失敗點不是 repo / runner 消失,而是 `tests` job 內的 `test_ai_agent_log_intelligence_integration_loader_maps_all_lanes`
- 失敗原因runtime sample snapshot 已把 110 SSH P0 blocker 分類為 `remote_ssh_server_accepts_key_then_session_timeout=true`,但測試仍期待 `false`,造成 controlled-runtime profile fail-fast。
- 已同步 `apps/api/tests/test_ai_agent_log_intelligence_integration_readback_api.py`,保留 `remote_ssh_auth_permission_denied=false`,避免把真密碼 / 權限錯誤誤歸類成 session timeout。
**本地驗證結果**
- `DATABASE_URL=postgresql://test:test@localhost:5432/test PYTHONPATH=apps/api python3.11 -m pytest apps/api/tests/test_agent_replay_normalizer.py apps/api/tests/test_ai_agent_log_intelligence_integration_readback_api.py -q``8 passed`
- `python3.11 -m pytest ops/runner/test_cd_controlled_runtime_profile.py -q``36 passed`
- `python3 ops/runner/guard-gitea-runner-pressure.py --root .`:通過,`auto_branch_events_on_110=0``generic_runner_labels=0`
- `node scripts/ci/check-gitea-step-env-secrets.js`:通過。
- `git diff --check`:通過。
**仍維持**
- 沒有讀 secret / token / `.env` / raw sessions / SQLite / auth沒有讀 `.runner` 內容。
- 沒有使用 GitHub / gh / GitHub API / GitHub Actions。
- 沒有重啟主機,沒有 Docker / Nginx / K3s / DB restart沒有 workflow_dispatch沒有 DROP / TRUNCATE / restore / prune。
**下一步**
- commit / push 後讀回 Gitea Actions 新 run若 tests 過但 build / deploy 仍失敗,繼續沿同一條 CD readback 修復,不切支線。
## 2026-07-01 — 08:55 Truth-chain hot lookup helper test 對齊
**完成內容**