Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Use the complete native Resource shape in memory fixtures

pulse-triage[bot]d4dccb54a730
diff --git a/frontend-modern/browser-tests/guest-memory-agent-stale.tsx b/frontend-modern/browser-tests/guest-memory-agent-stale.tsx
index 230b57a5c3..e95142713a 100644
--- a/frontend-modern/browser-tests/guest-memory-agent-stale.tsx
+++ b/frontend-modern/browser-tests/guest-memory-agent-stale.tsx
@@ -22,6 +22,9 @@ const initial: Resource = {
id: 'fixture:pve1:101',
type: 'vm',
name: 'linked-guest',
+ displayName: 'linked-guest',
+ platformId: 'fixture',
+ sourceType: 'hybrid',
status: 'online',
platformType: 'proxmox-pve',
platformScopes: ['proxmox-pve'],
diff --git a/frontend-modern/src/utils/__tests__/staleAgentMemory.test.ts b/frontend-modern/src/utils/__tests__/staleAgentMemory.test.ts
index ae24c7a611..0f48f3f769 100644
--- a/frontend-modern/src/utils/__tests__/staleAgentMemory.test.ts
+++ b/frontend-modern/src/utils/__tests__/staleAgentMemory.test.ts
@@ -42,6 +42,9 @@ const guest = (source = 'agent', state = 'current', usage = 95): WorkloadGuest =
const resource = (input: WorkloadGuest): Resource => ({
id: input.id,
name: input.name,
+ displayName: input.name,
+ platformId: 'fixture',
+ sourceType: 'hybrid',
type: 'vm',
status: 'online',
platformType: 'proxmox-pve',