acoustic-carpenter-78188
10/27/2023, 3:42 PMparallelism or marking the task as "dirty", indicating that it has already been processed this round. This means that, in scenarios where a task is the downstream dependency of multiple nodes, tasks may be unnecessarily evaluated multiple times within a single round. More seriously, if the task state has no changed (ex. in same phase as previous round) then additional tasks will be scheduled to satisfy the parallelism. This means that, effectively max_parallelism settings may be ignored.
In this PR we correctly increment parallelism if the state has already been seen and mark the task node as "dirty" to indicate that it should not be evaluated again this round.
Check all the applicable boxes
☑︎ I updated the documentation accordingly.
☑︎ All new and existing tests passed.
☑︎ All commits are signed-off.
Screenshots
NA
Note to reviewers
NA
flyteorg/flyte
Codecov: 50.00% of diff hit (target 59.04%)
✅ 29 other checks have passed
29/30 successful checksacoustic-carpenter-78188
11/01/2023, 2:26 PM