M14: add n8n execution health telemetry
This commit is contained in:
@@ -279,9 +279,13 @@ export function Automation() {
|
||||
const displayName = slug ? t(`workflows.names.${slug}`) : w.name;
|
||||
const badge = !w.built
|
||||
? { status: "not_configured", label: t("workflows.notBuilt") }
|
||||
: w.last_seen_at
|
||||
? { status: "available", label: t("statusLabels.operational") }
|
||||
: { status: "no_events", label: t("workflows.noEvidence") };
|
||||
: w.state === "healthy"
|
||||
? { status: "available", label: t("workflows.healthy") }
|
||||
: w.state === "stale"
|
||||
? { status: "degraded", label: t("workflows.stale") }
|
||||
: w.state === "failed"
|
||||
? { status: "failed", label: t("workflows.failed") }
|
||||
: { status: "no_events", label: t("workflows.noEvidence") };
|
||||
return (
|
||||
<tr key={w.name}>
|
||||
<td data-label={t("workflows.columns.name")}>{displayName}</td>
|
||||
@@ -298,7 +302,7 @@ export function Automation() {
|
||||
<td data-label={t("workflows.columns.technicalId")}>
|
||||
<details className="evidence-disclosure">
|
||||
<summary>{t("common:actions.technicalDetails")}</summary>
|
||||
<span className="table-subtext">{w.name}</span>
|
||||
<span className="table-subtext">{w.name}{w.last_execution_id ? ` · ${t("workflows.executionId")}: ${w.last_execution_id}` : ""}</span>
|
||||
</details>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user