Skip to content

[Backport release-1.18] when_all waits for all tasks before surfacing the first failure - #1175

Merged
acroca merged 1 commit into
release-1.18from
backport-1166-to-release-1.18
Jul 27, 2026
Merged

[Backport release-1.18] when_all waits for all tasks before surfacing the first failure#1175
acroca merged 1 commit into
release-1.18from
backport-1166-to-release-1.18

Conversation

@dapr-bot

Copy link
Copy Markdown
Collaborator

Backport 47f0f23 from #1166.

Previously a WhenAllTask completed as soon as one child failed, while
sibling tasks were still running and their later completions were
dropped. Now the composite stages the first failure and keeps waiting;
it completes only once every child has finished, then fails with the
first recorded exception (or returns the ordered results if none
failed).

Signed-off-by: Albert Callarisa <albert@diagrid.io>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
(cherry picked from commit 47f0f23)
Signed-off-by: dapr-bot <dapr-bot@users.noreply.github.com>
@dapr-bot
dapr-bot requested review from a team as code owners July 27, 2026 07:44
@acroca
acroca merged commit 0d04bbc into release-1.18 Jul 27, 2026
17 checks passed
@dapr-bot
dapr-bot deleted the backport-1166-to-release-1.18 branch July 27, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants