mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-21 10:43:36 +00:00
7354d8d19f
The connections ledger derives agent rows from the unified fabric, which includes machines whose telemetry comes from platform integrations (vSphere ESXi hosts, TrueNAS). Agent Doctor rendered every one as a permanent 'Unknown / no structured reason' row, while agents the ledger does not carry (Docker-only, Kubernetes-only) were silently dropped from the fleet view. - Expose HostView.IntegrationSource() (source-set based: only SourceAgent ingest counts, since integration providers fabricate an Agent payload) and plumb it through models.Host to the connections ledger as the optional integrationSource field. - Agent Doctor skips integration-backed connections and appends diagnostics-only agents, honoring scope, so the doctor covers exactly the real Pulse Agent fleet. - Update readiness agent checks no longer count integration-backed machines as registered agents. - Humanize doctor copy: plain-language stale message with '10m 2s'-style durations, offline wording without enum leakage, no 'Supported target: Unknown' cell when no target is published, host-local command banner only when a command is actually offered, and a compact non-zero summary strip. Contracts updated for unified-resources, monitoring, api-contracts, agent-lifecycle, and dependent storage-recovery; verification via views_test.go, monitor_host_agents_test.go, state_host_test.go, contract_test.go, and the frontend connections API test.