fix(webui): hide rework_only steps from DAG visualization#693
fix(webui): hide rework_only steps from DAG visualization#693nextlevelshit merged 2 commits intomainfrom
Conversation
Code Review (Wave Pipeline)Verdict: APPROVE PR #693 is a clean, well-scoped change that filters Critical IssuesNone. In-Diff Findings
Pre-Existing Findings (out of scope — recommend follow-up issues)
SummaryThe in-diff issues are minor and non-blocking. The pre-existing security findings should be tracked as separate issues. Approving this PR. Generated by Wave pr-review pipeline |
a23bd42 to
3454929
Compare
Filter steps with rework_only=true from the DAG layout in both pipeline detail and run detail handlers. Add stripExcludedDeps helper to remove dangling dependency references to filtered-out steps.
3454929 to
d1662b2
Compare
Code Review: APPROVEPR #693 filters FindingsMinor
Suggestions (non-blocking)
Reviewed at 2026-04-03T21:00:52Z |
- [minor] extend stripExcludedDeps to filter Edges targeting excluded steps and rebuild EdgeInfo - [minor] add test for stripExcludedDeps empty excluded set fast path - [minor] add test documenting ComputeDAGLayout graceful edge-skip for missing nodes
Review Resolution SummaryTotal findings: 10 | Accepted & fixed: 3 | Rejected: 3 | Deferred: 4 Accepted & Fixed (commit 4ec8b8b)
Rejected
Deferred (pre-existing / out-of-scope)
Generated by Wave pr-fix-review pipeline |
Review Resolution SummaryTotal findings: 10 | Fixed (prior commit): 3 | Rejected: 3 | Deferred: 4 Fixed in commit 4ec8b8b (prior to triage)
Rejected
Deferred (pre-existing / out-of-scope)
Generated by Wave pr-fix-review pipeline |
Review Resolution SummaryTotal findings: 10 | Accepted & fixed: 0 | Rejected: 6 | Deferred: 4 Rejected (6)
Deferred (4)
ResultNo code changes required for this PR. Three suggestions were already addressed in commit 4ec8b8b, three were rejected as not applicable, and four pre-existing/out-of-scope issues are deferred for separate tracking. |
Summary
rework_onlysteps from DAG visualization so they don't clutter the pipeline graph at layer 0filterReworkOnlyStepshelper indag.gothat removes steps withReworkOnly: truehandlers_pipelines.go(pipeline detail view) andhandlers_runs.go(run detail view) before computing DAG layoutRelated to #691
Changes
internal/webui/dag.go— addedfilterReworkOnlySteps()function to filter steps before DAG layout computationinternal/webui/dag_test.go— added tests covering filtering of rework-only steps (mixed, all rework, none rework, empty input)internal/webui/handlers_pipelines.go— apply rework-only filter beforeComputeDAGLayoutcallinternal/webui/handlers_runs.go— apply rework-only filter beforeComputeDAGLayoutcallspecs/691-dag-rework-only/— spec, plan, and task artifactsTest Plan
dag_test.govalidate filtering behaviorgo test ./internal/webui/...passes