perf(adminui): /hosts rebuilds driver rows on the tick, not per health publish (R04 P4)

OnSnapshotChanged used to re-project every cluster group and re-render the
whole page for each driver publish, per open tab. It now only marks a
CoalescingDirtyFlag; the 5 s tick rebuilds when the flag is set or the config
load changed (or evicted) anything.

Refs #745
Claude-Session: https://claude.ai/code/session_01Ub9hGmYLQvn9XETzw7CMsT
This commit is contained in:
Joseph Doherty
2026-10-22 17:28:23 -04:00
parent a04196d725
commit 348ffaec1c
4 changed files with 100 additions and 10 deletions
@@ -128,7 +128,7 @@ public sealed class HostsEvictionWiringTests
{
var src = AdminUiSource.Read("Components", "Pages", "Hosts.razor");
var load = src.IndexOf("private async Task LoadConfigAsync()", StringComparison.Ordinal);
var load = src.IndexOf("private async Task<bool> LoadConfigAsync()", StringComparison.Ordinal);
load.ShouldBeGreaterThan(0);
var firstCatch = src.IndexOf("catch (Exception ex) when (ex is OperationCanceledException", load, StringComparison.Ordinal);
firstCatch.ShouldBeGreaterThan(load);