From 4ee80d95347a68143c99f996169511b74fac9f7c Mon Sep 17 00:00:00 2001 From: Tin Date: Fri, 6 Nov 2026 16:37:25 +0800 Subject: [PATCH] fix(ui): show workflow run preview under Agentic navigation --- ui/litellm-dashboard/src/components/workflows/runs/README.md | 2 +- .../tests/fixtures/workflow-runs/serve-shell.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/litellm-dashboard/src/components/workflows/runs/README.md b/ui/litellm-dashboard/src/components/workflows/runs/README.md index 52ec51a8ca7..1be452a6805 100644 --- a/ui/litellm-dashboard/src/components/workflows/runs/README.md +++ b/ui/litellm-dashboard/src/components/workflows/runs/README.md @@ -116,7 +116,7 @@ LENS_DEV_PROXY_URL=http://127.0.0.1:3378 NEXT_PUBLIC_USE_REWRITES=true \ --hostname 127.0.0.1 --port 3377 ``` -Open `http://workflow-runs.localhost:3377/__workflow_run_fixture_login`. The preview is development-only, served inside the real dashboard shell, and labeled “Fixture preview”. Its local fixture credential is not a gateway credential +Open `http://workflow-runs.localhost:3377/__workflow_run_fixture_login`. It redirects to `/workflows/run-preview` under Agentic > Workflow Runs. The preview is development-only, served inside the real dashboard shell, and labeled “Fixture preview”. Its local fixture credential is not a gateway credential Select the completed, running and failed runs. Inspect Python values, a failed step with two attempts and an LLM spend record. Filter by status, navigate to the second history page, then inspect two distinct executions referencing `node_1`. The pending fixture has no reported steps. The scalar Python fixture deliberately exercises JSON false and zero as rendering edge cases diff --git a/ui/litellm-dashboard/tests/fixtures/workflow-runs/serve-shell.mjs b/ui/litellm-dashboard/tests/fixtures/workflow-runs/serve-shell.mjs index 76d1f47bf50..70f73141e9e 100644 --- a/ui/litellm-dashboard/tests/fixtures/workflow-runs/serve-shell.mjs +++ b/ui/litellm-dashboard/tests/fixtures/workflow-runs/serve-shell.mjs @@ -51,7 +51,7 @@ createServer((request, response) => { if (pathname === "/__workflow_run_fixture_login") { response.writeHead(302, { "Set-Cookie": `token=${token}; Path=/; SameSite=Lax; Max-Age=86400`, - Location: `${dashboard}/ui/workflows/run-preview`, + Location: `${dashboard}/workflows/run-preview`, }); response.end(); return;