fix(reboot): surface windows99 vmx execution readiness
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled

This commit is contained in:
Your Name
2026-07-03 12:01:51 +08:00
parent a7ee6d926e
commit df42c32b22
3 changed files with 103 additions and 1 deletions

View File

@@ -1,3 +1,18 @@
## 2026-07-03 — 11:58 Windows99 VMX package execution readiness 防誤判
**完成內容**
- Production `/api/v1/agents/windows99-vmx-source-repair-package` 已讀回 `package_ready=true``missing_vmx_aliases=["111"]``work_order_id=windows99-vmx-source-repair-111``check_mode_allowed_by_this_package=true``apply_allowed_by_this_package=false``vm_power_change_allowed=false``destructive_restore_allowed=false`
- no-secret collector check artifact`/tmp/awoooi-windows99-vmx-checkmode-20260703-115534`。預設 5 個使用者與擴大 19 個使用者候選均固定 `BatchMode=yes`、no password prompt、no remote write、no VM power change結果仍為 `verify_collection_status=blocked_ssh_publickey_auth_missing``ssh_batchmode_auth_ready=0`
- Windows99 management-channel probe 交叉確認host / RDP / Hyper-V VMConnect 可達WinRM 關閉SSH BatchMode `permission_denied``remote_execution_channel_ready=false``can_collect_vmware_verify_without_secret=false`
- `windows99-vmx-source-repair-package` 補上 execution readiness 欄位collector readback、management channel readiness、SSH batch status、console channel、`collector_management_channel_conflict``effective_check_mode_execution_ready`。避免 operator 看到 `package_ready=true` 就誤判為可執行 apply。
**已跑驗證**
- Production package / priority / reboot readbackVMX package ready 且 priority/reboot rollup 同步。
- `collect-windows99-vmware-verify.sh --check`、expanded users check 與 `windows99-management-channel-probe.py`:均為 no-secret / no-write / no-VM-power。
**仍維持**
- 未讀 secret / token / `.env` / raw sessions / SQLite / auth未使用 GitHub / gh未 workflow_dispatch未啟動或關閉 VM未重啟 host / service未 Docker / Nginx / K3s / DB / firewall restart未 DROP / TRUNCATE / restore / prune / delete / force push。
## 2026-07-03 — 11:05 Windows99 VMX package CLI 收斂到 scorecard API
**完成內容**