feat: keep each mailbox health and warmup reading independent of other pending Cloud reports

This commit is contained in:
Matthew Meszaros
2026-10-28 19:28:41 +01:00
parent 7b372ea9a0
commit 92a754e4e8
2 changed files with 31 additions and 25 deletions
+2
View File
@@ -638,6 +638,8 @@ This is not the same as the risk band that decides which sending worker and IP h
## Health
Each Cloud mailbox uses its own current health report. A missing report shows **Unavailable** for that mailbox while other mailboxes keep their reported readings. Summary counts remain unavailable until every listed mailbox has a current status.
The Accounts list groups mailboxes as **Healthy** (sending normally), **Warming** (ramping through warmup), or **Needs attention** (paused, failing, or not sending). Each row shows the mailbox with how it connects and its tags, a **Status** that says what it is doing (**Sending**, **Warming**, **Active** when it does both, **Resting**, or **Idle**, and **Error**, **Off** or **Reconnect** when something stops it), campaign emails sent today against its cap, warmup sent today against the ramp target, the inbox rate, and the health score. Hover a status for the reason, and click any column header to sort. A drop in health between refreshes notifies you rather than waiting to be noticed.
Repeated reports of the same error code count once toward the health score, at their highest unresolved severity, rather than making one problem look like several. The drawer groups identical reports while keeping different error details and sending versus sync failures separate. Connection titles name Gmail, Microsoft Outlook or the mail server. **Reported** shows the stored report time: connection and temporary provider-limit observations refresh it, while other error categories may retain their original report time. It is not proof of an ongoing outage.
+29 -25
View File
@@ -622,31 +622,35 @@ export default function AddressesPage() {
</tr>
</thead>
<tbody>
{sortedEmails.map((box) => (
<MailboxRow
key={box.id}
box={box}
tags={p?.user.tags ?? []}
status={(cloud.unavailable || cloudStandingUnavailable) && statusById.get(box.id)?.health?.status === "healthy" && !statusById.get(box.id)?.errors?.length ? undefined : statusById.get(box.id)}
lastReportedIssue={lastReportedIssues.get(box.id)}
statusPending={statusChecking && !statusUnavailable}
cloudStatusPending={cloudChecking || cloud.unavailable || cloudStandingUnavailable}
cloudRemovalPending={cloudRemovalPending}
findings={advisor.get(box.id)}
canWarmup={canWarmup}
cloud={cloud.connected ? cloud.rowFor(box.id) : undefined}
cloudConnected={cloud.connected}
retiring={retiringDomain.has(box.id)}
onRetiring={() => openMigration(retiringDomain.get(box.id) ?? null)}
checked={selected.includes(box.id)}
onToggleSelect={() =>
selected.includes(box.id)
? setSelected((bef) => bef.filter((i) => i !== box.id))
: setSelected((bef) => [...bef, box.id])
}
onOpen={openDetail}
/>
))}
{sortedEmails.map((box) => {
const cloudRow = cloud.connected ? cloud.rowFor(box.id) : undefined;
const rowCloudUnavailable = cloud.unavailable || !!(cloudRow?.enrolled && !cloudRow.cloud?.health);
return (
<MailboxRow
key={box.id}
box={box}
tags={p?.user.tags ?? []}
status={rowCloudUnavailable && statusById.get(box.id)?.health?.status === "healthy" && !statusById.get(box.id)?.errors?.length ? undefined : statusById.get(box.id)}
lastReportedIssue={lastReportedIssues.get(box.id)}
statusPending={statusChecking && !inventoryUnavailable && !rowCloudUnavailable && !statuses.isError}
cloudStatusPending={cloudChecking || rowCloudUnavailable}
cloudRemovalPending={cloudRemovalPending}
findings={advisor.get(box.id)}
canWarmup={canWarmup}
cloud={cloudRow}
cloudConnected={cloud.connected}
retiring={retiringDomain.has(box.id)}
onRetiring={() => openMigration(retiringDomain.get(box.id) ?? null)}
checked={selected.includes(box.id)}
onToggleSelect={() =>
selected.includes(box.id)
? setSelected((bef) => bef.filter((i) => i !== box.id))
: setSelected((bef) => [...bef, box.id])
}
onOpen={openDetail}
/>
);
})}
</tbody>
</table>
</div>