<#4318 Not revisiting task nodes and correctly inc...
# flyte-github
a
#4318 Not revisiting task nodes and correctly incrementing parallelism Pull request opened by hamersaw Tracking issue NA Describe your changes Currently, if the plugin state has already been observed we immediately return without incrementing
parallelism
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 checks