fix(ui): label resolved alerts in the activity feed
deploy / plan (push) Failing after 1s
deploy / gate (push) Skipped
deploy / archied-image (push) Skipped
deploy / agent-image (push) Skipped
deploy / dist-zip (push) Skipped

This commit is contained in:
sam committed 2026-11-08 23:56:41 +11:00
1 parent 514219b6a5
commit 090b220d25
1 file changed
+6
+6
View File
@@ -66,6 +66,12 @@ export function describeTimelineEvent(ev: TaskEvent = {}): TimelineLine {
detail: [context, text(data.error), text(data.when)].filter(Boolean).join(" · "),
};
}
if (ev.kind === "alert") {
return {
title: data.state === "resolved" ? "Alert resolved" : "Alert",
detail: ev.detail || "",
};
}
if (ev.kind === "task_retried") {
const retryCount = Number(data.retry_count);
const attempt =