File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
apps/sim/executor/execution Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -107,13 +107,8 @@ export class DAGExecutor {
107107 startBlockId : string ,
108108 sourceSnapshot : SerializableExecutionState
109109 ) : Promise < ExecutionResult > {
110- // Check if startBlockId is a regular block in the workflow
111- // Parallel/loop containers are not in workflow.blocks, so we need to handle them differently
112- const isRegularBlock = this . workflow . blocks . some ( ( b ) => b . id === startBlockId )
113-
114- // For regular blocks, pass startBlockId so DAG includes it and all downstream blocks
115- // For containers (parallel/loop), build DAG normally and let it find the trigger
116- const dag = this . dagBuilder . build ( this . workflow , isRegularBlock ? startBlockId : undefined )
110+ // Build full DAG to compute upstream set for snapshot filtering
111+ const dag = this . dagBuilder . build ( this . workflow )
117112
118113 const executedBlocks = new Set ( sourceSnapshot . executedBlocks )
119114 const validation = validateRunFromBlock ( startBlockId , dag , executedBlocks )
You can’t perform that action at this time.
0 commit comments