Skip to content

[WORKFLOW SDK BUG] when_all([]) causes the activity to never complete #835

@passuied

Description

@passuied

Expected Behavior

Calling yield wf.when_all(tasks) on a dynamic list that is empty causes the call to never complete.

Actual Behavior

The call should complete immediately and proceed to next step.

Steps to Reproduce the Problem

if you have a dynamic list of tasks and do yield wf.when_all(tasks) and the tasks array is empty, the call never completes and the workflow just "hangs".
Based on quick code exploration, this issue may be caused by the underlying durabletask-python library.

Release Note

RELEASE NOTE: FIX Bug causing yield wf.when_all() to hang when list of task is empty

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions