support workflow convergence nodes

* remove convergence restriction in API
* change task manager logic to be aware of and support convergence nodes
This commit is contained in:
chris meyers
2018-09-27 15:47:51 -04:00
committed by mabashian
parent c53ccc8d4a
commit f5c10f99b0
7 changed files with 123 additions and 9 deletions

View File

@@ -174,6 +174,8 @@ class TaskManager():
else:
is_done, has_failed = dag.is_workflow_done()
if not is_done:
workflow_nodes = dag.mark_dnr_nodes()
map(lambda n: n.save(update_fields=['do_not_run']), workflow_nodes)
continue
logger.info('Marking %s as %s.', workflow_job.log_format, 'failed' if has_failed else 'successful')
result.append(workflow_job.id)