fix(health): wall-clock-anchored report sequence, nack stale reports, drain standby counters (COMM-1, COMM-6, WP4 task 4.1)

This commit is contained in:
Joseph Doherty
2026-12-03 09:40:50 -05:00
parent f7e4f5b4ed
commit 34527374ec
12 changed files with 231 additions and 39 deletions
@@ -12,7 +12,12 @@ public interface ICentralHealthAggregator
/// Processes an incoming health report from a site and updates the aggregated state.
/// </summary>
/// <param name="report">The health report received from the site.</param>
void ProcessReport(SiteHealthReport report);
/// <returns>
/// <c>true</c> when the report was applied; <c>false</c> when it was rejected as stale
/// (its sequence number is not above the last one applied for the site). The caller acks
/// the site with the result so a drop is never silent (COMM-1).
/// </returns>
bool ProcessReport(SiteHealthReport report);
/// <summary>
/// Bumps the last-seen timestamp for a site, keeping it marked online