mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 11:13:26 +00:00
b640347a78
Discovery Fixes: - Always update cache even when scan finds no servers (prevents stale data) - Remove automatic re-add of deleted nodes to discovery (was causing confusion) - Optimize Docker subnet scanning from 762 IPs to 254 IPs (3x faster) - Add getHostSubnetFromGateway() to detect host network from container Frontend Type Fixes: - Fix ThresholdsTable editScope type errors - Fix SnapshotAlertConfig index signature - Remove unused variable in Settings.tsx These changes make discovery faster, more reliable, and fix the issue where deleted nodes would persist in the discovery cache or immediately reappear.
Internal API Package
This directory contains the API server implementation for Pulse.
Important Note About frontend-modern/
The frontend-modern/ subdirectory that appears here is:
- AUTO-GENERATED during builds
- NOT the source code - just a build artifact
- IN .gitignore - never committed
- REQUIRED BY GO - The embed directive needs it here
Frontend Development Location
👉 Edit frontend files at: /opt/pulse/frontend-modern/src/
Why This Structure?
Go's //go:embed directive has limitations:
- Cannot use
../paths to access parent directories - Cannot follow symbolic links
- Must embed files within the Go module
This is a known Go limitation and our structure works around it.