Files
YuriandGitHub 2cf39fb155 Send ActivityReset flag to the worker in heartbeat response (#7677)
## 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
2025-05-07 14:09:59 -07:00
..