fix(ui): show workflow run preview under Agentic navigation

This commit is contained in:
Tin 2026-11-06 16:37:25 +08:00
parent 2a896aab5d
commit 4ee80d9534
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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;