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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Assert exact frontend temperature conversion before chart inspection
pulse-triage[bot]201ad2d7ca1b
diff --git a/frontend-modern/browser-tests/drawer-integration.cjs b/frontend-modern/browser-tests/drawer-integration.cjsindex bc61a6ee0a..ec6a610433 100644--- a/frontend-modern/browser-tests/drawer-integration.cjs+++ b/frontend-modern/browser-tests/drawer-integration.cjs@@ -347,6 +347,10 @@ const hash = (bytes) => crypto.createHash('sha256').update(bytes).digest('hex');record.temperatureProducer = await page.evaluate(() => window.__temperatureProducer);assert.equal(record.temperatureProducer.resource.temperature, 55);assert.equal(record.temperatureProducer.projected.cpuTemperature, 55);+ await page.waitForFunction(() => window.__temperatureProducer);+ record.temperatureProducer = await page.evaluate(() => window.__temperatureProducer);+ assert.equal(record.temperatureProducer.resource.temperature, 55);+ assert.equal(record.temperatureProducer.projected.cpuTemperature, 55);const node = page.getByTestId('node-drawer-overview'),nodeDetails = page.getByTestId('node-technical-details');await node.waitFor();diff --git a/frontend-modern/browser-tests/drawer-temperature-producer.go b/frontend-modern/browser-tests/drawer-temperature-producer.goindex d83d2d373c..e1b01c62e2 100644--- a/frontend-modern/browser-tests/drawer-temperature-producer.go+++ b/frontend-modern/browser-tests/drawer-temperature-producer.go@@ -27,7 +27,7 @@ func main() {if err != nil {panic(err)}- input := models.ResourceConvertInput{ID: resource.ID, Type: string(resource.Type), Name: resource.Name, Status: string(resource.Status), Temperature: resource.Temperature, Proxmox: proxmox, LastSeen: resource.LastSeen}+ input := models.ResourceConvertInput{ID: resource.ID, Type: string(resource.Type), Name: resource.Name, Status: string(resource.Status), Temperature: resource.Temperature, Proxmox: proxmox, LastSeenUnix: resource.LastSeen.UnixMilli()}frontend := models.ConvertResourceToFrontend(input)b, err := json.Marshal(frontend)if err != nil {