mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-14 16:20:03 +00:00
567303778a
The connections aggregator, alerts and grouping helpers plus the monitoring group-key, availability-key and read-state mapper helpers were all at zero coverage. Each of these is a pure value-in to value-out function on a path that decides how a connection is grouped, whether an alert snapshot is emitted, and how host thermal state crosses the read-state boundary, so a silent regression there is invisible until it reaches a user. Adds branch coverage for buildPMGConnection, connectionTypeForAlerts, snapshotConnectionsForAlerts, uniqueMatch, connectedInfrastructureGroupKey, availabilityConnectionKey, ConnectionHealthKey, pingArgs, hostThermalStateFromReadStateView, latestMetricPoint and MemorySourceTrust, including nil and whitespace arms, candidate precedence order, and clone independence in both directions for the mapper. Every named target moves from zero to full statement coverage apart from the pingArgs arms that are unreachable on this platform. Test-only change. PULSE_ALLOW_CONTRACT_NEUTRAL_COMMIT=test-only branch coverage, no contract surface touched