Pulse/pkg/proxmox
courtmanr@gmail.com 0b392659cd Add recorded PVE RRD fixtures and decode-alignment tests
Issue #1634 happened because GuestRRDPoint declared memused/memavailable
columns that real PVE guest rrddata responses never contain (they exist
only in node RRD), and every test mocked the fictional columns, so CI
validated the assumption instead of the API.

Add recorded fixtures for the guest and node rrddata endpoints in both
generations: PVE 9 responses captured live from a pve-manager 9.2.3
cluster via pvesh, and PVE 8 responses recovered from the host's
pre-migration pve2-vm/pve2-node RRD databases, serialized the way
PVE::RRD::create_rrd_data emits them. Decode tests in pkg/proxmox now
replay these recordings through the real client and fail whenever a
NodeRRDPoint or GuestRRDPoint field references a column absent from
every recorded response; the two known-dead guest fields are held in an
explicit allowlist that also fails if they are removed or ever start
appearing in recordings.

Companion to 7d7d2b6a3, which restored the LXC listing fallback.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-27 17:27:40 +01:00
..
testdata/rrd Add recorded PVE RRD fixtures and decode-alignment tests 2026-07-27 17:27:40 +01:00
ceph.go fix(ceph): parse Quincy+/Squid status schema for MON and MGR counts 2026-07-26 19:31:15 +01:00
ceph_test.go Prepare v6.0.0 release candidate 2026-06-04 14:07:14 +01:00
client.go fix(backups): synthesize per-guest task status from vzdump job logs 2026-07-26 20:03:46 +01:00
client_api_more2_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
client_api_more3_test.go Add legacy issue regression coverage 2026-07-24 11:59:50 +01:00
client_api_more4_test.go test: improve coverage for API, AI, Alerts, and Frontend Utils 2026-01-20 15:52:39 +00:00
client_api_more_test.go Add guest agent meminfo VM memory fallback 2026-04-01 19:00:48 +01:00
client_container_config_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
client_container_interfaces_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
client_node_network_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
client_request_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
client_security_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
client_storage_content_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
client_storage_timeout_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
client_tasks_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
client_test.go Fix cache-aware Linux memory fallbacks 2026-07-24 00:19:40 +01:00
client_vma_version_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
cluster_client.go fix(backups): synthesize per-guest task status from vzdump job logs 2026-07-26 20:03:46 +01:00
cluster_client_additional_api2_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
cluster_client_additional_api3_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
cluster_client_additional_api4_test.go Fix Proxmox physical disk inventory continuity 2026-07-23 22:05:09 +01:00
cluster_client_additional_api5_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
cluster_client_additional_api6_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
cluster_client_additional_api7_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
cluster_client_additional_api_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
cluster_client_api_test.go fix(backups): synthesize per-guest task status from vzdump job logs 2026-07-26 20:03:46 +01:00
cluster_client_failover_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
cluster_client_initial_health_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
cluster_client_more_test.go Surface per-endpoint reasons in cluster "no healthy nodes" error 2026-05-08 21:10:14 +01:00
cluster_client_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
io_counters.go fix: correct Proxmox guest rate sampling 2026-07-24 10:26:50 +01:00
io_counters_test.go fix: correct Proxmox guest rate sampling 2026-07-24 10:26:50 +01:00
issue1626_ceph_squid_status_test.go fix(ceph): parse Quincy+/Squid status schema for MON and MGR counts 2026-07-26 19:31:15 +01:00
issue1634_rrd_fixture_test.go Add recorded PVE RRD fixtures and decode-alignment tests 2026-07-27 17:27:40 +01:00
replication.go Use checked Proxmox replication parsing 2026-04-01 16:18:02 +01:00
replication_security_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
replication_test.go Use checked Proxmox replication parsing 2026-04-01 16:18:02 +01:00
zfs.go Normalize Proxmox special ZFS groups 2026-04-15 16:40:43 +01:00
zfs_details_test.go Enhance devcontainer and CI workflows 2026-01-01 22:29:15 +00:00
zfs_test.go Normalize Proxmox special ZFS groups 2026-04-15 16:40:43 +01:00