diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index 27edf694..ace54e4b 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -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 對齊 **完成內容**: