fix(reboot): surface vmx locator execution readiness
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 2m19s
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-03 12:40:36 +08:00
parent 676042c188
commit d74516f2cd
5 changed files with 138 additions and 3 deletions

View File

@@ -1,3 +1,18 @@
## 2026-07-03 — 12:36 Windows99 VMX locator effective collect readiness 防誤判
**完成內容**
- Production `/api/v1/agents/windows99-vmx-source-locator-readback` 已讀回 locator package`status=check_mode_locator_ready_windows99_vmx_source_required``target_vm_aliases=["111"]``next_executable_step=run_no_secret_windows99_vmx_source_locator_collect``raw_path_output=false``path_fingerprint_only=true``file_content_read=false``remote_write_performed=false``vm_power_change_performed=false`
- 實跑 no-secret locator check artifact`/tmp/awoooi-windows99-vmx-source-locator-20260703-123620`。結果:`port_22_open=1``port_3389_open=1``ssh_auth_probed_users=19``ssh_batchmode_auth_ready=0``locator_collection_status=blocked_ssh_publickey_auth_missing`
- `windows99-vmx-source-locator-readback` 補上 `management_channel_ready``ssh_batch_ready``ssh_batch_status``effective_locator_collect_ready``locator_collect_blocker``awoooi-priority-work-order-readback` 同步上卷,避免 operator 看到 `locator_check_mode_ready=true` 就誤判為可執行 collect。
**已跑驗證**
- `DATABASE_URL=postgresql+asyncpg://test:test@localhost/test PYTHONPATH=apps/api python3.11 -m pytest apps/api/tests/test_windows99_vmx_source_locator_readback_api.py apps/api/tests/test_awoooi_priority_work_order_readback_api.py apps/api/tests/test_windows99_vmx_source_repair_package_api.py -q -p no:cacheprovider``23 passed`
- `python3.11 -m py_compile apps/api/src/services/windows99_vmx_source_locator_readback.py apps/api/src/services/awoooi_priority_work_order_readback.py apps/api/tests/test_windows99_vmx_source_locator_readback_api.py apps/api/tests/test_awoooi_priority_work_order_readback_api.py`:通過。
- `git diff --check``python3.11 ops/runner/guard-gitea-runner-pressure.py --root .`:通過。
**仍維持**
- 未讀 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:58 Windows99 VMX package execution readiness 防誤判
**完成內容**