mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 14:00:29 +00:00
fa3f57e6ba
The refreshSuggestedAvailabilityProbeFromState method existed but was never called, so existing discovery records never received availability probe suggestions. This adds backfillAvailabilitySuggestions which: - Triggers from SetReadState (goroutine) and runDiscoveryLoop (ticker) - Retries with exponential backoff when the state snapshot is empty, waiting for the monitor to populate Proxmox data before proceeding - Matches containers by VMID only (was VMID+Node, which failed in clusters where the discovery targetID differs from the container's node) Also extends SuggestAvailabilityProbe with a hostname fallback: when ServiceType is empty (deep scan not yet run), checks the discovery's Hostname against webServiceDefaults/tcpServiceDefaults. This covers containers like jellyfin, grafana, frigate, esphome, zigbee2mqtt, homeassistant, mqtt, etc. in environments where background AI is disabled. Adds zigbee2mqtt and ntfy to webServiceDefaults.