You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should check if it has completed exceptionally or not.
Fixing this though could break backwards compatibility since this could effect workflow code. Any fix will need to make sure to preserve history compatibility with workflows that have this scenario.
Expected Behavior
Promise.allOf(promises)
should fail as long as one of thepromises
fails, no matter it is already failed before calling theallOf
or after.Actual Behavior
If one
Promise
inpromises
is already failed before callingallOf
, the failure is ignored.How to reproduce
A workflow like following will ended successfully.
Analysis
AllOfPromise#addPromise
only handles the promise that is not completed.Specifications
The text was updated successfully, but these errors were encountered: