-
Notifications
You must be signed in to change notification settings - Fork 69
Add reset info to the activity heartbeat response #578
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
|
||
// Will be set to true if the activity was reset. | ||
// Applyes only to the current run. | ||
bool activity_reset = 3; |
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.
Can I get confirmation that we want SDKs to interrupt running activities when this is true, same as we do for paused or cancel requested?
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.
My goal is to provide all the information.
I think we need to decide it separately.
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.
Would rather decide how we want SDK to react before merging this API (we obviously don't provide all information on heartbeat, we only provide what callers need, there is a ton of stuff about an activity we leave off).
In this case I suspect we will want to interrupt the activity.
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.
@cretz that's right.
96fd95e
to
dec9a5e
Compare
What changed?
Add two new flags to activity heartbeat response:
Why?
Product request.
Breaking changes
No
Corresponding Server PR: temporalio/temporal#7677