fix(notification-outbox): give KPI response a failure shape; log status-query faults

This commit is contained in:
Joseph Doherty
2026-05-19 01:55:46 -04:00
parent 82e3eb0e93
commit 77a05a8960
4 changed files with 68 additions and 11 deletions

View File

@@ -82,9 +82,13 @@ public record NotificationKpiRequest(
/// <summary>
/// Central -> Outbox UI: KPI summary for the notification outbox dashboard.
/// On a repository fault <see cref="Success"/> is <c>false</c>, <see cref="ErrorMessage"/>
/// carries the cause, and the KPI fields are zeroed/<c>null</c>.
/// </summary>
public record NotificationKpiResponse(
string CorrelationId,
bool Success,
string? ErrorMessage,
int QueueDepth,
int StuckCount,
int ParkedCount,