Pulse/cmd/pulse-control-plane
rcourtman 6060936cb3 Cover pure helpers and persistence round-trips across the backend
Seventeen files closing the zero-coverage functions the current source drop
left behind. Every named target was measured off 0.0 percent by a per-function
coverage delta, re-measured against current main.

- config: the five new durable Proxmox cluster-node identity helpers
  (deterministic id, endpoint equality, alias lookup, id existence, lookup by
  id) to 100 percent; VMware and agent-profile persistence round-trips under
  t.TempDir including that AppendProfileChangeLog appends rather than
  replaces; AI chat session save, load, delete, per-user scoping and age
  cleanup, with explicit timestamps rather than time.Now-relative fuzz;
  PVEInstance.DeepCopy asserted for nested independence.
- truenas: incidentFromPoolStatus over every pool health string,
  RecordsFromSnapshot over nil, empty and populated snapshots, both
  TransportStatus accessors, and the RPC handshake and auth typed errors
  through errors.Is and errors.As.
- unifiedresources: the maintenance-window operator-state lifecycle on
  MemoryStore including the not-found and already-cleared arms, plus the
  four remaining View accessors asserted on their exact formatted output.
- api: restoreAgentExecMetadata, buildAlertConnectionSnapshotsWithRuntimeSources
  and both mock series generators, asserted on shape, ordering and
  determinism rather than non-emptiness.
- cmd/pulse-control-plane: the four remaining MSP and mobile proof report
  printers, asserted on the concrete strings in captured stdout.
- ai: cost.EmptySummary, approval.emptyExecutionState, demo.IsDemoRuntimeIntended
  and tools.findCanonicalAppContainerResourceByReferences across no-match,
  first-match, later-match and ambiguous references.
- monitoring, models, alerts: trueNASAppRunning,
  supplementalProviderOwnedSourcesForOrg, IOCounterPresence.Effective,
  ValidAlertIntentSignal and intentTimePointer.

No source file is modified. Adversarial review returned no rejects across all
seventeen files and flagged four padding cases plus one dead table field; all
were removed and the per-function coverage re-measured as identical, proving
they carried nothing.

PULSE_ALLOW_CONTRACT_NEUTRAL_COMMIT=test-only branch coverage, no source or contract change
2026-07-25 00:21:35 +01:00
..
branchcov0723pm_test.go Cover eval scenario catalog, control-plane printers and pure helpers 2026-07-23 16:42:08 +01:00
main.go Add provider MSP tenant rollout upgrade proof 2026-06-02 16:45:03 +01:00
mobile_proof_cmd.go Make provider-MSP client runtimes verifiably licensed via chained entitlement leases 2026-06-10 13:58:52 +01:00
mobile_proof_cmd_test.go
print_helpers_branchcov0724pm_test.go Cover pure helpers and persistence round-trips across the backend 2026-07-25 00:21:35 +01:00
provider_msp.go Make the provider MSP portal honest and self-sufficient without an email provider 2026-07-10 11:22:57 +01:00
provider_msp_backup.go
provider_msp_backup_test.go
provider_msp_install_proof.go Extend MSP install proof for portal rollups 2026-07-07 20:49:55 +01:00
provider_msp_install_proof_test.go Extend MSP install proof for portal rollups 2026-07-07 20:49:55 +01:00
provider_msp_preflight.go Make provider-MSP client runtimes verifiably licensed via chained entitlement leases 2026-06-10 13:58:52 +01:00
provider_msp_preflight_test.go Prepare v6.0.0 release candidate 2026-06-04 14:07:14 +01:00
provider_msp_proof.go Harden remaining CodeQL security boundaries 2026-07-09 19:46:40 +01:00
provider_msp_proof_test.go Harden remaining CodeQL security boundaries 2026-07-09 19:46:40 +01:00
provider_msp_recover.go
provider_msp_recover_test.go
provider_msp_status.go Add provider MSP tenant rollout upgrade proof 2026-06-02 16:45:03 +01:00
provider_msp_status_branchcov0723am_test.go Cover control plane status helpers, patrol assertions and setup classifiers 2026-07-23 06:34:03 +01:00
provider_msp_status_test.go Add provider MSP tenant rollout upgrade proof 2026-06-02 16:45:03 +01:00