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.

Compare filesystem cue density on the same locked guest

pulse-triage[bot]82b27a9f2f38
diff --git a/frontend-modern/browser-tests/guest-disk-provenance.cjs b/frontend-modern/browser-tests/guest-disk-provenance.cjs
index 82432878cb..72f83aded0 100644
--- a/frontend-modern/browser-tests/guest-disk-provenance.cjs
+++ b/frontend-modern/browser-tests/guest-disk-provenance.cjs
@@ -135,7 +135,21 @@ const settle = (page) =>
'[data-guest-id="fixture-pve:pve-a:101"]',
);
});
- const initialHeight = await freshRow.evaluate((el) => el.getBoundingClientRect().height);
+ // The control guest has no backup lock badge. On a phone that badge adds
+ // a line to the name cell, independently of filesystem provenance.
+ // Hold identity, lock and every other reading fixed; measure this same
+ // guest with only its filesystem cue absent, then restore the cue.
+ await page.evaluate(() => window.__guestDiskProvenance.apply({ reason: '' }));
+ await settle(page);
+ const initialHeight = await row.evaluate((el) => el.getBoundingClientRect().height);
+ record.densityBaseline = {
+ sameGuestWithoutFilesystemCue: initialHeight,
+ unrelatedUnlockedControl: await freshRow.evaluate(
+ (el) => el.getBoundingClientRect().height,
+ ),
+ };
+ await page.evaluate(() => window.__guestDiskProvenance.apply({ reason: 'prev-vm-locked' }));
+ await settle(page);
const checkValueFit = async () => {
const value = cell.locator('[data-testid="metric-mini-sparkline"] > span');
if (!(await value.count())) return undefined;