mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-30 04:47:46 +08:00
A subworkflow invocation is scheduled on its own as well as through its
parent. When the child schedules its last step itself, the completion
monitor can record its completion before the parent's next scheduling
pass. That pass invokes the parent's subworkflow step, which runs the
child's invoker again and sets the child back to scheduled. The child
keeps its completion record, so it is never polled again, and the
parent waits forever for a child that no longer reports completed.
Have set_state leave completed invocations alone, as it already does
for cancelling and cancelled ones.
(cherry picked from commit cbbd036ee7)