dag icon indicating copy to clipboard operation
dag copied to clipboard

handle multi-root dag in DescendantsFlow

Open agaurav opened this issue 8 months ago • 2 comments

currently DescendantsFlow will wait indefinitely if any of the descendants nodes has a parent that's not in path from start node to itself as the walk function never reaches there. This will be always true when dag has multiple roots and one of them being a start node.

to fix that, this pr changes the size of inputChannels from all parents to only parents who are descendant of start node

agaurav avatar Jun 27 '25 11:06 agaurav

all tests are passing.

agaurav avatar Jun 27 '25 11:06 agaurav

@sebogh requesting review in case this is still actively maintained.

agaurav avatar Jul 03 '25 02:07 agaurav