From 06dc0031ee1f9daf681df8076d4575375190d830 Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Wed, 29 Oct 2025 14:26:30 +0800 Subject: [PATCH] label workflow failure reason by status (#3830) --- skyvern-frontend/src/routes/workflows/WorkflowRun.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx index 2e8ab1b5..d89c35e2 100644 --- a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx +++ b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx @@ -187,6 +187,11 @@ function WorkflowRun() { )) : null; + const failureReasonTitle = + workflowRun?.status === Status.Terminated + ? "Termination Reason" + : "Failure Reason"; + const workflowFailureReason = workflowRun?.failure_reason ? (
-
Workflow Failure Reason
+
{failureReasonTitle}
{workflowRun.failure_reason}
{matchedTips}