bfc42ef60e
Currently `advanceRunTasks` isn't deterministic and doesn't calculate the final state in one call. So could happen that `getTasksToRun` will select a task to be executed since its parent are finished (marked as skipped in advanceRunTasks) but the task isn't marked to be skipped (because advanceRunTasks has calculated this task before its parents). Currently fix this doing the same task selection logic done in `advanceRunTasks` and add a TODO to make `advanceRunTasks` be deterministic by processing tasks by their level (from level 0). |
||
---|---|---|
.. | ||
common | ||
config | ||
datamanager | ||
db | ||
etcd | ||
git-handler | ||
git-save | ||
gitsources | ||
log | ||
objectstorage | ||
runconfig | ||
sequence | ||
services | ||
testutil | ||
toolbox | ||
util | ||
tools.go |