docs,config: aggiorna AGENTS.md, config.example, HOST-SETUP.md, checklist faseA e fix vari orchestrator (workstation, build, job, wait, winrm, test)

This commit is contained in:
Simone
2026-05-17 00:14:04 +02:00
parent 958e4ae035
commit 57bfc41a5a
10 changed files with 135 additions and 52 deletions
+4 -3
View File
@@ -61,14 +61,14 @@ def _wait_running(
def _wait_for_ip(
backend: VmBackend, handle: VmHandle, deadline: float, poll: float
) -> str | None:
while time.monotonic() < deadline:
while (now := time.monotonic()) < deadline:
call_timeout = min(poll, deadline - now)
try:
ip = backend.get_ip(handle)
ip = backend.get_ip(handle, timeout=call_timeout)
except BackendError:
ip = None
if ip:
return ip
time.sleep(poll)
return None
@@ -153,6 +153,7 @@ def wait_ready(
sys.exit(_EXIT_TIMEOUT_RUNNING)
if ip_address is None:
click.echo("[wait-ready] waiting for guest IP (VMware Tools must be running)...")
ip = _wait_for_ip(backend, handle, deadline, poll_interval)
if not ip:
click.echo("[wait-ready] timeout waiting for guest IP.", err=True)