fix(cd): keep log intelligence readback on controlled profile
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 23s
CD Pipeline / build-and-deploy (push) Successful in 8m21s
CD Pipeline / post-deploy-checks (push) Successful in 1m8s

This commit is contained in:
Your Name
2026-06-29 20:47:34 +08:00
parent e55840f280
commit 23333a7819
3 changed files with 35 additions and 0 deletions

View File

@@ -17,6 +17,20 @@
**邊界**:此輪沒有保存 payload、沒有讀 credential、沒有寫 escrow marker、沒有 backup / restore / offsite sync、沒有 workflow trigger、沒有 host/K8s write、沒有讀 raw session / SQLite / auth / `.env`、沒有使用 GitHub / `gh` / GitHub API。
## 2026-06-29 — 20:45 CD profile fix for log intelligence runtime sample
**完成內容**
- Gitea CD #3959 失敗定位為 `fa41bd9e feat(api): attach log intelligence runtime sample` 未納入 controlled-runtime allowlist導致 tests job 走 full profile 並進 B5。
- `.gitea/workflows/cd.yaml``ai_agent_log_intelligence_integration_readback.py`、對應 API test 與 `ai-agent-log-intelligence-runtime-sample-readback.snapshot.json` 納入 controlled-runtime path、py_compile 與 focused pytest。
- `ops/runner/test_cd_controlled_runtime_profile.py` 補回歸測試,鎖住 log intelligence readback 窄修不得掉 B5。
**驗證結果**
- `pytest apps/api/tests/test_ai_agent_log_intelligence_integration_readback_api.py`3 passed。
- `pytest ops/runner/test_cd_controlled_runtime_profile.py`15 passed。
- `guard-gitea-runner-pressure.py``check-gitea-step-env-secrets.js``git diff --check`:通過。
**邊界**:未觸發 workflow_dispatch未操作 host / Docker / K8s / DB未使用 GitHub / `gh` / GitHub API未讀 secret / token / raw sessions / SQLite。
## 2026-06-29 — 20:30 P0-006 CD failure closeout
**照優先順序處理**