mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
## What changed? <!-- Describe what has changed in this PR --> * Add "reset_activity" and "reset_heartbeat" flags to the activity info * send "reset_requested" flag to the worker in response to heartbeat request * if "reset_heartbeat" flag was set - reset heartbeats for new attempt only * remove "reset_activity" and "reset_heartbeat" flags for the new attempt Corresponding API PR: https://github.com/temporalio/api/pull/578 ## Why? <!-- Tell your future self why have you made these changes --> To notify the workers/SDK that reset happens. ## How did you test it? <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> Running existing tests. Note: replication in the next PR