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.

Record the Kubernetes chunk size and new record drawer labels

[email protected]345babc6a88c
diff --git a/frontend-modern/.bundlesize.json b/frontend-modern/.bundlesize.json
index bbcd6b8883..e83a9e4697 100644
--- a/frontend-modern/.bundlesize.json
+++ b/frontend-modern/.bundlesize.json
@@ -41,7 +41,7 @@
"baselineGzip": 22627
},
"Kubernetes": {
- "baselineGzip": 18267
+ "baselineGzip": 21732
},
"vendor-solid": {
"baselineGzip": 17639
diff --git a/scripts/tests/test_pve_backup_troubleshooting_docs.py b/scripts/tests/test_pve_backup_troubleshooting_docs.py
index 1b4c5cecef..8bbd0cfc72 100644
--- a/scripts/tests/test_pve_backup_troubleshooting_docs.py
+++ b/scripts/tests/test_pve_backup_troubleshooting_docs.py
@@ -123,7 +123,12 @@ class PVEBackupTroubleshootingDocsTest(unittest.TestCase):
for label in ("Guest", "Job", "Route", "Last sync", "Next sync", "Duration", "Failures"):
with self.subTest(label=label):
self.assertIn(f"**{label}**", section)
- self.assertRegex(table, rf">{label}</(?:dt|TableHead)>")
+ # The expansion is a record drawer of shared detail rows; its
+ # sections and rows carry the labels the help names.
+ self.assertRegex(
+ table,
+ rf"(?:>{label}</(?:dt|TableHead)>|makeDetailRow\(\s*'{label}'|label: '{label}')",
+ )
for phrase in ("not PBS backups", "unknown, not an empty healthy result",
"does not establish lifecycle or polling recovery",
"do not repeat a restart, reboot or update", "widen token permissions",
diff --git a/scripts/tests/test_update_recovery_docs.py b/scripts/tests/test_update_recovery_docs.py
index 17ec488413..c4ee47c99b 100644
--- a/scripts/tests/test_update_recovery_docs.py
+++ b/scripts/tests/test_update_recovery_docs.py
@@ -342,7 +342,7 @@ class UpdateRecoveryDocsTest(unittest.TestCase):
self.assertIn("commands ${authority}", model)
self.assertIn("'credential grants exec' : 'monitoring credential'", model)
doctor = (ROOT / "frontend-modern/src/components/Settings/InfrastructureAgentDoctorPage.tsx").read_text()
- self.assertIn("· Privilege: {target.privilegeLabel}", doctor)
+ self.assertIn("makeDetailRow('Privilege', target.privilegeLabel", doctor)
def test_legacy_monitoring_help_does_not_require_runner_migration_or_more_logs(self):
docker = " ".join(section("DOCKER", "Command agent is not connected", "####").split())