mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-07-09 16:00:59 +00:00
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. |
||
|---|---|---|
| .. | ||
| availability_suggestion.go | ||
| availability_suggestion_test.go | ||
| commands.go | ||
| commands_test.go | ||
| deep_scanner.go | ||
| deep_scanner_test.go | ||
| fingerprint.go | ||
| formatters.go | ||
| formatters_test.go | ||
| readiness.go | ||
| readiness_test.go | ||
| scenario_corpus_test.go | ||
| service.go | ||
| service_identity.go | ||
| service_identity_test.go | ||
| service_test.go | ||
| store.go | ||
| store_test.go | ||
| tools_adapter.go | ||
| tools_adapter_test.go | ||
| types.go | ||
| types_test.go | ||
| url_suggestion.go | ||
| url_suggestion_test.go | ||