This commit is contained in:
Siddharth Ganesan
2026-01-28 11:31:10 -08:00
parent 44db6a120d
commit 0070433cca
2 changed files with 0 additions and 5 deletions

View File

@@ -262,8 +262,6 @@ export class EdgeConstructor {
continue
}
// Only add LOOP_EXIT edge if target is outside the loop
// (target would be inside if it's in blocksInLoops for the same loop)
if (loopSentinelStartId && !blocksInLoops.has(originalTarget)) {
this.addEdge(dag, loopSentinelStartId, target, EDGE.LOOP_EXIT, targetHandle)
}

View File

@@ -77,9 +77,6 @@ export class EdgeManager {
}
}
// Check if any deactivation targets that previously received an activated edge are now ready
// Skip this check when exiting a loop/parallel, as deactivated targets are loop body nodes
// that should not execute
if (output.selectedRoute !== EDGE.LOOP_EXIT && output.selectedRoute !== EDGE.PARALLEL_EXIT) {
for (const { target } of edgesToDeactivate) {
if (