Skip to content

Conversation

@VaguelySerious
Copy link
Member

@VaguelySerious VaguelySerious commented Nov 7, 2025

This PR:

  • Adds a CLI flag for setting the port for the web UI
  • Fixes documentation for the CLI flag --noBrowser
  • Adds skeleton animations for most loading states in the web UI
  • Makes the trace viewer slightly bigger, eventually want it to be full-width like the log viewer, but will need some iteration, didn't want to do it in this PR
  • Improves initial load by only blocking trace viewer load until the main run has loaded, with the rest of the data being loaded incrementally
  • The live mode polling is now also split into two (5 seconds for events/run/hook updates, 2 seconds for step updates)

@changeset-bot
Copy link

changeset-bot bot commented Nov 7, 2025

🦋 Changeset detected

Latest commit: 2c82672

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@workflow/cli Patch
@workflow/web-shared Patch
@workflow/web Patch
workflow Patch
@workflow/world-testing Patch
@workflow/ai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Contributor

vercel bot commented Nov 7, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview Comment Nov 7, 2025 11:17pm
example-nextjs-workflow-webpack Ready Ready Preview Comment Nov 7, 2025 11:17pm
example-workflow Ready Ready Preview Comment Nov 7, 2025 11:17pm
workbench-nitro-workflow Ready Ready Preview Comment Nov 7, 2025 11:17pm
workbench-nuxt-workflow Ready Ready Preview Comment Nov 7, 2025 11:17pm
workbench-sveltekit-workflow Ready Ready Preview Comment Nov 7, 2025 11:17pm
workbench-vite-workflow Ready Ready Preview Comment Nov 7, 2025 11:17pm
workflow-docs Ready Ready Preview Comment Nov 7, 2025 11:17pm

Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Build Fix:

The height parameter is declared in the function signature but never used in the component, causing TypeScript error TS6133.

View Details
📝 Patch Details
diff --git a/packages/web-shared/src/workflow-trace-view.tsx b/packages/web-shared/src/workflow-trace-view.tsx
index 197152c..04fa5ec 100644
--- a/packages/web-shared/src/workflow-trace-view.tsx
+++ b/packages/web-shared/src/workflow-trace-view.tsx
@@ -183,7 +183,7 @@ export const WorkflowTraceViewer = ({
         customSpanEventClassNameFunc={getCustomSpanEventClassName}
         customPanelComponent={<WorkflowDetailPanel env={env} />}
       >
-        <TraceViewerTimeline height="100%" trace={trace} withPanel />
+        <TraceViewerTimeline height={`${height}px`} trace={trace} withPanel />
       </TraceViewerContextProvider>
     </div>
   );

Analysis

TypeScript compilation failure due to unused parameter

What fails: TypeScript compiler fails on src/workflow-trace-view.tsx line 34 due to unused height parameter

How to reproduce:

pnpm turbo build --filter='@workflow/web-shared'

Result:

src/workflow-trace-view.tsx(34,3): error TS6133: 'height' is declared but its value is never read.
Fix on Vercel

Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Build Fix:

The height parameter is declared in the component props but never used, causing TypeScript compilation to fail due to the noUnusedParameters rule.

View Details
📝 Patch Details
diff --git a/packages/web-shared/src/workflow-trace-view.tsx b/packages/web-shared/src/workflow-trace-view.tsx
index 197152c..4cd42ea 100644
--- a/packages/web-shared/src/workflow-trace-view.tsx
+++ b/packages/web-shared/src/workflow-trace-view.tsx
@@ -31,7 +31,6 @@ export const WorkflowTraceViewer = ({
   env,
   isLoading,
   error,
-  height = 800,
 }: {
   run: WorkflowRun;
   steps: Step[];
@@ -40,7 +39,6 @@ export const WorkflowTraceViewer = ({
   env: EnvMap;
   isLoading?: boolean;
   error?: Error | null;
-  height?: number;
 }) => {
   const [now, setNow] = useState(() => new Date());
 

Analysis

TypeScript compilation failure due to unused parameter

What fails: TypeScript compiler fails on src/workflow-trace-view.tsx due to unused height parameter violating noUnusedParameters rule

How to reproduce:

cd packages/web-shared && pnpm run build

Result:

src/workflow-trace-view.tsx(34,3): error TS6133: 'height' is declared but its value is never read.
Fix on Vercel

Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Build Fix:

The height parameter is declared in the WorkflowTraceViewer component but never used, causing a TypeScript compilation error.

View Details
📝 Patch Details
diff --git a/packages/web-shared/src/workflow-trace-view.tsx b/packages/web-shared/src/workflow-trace-view.tsx
index 197152c..4cd42ea 100644
--- a/packages/web-shared/src/workflow-trace-view.tsx
+++ b/packages/web-shared/src/workflow-trace-view.tsx
@@ -31,7 +31,6 @@ export const WorkflowTraceViewer = ({
   env,
   isLoading,
   error,
-  height = 800,
 }: {
   run: WorkflowRun;
   steps: Step[];
@@ -40,7 +39,6 @@ export const WorkflowTraceViewer = ({
   env: EnvMap;
   isLoading?: boolean;
   error?: Error | null;
-  height?: number;
 }) => {
   const [now, setNow] = useState(() => new Date());
 

Analysis

TypeScript compilation fails due to unused parameter

What fails: TypeScript compiler fails on packages/web-shared/src/workflow-trace-view.tsx due to unused height parameter

How to reproduce:

pnpm turbo run build --filter="@workflow/web-shared"

Result:

src/workflow-trace-view.tsx(34,3): error TS6133: 'height' is declared but its value is never read.
Fix on Vercel

Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Build Fix:

The height parameter is declared in the function signature but never used, causing a TypeScript compilation error TS6133.

View Details
📝 Patch Details
diff --git a/packages/web-shared/src/workflow-trace-view.tsx b/packages/web-shared/src/workflow-trace-view.tsx
index 197152c..ac2f377 100644
--- a/packages/web-shared/src/workflow-trace-view.tsx
+++ b/packages/web-shared/src/workflow-trace-view.tsx
@@ -183,7 +183,7 @@ export const WorkflowTraceViewer = ({
         customSpanEventClassNameFunc={getCustomSpanEventClassName}
         customPanelComponent={<WorkflowDetailPanel env={env} />}
       >
-        <TraceViewerTimeline height="100%" trace={trace} withPanel />
+        <TraceViewerTimeline height={height} trace={trace} withPanel />
       </TraceViewerContextProvider>
     </div>
   );

Analysis

Unused TypeScript parameter causes compilation failure

What fails: TypeScript compiler fails on src/workflow-trace-view.tsx due to unused height parameter in function signature

How to reproduce:

cd packages/web-shared && pnpm run build

Result:

src/workflow-trace-view.tsx(34,3): error TS6133: 'height' is declared but its value is never read.
Fix on Vercel

Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Build Fix:

The height parameter is declared with a default value but never used in the component, causing a TypeScript compilation error. The parameter should be utilized in the TraceViewerTimeline component instead of the hardcoded "100%" value.

View Details
📝 Patch Details
diff --git a/packages/web-shared/src/workflow-trace-view.tsx b/packages/web-shared/src/workflow-trace-view.tsx
index 197152c..04fa5ec 100644
--- a/packages/web-shared/src/workflow-trace-view.tsx
+++ b/packages/web-shared/src/workflow-trace-view.tsx
@@ -183,7 +183,7 @@ export const WorkflowTraceViewer = ({
         customSpanEventClassNameFunc={getCustomSpanEventClassName}
         customPanelComponent={<WorkflowDetailPanel env={env} />}
       >
-        <TraceViewerTimeline height="100%" trace={trace} withPanel />
+        <TraceViewerTimeline height={`${height}px`} trace={trace} withPanel />
       </TraceViewerContextProvider>
     </div>
   );

Analysis

TypeScript unused variable error causes @workflow/web-shared build failure

What fails: TypeScript compiler fails on packages/web-shared/src/workflow-trace-view.tsx line 34 due to unused height parameter

How to reproduce:

cd packages/web-shared && pnpm run build

Result:

src/workflow-trace-view.tsx(34,3): error TS6133: 'height' is declared but its value is never read.
 ELIFECYCLE  Command failed with exit code 2.
Fix on Vercel

Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Build Fix:

The height parameter is declared but never used in the WorkflowTraceViewer component, causing TypeScript compilation to fail due to the strict noUnusedParameters setting.

View Details
📝 Patch Details
diff --git a/packages/web-shared/src/workflow-trace-view.tsx b/packages/web-shared/src/workflow-trace-view.tsx
index 197152c..ac2f377 100644
--- a/packages/web-shared/src/workflow-trace-view.tsx
+++ b/packages/web-shared/src/workflow-trace-view.tsx
@@ -183,7 +183,7 @@ export const WorkflowTraceViewer = ({
         customSpanEventClassNameFunc={getCustomSpanEventClassName}
         customPanelComponent={<WorkflowDetailPanel env={env} />}
       >
-        <TraceViewerTimeline height="100%" trace={trace} withPanel />
+        <TraceViewerTimeline height={height} trace={trace} withPanel />
       </TraceViewerContextProvider>
     </div>
   );

Analysis

TypeScript compilation failure due to unused parameter

What fails: TypeScript compiler fails on packages/web-shared/src/workflow-trace-view.tsx due to unused height parameter

How to reproduce:

pnpm turbo run build --filter=@workflow/web-shared

Result:

src/workflow-trace-view.tsx(34,3): error TS6133: 'height' is declared but its value is never read.

The height parameter was declared with a default value of 800 but was never used in the component, causing TypeScript to error due to the noUnusedParameters: true compiler setting.

Fix on Vercel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants