Commit Graph

3 Commits

Author SHA1 Message Date
Simone d0f67ce807 fix: improve data extraction in _read_events function for better type handling
Lint / pssa (push) Successful in 10s
Lint / python (push) Successful in 20s
2026-05-26 21:34:07 +02:00
Simone c0f31e375a fix: streamline elapsed time extraction in _read_events function
Lint / pssa (push) Successful in 9s
Lint / python (push) Failing after 17s
2026-05-26 21:27:13 +02:00
Simone 80f6661ad5 feat(a2): port leaf PS scripts to ci_orchestrator CLI
Implements Phase A2 of plans/implementation-plan-A-B.md:

- commands/wait.py    -> wait-ready (replaces Wait-VMReady.ps1)

- commands/vm.py      -> vm remove + vm cleanup (replaces Remove-BuildVM.ps1, Cleanup-OrphanedBuildVMs.ps1); cleanup accepts injected VmBackend (Phase C ESXi hook preserved)

- commands/monitor.py -> monitor disk + monitor runner (replaces Watch-DiskSpace.ps1, Watch-RunnerHealth.ps1)

- commands/report.py  -> report job (replaces Get-CIJobSummary.ps1)

Each PS script reduced to a 3-line shim that delegates to the Python CLI and preserves \0.

Tests: 69 pytest cases across new test_commands_*.py modules; ruff clean, mypy --strict clean, coverage 74.5% (>=70 gate).
2026-05-14 18:34:03 +02:00