feat(webui): add model, from-step, steps, exclude, dry-run to start pipeline dialogs#698
feat(webui): add model, from-step, steps, exclude, dry-run to start pipeline dialogs#698nextlevelshit merged 2 commits intomainfrom
Conversation
cca56f5 to
ae92595
Compare
154b3f2 to
d08f799
Compare
…ipeline dialogs #690 Expose 5 high-priority CLI flags in the web UI's Start Pipeline dialogs: - Model override dropdown (auto/haiku/sonnet/opus) - From-step dropdown for resume from specific step - Steps checkboxes for selective step execution - Exclude checkboxes for skipping steps - Dry-run toggle for validation without execution Backend: expand StartPipelineRequest and SubmitRunRequest types, wire fields into executor options via launchParams, add handleDryRun for validation-only mode. Validate mutual exclusivity of from-step vs steps. Frontend: collapsible Advanced Options section on all three start dialogs (runs page, pipelines list, pipeline detail). Step lists populated dynamically from GET /api/pipelines/{name} on pipeline selection.
d08f799 to
ef988a6
Compare
Code Review: Request ChangesThe PR adds Advanced Options UI (model override, step filtering, dry-run) to the WebUI pipeline start dialogs, but has critical implementation gaps that make the feature non-functional. Two JavaScript functions called from both templates ( Critical
Major
Minor
Suggestions
Automated review by Wave CI — reviewed at 2026-04-03T21:01:20Z |
Summary
StartPipelineRequestwith new fields (Model,FromStep,Steps,Exclude,DryRun) and wires them intoExecutorOptionsin the control handlerstartPipeline()collects all form fields and sends them in the API requestRelated to #690
Changes
internal/webui/types.go— expandedStartPipelineRequestwith Model, FromStep, Steps, Exclude, DryRun fieldsinternal/webui/handlers_control.go— wires new request fields intoExecutorOptionsfor pipeline executioninternal/webui/handlers_control_test.go— new test file with table-driven tests for start pipeline handlerinternal/webui/static/app.js— updatedstartPipeline()to collect and send new form fieldsinternal/webui/templates/pipelines.html— added form controls to start dialoginternal/webui/templates/pipeline_detail.html— added form controls to start dialoginternal/webui/templates/runs.html— added form controls to re-run dialogspecs/690-webui-start-flags/— spec, plan, and tasks documentsTest Plan
handlers_control_test.gocover: default request (input only), all flags populated, model validation, empty steps/exclude filtering, and dry-run toggle