Files
pvemanager/backend/app
Dilshod Rasulov 49f888d4e2
All checks were successful
Backend Tests / pytest (Python 3.12) (push) Successful in 47s
fix(monitoring): break infinite loop on invalid UPID parsing
When Proxmox API returns 400 "unable to parse worker upid", the monitoring
worker was getting empty status {}, treating it as running, and retrying
forever every 5 seconds, causing 100% CPU and log spam.

Now when get_task_status() returns empty dict, we immediately mark the task
as failed with exit_status="Invalid UPID" and move on instead of looping.

Fixes production deployment hang.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-13 19:04:26 +05:00
..