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.

Narrow two over-broad triage changes back to scope

rcourtman9992d9817260
diff --git a/frontend-modern/.bundlesize.json b/frontend-modern/.bundlesize.json
index 4063438c54..3cfdb414d6 100644
--- a/frontend-modern/.bundlesize.json
+++ b/frontend-modern/.bundlesize.json
@@ -1,77 +1,74 @@
{
"$comment": "Frontend bundle size baseline. Run 'npm run check:bundlesize' to validate. To update: run 'node scripts/check-bundle-size.mjs --update-baseline' after vite build.",
"version": 1,
- "generated": "2026-08-03",
+ "generated": "2026-07-27",
"defaultThresholdPercent": 15,
"chunks": {
"index": {
- "baselineGzip": 136857
+ "baselineGzip": 136248
},
"sharedPlatformPage": {
- "baselineGzip": 107755
+ "baselineGzip": 104842
},
"Alerts": {
- "baselineGzip": 99713
+ "baselineGzip": 96254
},
"Settings": {
- "baselineGzip": 90237
+ "baselineGzip": 87928
},
"InfrastructureWorkspace": {
- "baselineGzip": 86117
+ "baselineGzip": 85384
},
"Proxmox": {
- "baselineGzip": 70080
+ "baselineGzip": 69453
},
"Chat": {
- "baselineGzip": 67799
+ "baselineGzip": 67797
},
"WorkloadsSurface": {
- "baselineGzip": 54897
+ "baselineGzip": 53812
},
"AIIntelligence": {
- "baselineGzip": 53275
+ "baselineGzip": 53154
},
"Docker": {
- "baselineGzip": 25751
+ "baselineGzip": 25483
},
"vendor-ai": {
"baselineGzip": 23030
},
"Standalone": {
- "baselineGzip": 18997
+ "baselineGzip": 18590
},
"vendor-solid": {
"baselineGzip": 17620
},
"Kubernetes": {
- "baselineGzip": 17251
+ "baselineGzip": 16636
},
"TrueNAS": {
- "baselineGzip": 16006
+ "baselineGzip": 15979
},
"vendor-highlight": {
"baselineGzip": 13743
},
"ReportingPanel": {
- "baselineGzip": 12477
+ "baselineGzip": 12501
},
"vendor-icons": {
- "baselineGzip": 11288
+ "baselineGzip": 11148
},
"vendor": {
"baselineGzip": 9857
},
"Vmware": {
- "baselineGzip": 9759
+ "baselineGzip": 9757
},
"aiControlLevelPresentation": {
- "baselineGzip": 9641
+ "baselineGzip": 9643
},
"UpdatesSettingsPanel": {
- "baselineGzip": 9511
- },
- "APIAccessPanel": {
- "baselineGzip": 9503
+ "baselineGzip": 9307
},
"messages.de": {
"baselineGzip": 9198
@@ -80,54 +77,57 @@
"baselineGzip": 8991
},
"AuditLogPanel": {
- "baselineGzip": 8751
+ "baselineGzip": 8701
+ },
+ "APIAccessPanel": {
+ "baselineGzip": 8399
},
"DrawerDiskListCard": {
- "baselineGzip": 7582
+ "baselineGzip": 8047
},
"FormTextarea": {
- "baselineGzip": 7339
+ "baselineGzip": 7337
},
"AvailabilitySettingsPanel": {
- "baselineGzip": 7213
+ "baselineGzip": 7240
},
"ActionReviewDialog": {
- "baselineGzip": 6710
- },
- "FilterBar": {
- "baselineGzip": 6540
+ "baselineGzip": 6711
},
"DiagnosticsPanel": {
- "baselineGzip": 5859
+ "baselineGzip": 5840
},
"SecurityAuthPanel": {
- "baselineGzip": 5849
+ "baselineGzip": 5833
},
"useUnifiedResources": {
- "baselineGzip": 5789
+ "baselineGzip": 5790
},
- "HelpIcon": {
- "baselineGzip": 5760
+ "FilterBar": {
+ "baselineGzip": 6610
},
"SetupWizard": {
"baselineGzip": 5532
},
+ "HelpIcon": {
+ "baselineGzip": 5516
+ },
"truenasPageModel": {
"baselineGzip": 5413
},
"RelaySettingsPanel": {
- "baselineGzip": 5281
+ "baselineGzip": 5295
},
"OrganizationSharingPanel": {
- "baselineGzip": 5201
+ "baselineGzip": 5183
}
},
"totals": {
"js": {
- "baselineGzip": 1197976
+ "baselineGzip": 1182853
},
"css": {
- "baselineGzip": 27003
+ "baselineGzip": 26751
}
}
}
diff --git a/install.sh b/install.sh
index 10ec9e6943..0f370d989b 100755
--- a/install.sh
+++ b/install.sh
@@ -4411,6 +4411,18 @@ setup_auto_updates() {
local update_timer_unit
update_timer_unit="$(basename "$update_timer_path")"
+ # A reinstall over a removed /etc/pulse reaches setup_auto_updates before
+ # setup_directories has recreated the config directory, and the
+ # system.json write below would fail with "No such file or directory"
+ # while the run still reported that auto-updates were enabled. Do this
+ # before installing assets or enabling the timer so a failure here leaves
+ # nothing half-configured.
+ if ! mkdir -p "$config_dir"; then
+ print_warn "Could not create $config_dir. Continuing without automatic updates."
+ ENABLE_AUTO_UPDATES=false
+ return 0
+ fi
+
if ! install_auto_update_assets; then
print_warn "Continuing without automatic updates. Re-run install.sh with --enable-auto-updates once the issue above is resolved."
ENABLE_AUTO_UPDATES=false
@@ -4420,16 +4432,6 @@ setup_auto_updates() {
# Enable timer but don't start it yet
safe_systemctl enable "$update_timer_unit" || true
- # A reinstall over a removed /etc/pulse reaches this point before
- # setup_directories has recreated the config directory, and the
- # system.json write below would fail with "No such file or directory"
- # while the run still reported that auto-updates were enabled.
- if ! mkdir -p "$config_dir"; then
- print_warn "Could not create $config_dir. Continuing without automatic updates."
- ENABLE_AUTO_UPDATES=false
- return 0
- fi
-
# Update system.json to enable auto-updates
if [[ -f "$config_dir/system.json" ]]; then
# Update existing file
diff --git a/scripts/installtests/root_install_sh_test.go b/scripts/installtests/root_install_sh_test.go
index 73fe760150..fce769c2d5 100644
--- a/scripts/installtests/root_install_sh_test.go
+++ b/scripts/installtests/root_install_sh_test.go
@@ -2250,3 +2250,25 @@ func TestRootInstallScriptAutoUpdateSetupCreatesMissingConfigDir(t *testing.T) {
t.Fatalf("expected auto-updates to be enabled in system.json, got: %s", contents)
}
}
+
+// The config-directory guard must run before any state is mutated. An
+// earlier version sat after `safe_systemctl enable`, so a failure to create
+// the directory left the update timer enabled while the installer reported
+// automatic updates as disabled and never wrote system.json.
+func TestRootInstallScriptAutoUpdateConfigDirGuardRunsBeforeStateChanges(t *testing.T) {
+ body := extractRootInstallShellFunction(t, "setup_auto_updates")
+
+ mkdirIdx := strings.Index(body, `mkdir -p "$config_dir"`)
+ if mkdirIdx < 0 {
+ t.Fatal("expected setup_auto_updates to create the config directory")
+ }
+ for _, mutation := range []string{"install_auto_update_assets", "safe_systemctl enable"} {
+ idx := strings.Index(body, mutation)
+ if idx < 0 {
+ t.Fatalf("expected setup_auto_updates to reference %s", mutation)
+ }
+ if idx < mkdirIdx {
+ t.Fatalf("%s runs before the config-directory guard, so a guard failure would leave partial state", mutation)
+ }
+ }
+}