When a workflow terminates (whatever its status) the task status should be updated to a terminal status (DONE, FAILED or CANCELLED).
Actual behavior
In extremely rare cases, especially with workflow containing asynchronous operations (jobs) at the end of the workflow there is a concurrency issue that leads to the task status stay in RUNNING or CANCELLING even after processing all steps of the workflow.
Bug Report
Description
Expected behavior
When a workflow terminates (whatever its status) the task status should be updated to a terminal status (DONE, FAILED or CANCELLED).
Actual behavior
In extremely rare cases, especially with workflow containing asynchronous operations (jobs) at the end of the workflow there is a concurrency issue that leads to the task status stay in RUNNING or CANCELLING even after processing all steps of the workflow.