Skip to content

Conversation

@Quinn-With-Two-Ns
Copy link
Contributor

Add support for activity reset

closes #2488

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner June 4, 2025 22:23
Copy link
Member

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).

Copy link
Contributor Author

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

Copy link
Contributor

@THardy98 THardy98 left a 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

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit d310594 into temporalio:master Jul 9, 2025
15 of 16 checks passed
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.

[java] SDK support for activity reset

3 participants