fix(parallel): add parallel sentinel to make parallel-parallel and parallel-loop work correctly (#2593)

* fix(parallel): add parallel sentinel to make parallel-parallel and parallel-loop work correctly

* fix regular -> parallel + copilot nested subflows

* add tests

* consolidate to always explode parallel dag at runtime
This commit is contained in:
Vikhyath Mondreti
2025-12-26 16:51:54 -08:00
committed by GitHub
parent b60b98e42c
commit 298546daf1
13 changed files with 1207 additions and 650 deletions

View File

@@ -129,6 +129,10 @@ export class EdgeManager {
return handle === EDGE.LOOP_CONTINUE || handle === EDGE.LOOP_CONTINUE_ALT
}
if (output.selectedRoute === EDGE.PARALLEL_EXIT) {
return handle === EDGE.PARALLEL_EXIT
}
if (!handle) {
return true
}