Skip to content

remove reset_heartbeats field in ResetActivityExecutionRequest#820

Open
spkane31 wants to merge 1 commit into
mainfrom
spk/remove-keep-heartbeats
Open

remove reset_heartbeats field in ResetActivityExecutionRequest#820
spkane31 wants to merge 1 commit into
mainfrom
spk/remove-keep-heartbeats

Conversation

@spkane31

@spkane31 spkane31 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What changed?
Remove the reset_heartbeat field from temporal.api.workflowservice.v1.ResetActivityExecutionRequest.

Why?
The new default behavior will be to reset heartbeats with a reset request so this field is no longer needed.

Breaking changes
This is technically a breaking change, but this endpoint has not been published in the server yet so no users can actually use this field.

Server PR
N/A


// If activity is paused, it will remain paused after reset
bool keep_paused = 7;
bool keep_paused = 6;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming swapping is ok if no one uses this API?
Safe thing to do is:

    reserved 6;
    reserved "reset_heartbeat";

    // If activity is paused, it will remain paused after reset
    bool keep_paused = 7;
...

Comment thread buf.yaml
- WIRE_JSON
ignore:
- google
ignore_only:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we did my above comment, I don't think we need this

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.

2 participants