fix: Sort pipeline tasks by dependency order instead of priority+createdAt
The Execution tab's PipelinePhaseGroup was using sortByPriorityAndQueueTime which ignores task dependencies entirely. Tasks now sort topologically via topologicalSortPhases, matching the Plan tab's TaskGraph behavior. - Add listInitiativeTaskDependencies tRPC procedure (bulk fetch) - Fetch task deps in PipelineTab, group by phase, pass through - Replace priority sort with topological sort in PipelinePhaseGroup - Show "blocked by N" count on PipelineTaskCard
This commit is contained in:
@@ -103,9 +103,11 @@ The initiative detail page has three tabs managed via local state (not URL param
|
||||
### Pipeline Components (`src/components/pipeline/`)
|
||||
| Component | Purpose |
|
||||
|-----------|---------|
|
||||
| `PipelineVisualization` | DAG visualization of phase pipeline |
|
||||
| `PipelineNode` | Individual phase node in pipeline |
|
||||
| `PipelineEdge` | Dependency edge between nodes |
|
||||
| `PipelineTab` | Execution tab entry — fetches tasks, phase deps, task deps |
|
||||
| `PipelineGraph` | Horizontal DAG of phase columns with connectors |
|
||||
| `PipelineStageColumn` | Single depth column containing phase groups |
|
||||
| `PipelinePhaseGroup` | Phase card with topologically-sorted task list |
|
||||
| `PipelineTaskCard` | Individual task row with status icon, blocked-by count |
|
||||
|
||||
### Review Components (`src/components/review/`)
|
||||
| Component | Purpose |
|
||||
|
||||
Reference in New Issue
Block a user