In case we have a workflow which has, let's say, 80 actions after each other:
a1 -> a2 -> ... a80
then the validator code "never" finishes.
Currently the validation (in my understanding) does depth first checks from the start node and runs in time of n! . This is confirmed as when we split this huge workflow into two 40-element workflow then we get 2x ~40!-step in validation instead of ~80! steps.
Guys, could you please confirm or disprove my theory?