Pulse/internal/models
rcourtman 7354d8d19f Keep integration-monitored machines out of Agent Doctor and surface workload-only agents
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.
2026-07-21 21:24:15 +01:00
..
account_roles.go fix(hosted): enforce tenant org membership during handoff 2026-03-26 23:14:54 +00:00
ceph_cluster_identity.go Reconcile Ceph pool alert identity 2026-05-28 14:42:43 +01:00
ceph_pool_storage_test.go Reconcile Ceph pool alert identity 2026-05-28 14:42:43 +01:00
concurrency_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
converters.go Integrate trust-gate reliability fixes 2026-07-20 16:03:29 +01:00
converters_additional_test.go Prepare v6.0.0 release candidate 2026-06-04 14:07:14 +01:00
converters_branchcov0718_test.go Add Go branch-coverage tests for twelve pure backend helpers 2026-07-19 15:10:09 +01:00
converters_test.go Use authoritative Docker OOM evidence 2026-07-15 17:55:26 +01:00
deepcopy.go Integrate trust-gate reliability fixes 2026-07-20 16:03:29 +01:00
deepcopy_clone_independence_w0716_coverage_test.go Add deep-copy independence and qualification render coverage tests 2026-07-16 22:56:24 +01:00
deepcopy_test.go Warn when two machines share one Docker agent identity 2026-07-16 20:55:09 +01:00
disk_summary.go Restore linked host-agent disk inventory for guest VMs 2026-04-22 09:22:46 +01:00
disk_summary_test.go Restore linked host-agent disk inventory for guest VMs 2026-04-22 09:22:46 +01:00
docker_cpu.go Normalize Docker container CPU capacity 2026-07-03 11:51:08 +01:00
docker_cpu_test.go Normalize Docker container CPU capacity 2026-07-03 11:51:08 +01:00
metrics_types.go Route physical disk drawer IO through canonical history 2026-04-01 23:33:43 +01:00
metrics_types_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
models.go Keep integration-monitored machines out of Agent Doctor and surface workload-only agents 2026-07-21 21:24:15 +01:00
models_collections_branchcov0716_test.go Add Go branch-coverage tests for models config securityutil and aicontracts helpers 2026-07-16 14:20:13 +01:00
models_core_branchcov0718_test.go Add Go branch-coverage tests for models, cloudcp and actionlifecycle helpers 2026-07-19 15:10:09 +01:00
models_deepcopy_branchcov0716_test.go Add Go branch-coverage tests for models config securityutil and aicontracts helpers 2026-07-16 14:20:13 +01:00
models_frontend.go Integrate trust-gate reliability fixes 2026-07-20 16:03:29 +01:00
models_frontend_branchcov0718_test.go Add Go branch-coverage tests for twelve pure backend helpers 2026-07-19 15:10:09 +01:00
models_frontend_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
models_helpers_test.go Fix PBS backup identity matching 2026-06-03 11:43:20 +01:00
models_removed_hosts_branchcov0716_test.go Add Go branch-coverage tests for models config securityutil and aicontracts helpers 2026-07-16 14:20:13 +01:00
models_roles_branchcov0716_test.go Add Go branch-coverage tests for pure config and helper packages 2026-07-16 10:19:51 +01:00
node_aliases_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
organization.go Fail closed on ambiguous email principal resolution 2026-05-05 09:26:10 +01:00
organization_additional_test.go Fail closed on ambiguous email principal resolution 2026-05-05 09:26:10 +01:00
profile_validation.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
profile_validation_additional_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
profile_validation_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
profiles.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
snapshot_provider.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
state_additional_test.go Fix Proxmox tag color style propagation 2026-06-25 17:14:00 +01:00
state_docker_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
state_host_test.go Keep integration-monitored machines out of Agent Doctor and surface workload-only agents 2026-07-21 21:24:15 +01:00
state_snapshot.go Fix Proxmox tag color style propagation 2026-06-25 17:14:00 +01:00
state_snapshot_additional_test.go Stabilize RC release backend race proofs 2026-04-11 23:18:44 +01:00
state_snapshot_concurrency_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
state_snapshot_frontend_test.go Fix Proxmox tag color style propagation 2026-06-25 17:14:00 +01:00
state_snapshot_merge_test.go Merge linked host disks into guest overviews 2026-04-30 14:37:43 +01:00