feat(runner): classify current cd non110 queue readiness
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 40s
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 08:22:17 +08:00
parent 52d91d256d
commit 78a6ab347a
5 changed files with 280 additions and 1 deletions

View File

@@ -51094,3 +51094,24 @@ production browser smoke:
**下一步**
- commit / push 後讀回 Gitea queueruntime 若仍卡 Harbor 502 與 `awoooi-host` no matching下一個主線仍是 110 controlled lane verifier / registration receipt不恢復 generic runner。
## 2026-07-01 — 08:20 Gitea queue current CD / non110 runner readiness classifier
**完成內容**
- live queue 在 `fix(cd): keep recovery receipts on controlled profile` 後轉為 CD `#4191 Waiting`、Harbor repair `#4190 Waiting`labels 變成 `awoooi-non110-ubuntu` / `awoooi-non110-host`;本輪把這個新狀態從舊 `harbor_110` 泛稱中拆出。
- `read-public-gitea-actions-queue.py` 新增 `latest_visible_cd_run_waiting``latest_visible_cd_no_matching_runner_label``controlled_profile_no_matching_runner_labels``controlled_profile_no_matching_runner_label_count` 與 status `blocked_current_cd_workflow_waiting_for_runner_or_queue`
- `harbor-registry-controlled-recovery-receipt` ingestion 新增 current-CD waiting / no-matching blockers`gitea_queue_current_cd_no_matching_runner``gitea_queue_current_cd_waiting_for_runner_or_queue`,並在 normalized classifier fields 中動態加入 `current_cd_workflow_runner_readiness`
- 舊 `harbor_110_*` 欄位保留相容;新欄位只在 current CD waiting / no-matching 出現時追加,避免破壞既有下游。
**本地驗證結果**
- Focused suite`109 passed`
- `ruff check``py_compile``ops/runner/guard-gitea-runner-pressure.py --root .``scripts/ci/check-gitea-step-env-secrets.js``git diff --check`:通過。
- runner pressure guard 仍讀回 `auto_branch_events_on_110=0``generic_runner_labels=0`
**仍維持**
- 沒有讀 secret / token / `.env` / raw sessions / SQLite / auth沒有讀 `.runner` 內容。
- 沒有使用 GitHub / gh / GitHub API / GitHub Actions。
- 沒有重啟主機,沒有 Docker / Nginx / K3s / DB restart沒有 workflow_dispatch沒有 runtime write。
**下一步**
- commit / push 後讀回最新 queue若 CD / Harbor repair 仍 Waiting下一個主線是 non110 controlled runner readiness receipt / registration evidence而不是恢復 110 generic runner。