Pulse/scripts
rcourtman 49311b1e39 fix: resolve multiple issues from #485
This commit addresses all issues reported in GitHub issue #485:

1. **SMART Status Recognition**
   - Fix disk health check to accept both "PASSED" and "OK" status
   - Previously only "PASSED" was recognized as healthy
   - Location: internal/monitoring/monitor.go:1255

2. **ZFS Spare Device False Alerts**
   - Skip ZFS SPARE devices unless they have actual errors
   - SPARE devices are intentional and should not trigger alerts
   - Updated in two locations:
     - pkg/proxmox/zfs.go:154 (device filtering)
     - internal/alerts/alerts.go:1077 (alert generation)

3. **Memory Display Granularity**
   - Increase byte formatting precision from 0 to 1 decimal place
   - Improves accuracy (e.g., "1.7 GB" instead of "1 GB" for 86% of 2GB)
   - Location: frontend-modern/src/utils/format.ts:3

4. **Custom Alert Rules Evaluation**
   - Add ReevaluateGuestAlert() method for proper threshold reevaluation
   - Add comments explaining custom rules evaluation limitations
   - Next poll cycle will properly clear stale alerts with new thresholds

Additional improvements:
- Fix ZFS pool alert locking to prevent deadlocks
- Prevent discovery service from running in mock mode
- Restore discovery service when exiting mock mode

Fixes #485
2025-10-01 15:53:42 +00:00
..
dev feat: add OIDC single sign-on 2025-09-29 10:22:27 +00:00
systemd feat: add automatic stable update system 2025-08-27 15:37:02 +00:00
.go-version feat: unify styling and improve cluster detection 2025-09-28 18:46:52 +00:00
build-release.sh enhance: improve mock data realism and alert system 2025-09-02 21:11:01 +00:00
dev-hot.sh Align dev ports and improve auto-register UX 2025-09-29 15:05:59 +00:00
dev-orchestrator.sh fix: resolve multiple issues from #485 2025-10-01 15:53:42 +00:00
hot-dev.sh refactor: add mock.env to repository with local override support 2025-10-01 13:38:39 +00:00
install-go-toolchain.sh feat: unify styling and improve cluster detection 2025-09-28 18:46:52 +00:00
make-tests-safe.sh fix: improve node disk stats reliability when GetNodeStatus fails (addresses #402) 2025-08-31 22:43:32 +00:00
protect-mock-nodes.sh fix: improve node disk stats reliability when GetNodeStatus fails (addresses #402) 2025-08-31 22:43:32 +00:00
pulse-auto-update.sh fix: add missing auto-update script 2025-08-29 20:34:22 +00:00
run-tests-mock.sh fix: improve node disk stats reliability when GetNodeStatus fails (addresses #402) 2025-08-31 22:43:32 +00:00
sync-production-config.sh fix: ensure PULSE_DATA_DIR is exported in dev mode and improve sync validation 2025-10-01 07:33:20 +00:00
take-all-screenshots.js fix: regenerate all screenshots in dark mode 2025-08-04 21:33:39 +00:00
take-screenshots.js perf: optimize mock mode state retrieval and JSON encoding 2025-10-01 13:35:49 +00:00
test-vm-disk.sh docs: fix VM disk monitoring documentation and remove false token limitation claims 2025-09-30 15:14:23 +00:00
toggle-mock-pure.sh fix: replace old PVENodeTable with NodeSummaryTable for correct column ordering 2025-08-29 13:55:53 +00:00
toggle-mock.sh feat: add hot-reloadable mock mode with auto-detection 2025-10-01 13:35:17 +00:00