Problem
When running a workflow from the dashboard UI:
-
Parameters not visible in run history: after launching a workflow, the runs list shows state and steps count but NOT what parameters were used. You can't see what sector, stage, etc. were passed without opening the run detail.
-
No re-run with same parameters: there's no way to re-launch a workflow with the same parameters as a previous run. You have to type them all again.
-
No error shown in run list: failed runs show state=failed but the error message is hidden in the run detail. The run list should show WHY it failed.
-
No step-level errors in API: the StepResult struct has no error field - only output. When a step fails, the error goes to the run-level error, not to the individual step that failed.
Proposed changes
API changes
- GET /api/workflows/{id}/runs: add input (the params used) and error to each run item
- StepResult struct: add error field, expose it in GET /api/workflows/runs/{run_id}
Dashboard changes
- Add parameter preview column to the runs table (key: value per param)
- Add error column to the runs table (truncated error on failed runs)
- Add "Re-run with same params" button that pre-fills the run form from a previous run
Related
- Observed during investor-outreach workflow testing on rodela
- The run detail endpoint already returns input and step_results with per-step output
- These are just not surfaced in the list UI
Problem
When running a workflow from the dashboard UI:
Parameters not visible in run history: after launching a workflow, the runs list shows state and steps count but NOT what parameters were used. You can't see what sector, stage, etc. were passed without opening the run detail.
No re-run with same parameters: there's no way to re-launch a workflow with the same parameters as a previous run. You have to type them all again.
No error shown in run list: failed runs show state=failed but the error message is hidden in the run detail. The run list should show WHY it failed.
No step-level errors in API: the StepResult struct has no error field - only output. When a step fails, the error goes to the run-level error, not to the individual step that failed.
Proposed changes
API changes
Dashboard changes
Related