Files
proxmox-manager/tests
==TIM.©.B ==andClaude bbbdbd3493 fix(actions): stop shuts guests down gracefully instead of pulling the plug (#42)
The stop action called `qm stop` / `pct stop`, which kills the guest
immediately; the `--overrule-shutdown 1` retry after the Bash timeout only
aborts running shutdown tasks and forced nothing. Stop now runs
`qm|pct shutdown --timeout STOP_TIMEOUT --forceStop 1`, so Proxmox shuts the
guest down cleanly and hard-stops it only after the timeout.

The qm/pct mocks now log their argv and can fail on demand; new tests cover
stop (VM and CT), the timeout value, the failure path, a declined
confirmation and restart.


Claude-Session: https://claude.ai/code/session_01S8LmYGQA8hFstiLCCyzUYZ

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-21 21:50:48 +02:00
..