fix(comm): key site liveness on central receive time; gRPC connect timeout + connect-phase deadline failover (COMM-4, COMM-5, WP4 task 4.4)

This commit is contained in:
Joseph Doherty
2026-12-03 09:52:54 -05:00
parent c1db7094eb
commit f02fe9d696
18 changed files with 350 additions and 38 deletions
@@ -34,7 +34,10 @@ public interface ICentralHealthAggregator
/// shown as "unknown" during the failover window.
/// </summary>
/// <param name="siteId">The string identifier of the site that sent the heartbeat.</param>
/// <param name="receivedAt">The UTC timestamp when the heartbeat was received.</param>
/// <param name="receivedAt">
/// The UTC time CENTRAL received the heartbeat (its own clock — never the site-stamped
/// timestamp, COMM-4). A value in the aggregator's future is clamped to its current time.
/// </param>
void MarkHeartbeat(string siteId, DateTimeOffset receivedAt);
/// <summary>Returns a snapshot of all currently tracked site health states.</summary>