-
Notifications
You must be signed in to change notification settings - Fork 182
Add support for activity reset #2546
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
Add support for activity reset #2546
Conversation
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.
With some other SDKs, we have also provided a way to activities to see all states that may affect cancellation even though only one is thrown. We call it "cancellation details". I wonder if we should provide something like that in Java on the activity context (so they can see bools for cancel requested, paused, reset, etc).
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.
Yes, we should there is a separate issue for this
THardy98
left a comment
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.
left some thoughts on priority/ordering between pause and reset
...k/src/main/java/io/temporal/internal/client/external/ManualActivityCompletionClientImpl.java
Outdated
Show resolved
Hide resolved
...k/src/main/java/io/temporal/internal/client/external/ManualActivityCompletionClientImpl.java
Outdated
Show resolved
Hide resolved
temporal-sdk/src/main/java/io/temporal/internal/activity/HeartbeatContextImpl.java
Show resolved
Hide resolved
temporal-sdk/src/test/java/io/temporal/activity/ActivityResetTest.java
Outdated
Show resolved
Hide resolved
34710cd to
6db0e46
Compare
6db0e46 to
fed86aa
Compare
Add support for activity reset
closes #2488