Skip to content
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

Populate activitypause for activity heartbeat response #7098

Merged
merged 3 commits into from
Jan 16, 2025
Merged

Conversation

ychebotarev
Copy link
Contributor

@ychebotarev ychebotarev commented Jan 16, 2025

What changed?

Peopagate "ActivityPaused" to the workers via "heartbeat" response, in both cases.

Why?

To let long-running activity workers know that activity was paused.

How did you test it?

unit tests

Potential risks

No

Is hotfix candidate?

No

@ychebotarev ychebotarev requested a review from a team as a code owner January 16, 2025 21:39
@ychebotarev ychebotarev merged commit 1fafde9 into main Jan 16, 2025
50 checks passed
@ychebotarev ychebotarev deleted the y_hb branch January 16, 2025 23:28
stephanos pushed a commit to stephanos/temporal that referenced this pull request Jan 17, 2025
## What changed?
<!-- Describe what has changed in this PR -->
Peopagate "ActivityPaused" to the workers via "heartbeat" response, in
both cases.

## Why?
<!-- Tell your future self why have you made these changes -->
To let long-running activity workers know that activity was paused.

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
unit tests

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
No

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
No
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