tftsr-devops_investigation/src-tauri/src/proxmox
Shaun Arman 34ddae7eb2 fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules
handle_response() in client.rs already strips the {"data":...} wrapper
before returning to callers. Every proxmox module was calling .get("data")
a second time on the already-unwrapped Value, which always returned None
and caused all API responses to silently yield empty results or errors.

vm.rs had an additional bug: list_vms used POST on cluster/resources (a
GET-only endpoint) and dropped VMs with no cpu field via filter_map ?
instead of unwrap_or(0.0). Both corrected.

Affected modules: vm, ceph, ceph_cluster, certificates, acme, firewall,
sdn, ha, apt, updates, updates_ext, tasks, migration, metrics, shell,
auth_realm, views, backup — 18 files, 19 functions.

426 Rust tests pass. clippy -D warnings clean. tsc --noEmit clean.
2026-06-20 19:26:39 -05:00
..
acme.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
apt.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
auth_realm.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
backup.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
ceph_cluster.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
ceph.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
certificates.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
client.rs fix(proxmox): restore reliable connect/reconnect after app restart 2026-06-20 19:05:00 -05:00
cluster.rs feat: Implement Proxmox Datacenter Manager feature parity - Phases 1-11 2026-06-11 09:38:36 -05:00
firewall.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
ha.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
metrics.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
migration.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
mod.rs feat: Implement Proxmox Datacenter Manager feature parity - Phases 1-11 2026-06-11 09:38:36 -05:00
node.rs feat: implement Proxmox cluster management foundation 2026-06-10 21:50:30 -05:00
sdn.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
shell.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
storage.rs feat: implement Proxmox cluster management foundation 2026-06-10 21:50:30 -05:00
tasks.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
updates_ext.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
updates.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
views.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00
vm.rs fix(proxmox): remove double-unwrap of Proxmox data envelope across all modules 2026-06-20 19:26:39 -05:00