-
Notifications
You must be signed in to change notification settings - Fork 14
Throw CompositeTaskFailedException for context.allOf #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
client/src/main/java/com/microsoft/durabletask/TaskOrchestrationExecutor.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/microsoft/durabletask/TaskOrchestrationExecutor.java
Outdated
Show resolved
Hide resolved
client/src/test/java/com/microsoft/durabletask/IntegrationTests.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some thoughts
client/src/main/java/com/microsoft/durabletask/CompositeTaskFailedException.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/microsoft/durabletask/CompositeTaskFailedException.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/microsoft/durabletask/CompositeTaskFailedException.java
Show resolved
Hide resolved
client/src/main/java/com/microsoft/durabletask/TaskOrchestrationExecutor.java
Outdated
Show resolved
Hide resolved
client/src/test/java/com/microsoft/durabletask/IntegrationTests.java
Outdated
Show resolved
Hide resolved
samples/src/main/java/io/durabletask/samples/FanOutFanInPattern.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/microsoft/durabletask/CompositeTaskFailedException.java
Show resolved
Hide resolved
client/src/main/java/com/microsoft/durabletask/CompositeTaskFailedException.java
Outdated
Show resolved
Hide resolved
client/src/test/java/com/microsoft/durabletask/IntegrationTests.java
Outdated
Show resolved
Hide resolved
client/src/test/java/com/microsoft/durabletask/IntegrationTests.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/microsoft/durabletask/TaskOrchestrationExecutor.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we're very close on this one! There are a couple changes we should make to the JavaDoc comments and one suggested change about the organization of the inner exceptions.
client/src/main/java/com/microsoft/durabletask/TaskOrchestrationContext.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/microsoft/durabletask/TaskOrchestrationContext.java
Outdated
Show resolved
Hide resolved
client/src/test/java/com/microsoft/durabletask/IntegrationTests.java
Outdated
Show resolved
Hide resolved
e78b4fb
to
4c52895
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, one more thing I noticed in my final pass through the code.
client/src/main/java/com/microsoft/durabletask/TaskOrchestrationExecutor.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Thanks for doing this work!
TaskOrchestrationContext.allOf should throw TaskFailureException instead of RuntimeException
resolves #54
Pull request checklist
CHANGELOG.md