Skip to content

handle multi-root dag in DescendantsFlow#41

Open
agaurav wants to merge 1 commit into
heimdalr:masterfrom
arena-ml:master
Open

handle multi-root dag in DescendantsFlow#41
agaurav wants to merge 1 commit into
heimdalr:masterfrom
arena-ml:master

Conversation

@agaurav

@agaurav agaurav commented Jun 27, 2025

Copy link
Copy Markdown

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

agaurav commented Jun 27, 2025

Copy link
Copy Markdown
Author

all tests are passing.

@agaurav

agaurav commented Jul 3, 2025

Copy link
Copy Markdown
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant