Skip to content

Commit

Permalink
fix(Runner): Fixed the WorkflowExecutionContext to properly set the…
Browse files Browse the repository at this point in the history
… status of an ended task

Signed-off-by: Charles d'Avernas <[email protected]>
  • Loading branch information
cdavernas committed Oct 21, 2024
1 parent 3db17a4 commit db887a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ await this.Api.Events.PublishAsync(new CloudEvent()
{
Workflow = this.Instance.GetQualifiedName(),
Task = task.Reference,
Status = this.Instance.Status!.Phase!,
Status = task.Status!,
EndedAt = run?.EndedAt ?? DateTimeOffset.Now
}
}, cancellationToken).ConfigureAwait(false);
Expand Down

0 comments on commit db887a6

Please sign in to comment.