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.

Observe teardown even when E2E lock acquisition fails

pulse-triage[bot]7027e7f75469
diff --git a/tests/integration/scripts/run-playwright.test.mjs b/tests/integration/scripts/run-playwright.test.mjs
index a3c26ae7c3..b84a1d7a8e 100644
--- a/tests/integration/scripts/run-playwright.test.mjs
+++ b/tests/integration/scripts/run-playwright.test.mjs
@@ -23,7 +23,8 @@ fs.appendFileSync(path.join(root, 'calls.jsonl'), JSON.stringify({ phase,
state: process.env.PULSE_E2E_RUNTIME_STATE_PATH,
lockPath: process.env.HOT_DEV_VERIFY_LOCK_FILE,
lock: fs.existsSync(process.env.HOT_DEV_VERIFY_LOCK_FILE)
- ? fs.readFileSync(process.env.HOT_DEV_VERIFY_LOCK_FILE, 'utf8') : null,
+ ? (fs.statSync(process.env.HOT_DEV_VERIFY_LOCK_FILE).isFile()
+ ? fs.readFileSync(process.env.HOT_DEV_VERIFY_LOCK_FILE, 'utf8') : 'not-a-file') : null,
args: process.argv.slice(2),
}) + '\\n');
`;