feat(adminui): /fleet shows 'Applied (degraded)', /deployments 'Sealed (degraded)' (#601)

Claude-Session: https://claude.ai/code/session_01Ef2ozxS7QPanGT8uoATbTe
This commit is contained in:
Joseph Doherty
2026-10-08 17:34:58 -04:00
parent 49dfabc141
commit f066fb9c80
2 changed files with 22 additions and 12 deletions
@@ -57,7 +57,8 @@
<tr>
<td><code>@Short(d.DeploymentId)</code></td>
<td><code>@DisplayText.Abbreviate(d.RevisionHash, 12)</code></td>
<td>@d.Status</td>
@* #601: Sealed + a reason = sealed with a degraded address-space apply on some node(s). *@
<td title="@(d.FailureReason ?? "")">@(d.Status == DeploymentStatus.Sealed && !string.IsNullOrEmpty(d.FailureReason) ? "Sealed (degraded)" : d.Status.ToString())</td>
<td>@d.CreatedBy</td>
<td>@d.CreatedAtUtc.ToString("u")</td>
<td>@(d.SealedAtUtc?.ToString("u") ?? "—")</td>
@@ -77,7 +78,8 @@
DeploymentStatus Status,
string CreatedBy,
DateTime CreatedAtUtc,
DateTime? SealedAtUtc);
DateTime? SealedAtUtc,
string? FailureReason);
private IReadOnlyList<DeploymentRow> _deployments = Array.Empty<DeploymentRow>();
private bool _busy;
@@ -102,7 +104,8 @@
d.Status,
d.CreatedBy,
d.CreatedAtUtc,
d.SealedAtUtc))
d.SealedAtUtc,
d.FailureReason))
.Take(50)
.ToListAsync();