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

Adding heartbeat details in RespondActivityTaskFailed apis #2560

Merged
merged 2 commits into from
Mar 8, 2022
Merged

Adding heartbeat details in RespondActivityTaskFailed apis #2560

merged 2 commits into from
Mar 8, 2022

Conversation

jbreiding
Copy link
Contributor

@jbreiding jbreiding commented Mar 1, 2022

What changed?
Add optional heartbeat details to RespondActivityFailed apis

Why?
Convenience for SDK to flush/combine heartbeat and failure into a single API call.
#2443

Intentionally if the heartbeat details blob violates size constraints the same activity failure would be recorded as if the API calls where separate.

How did you test it?
Local tests

Potential risks
None

Is hotfix candidate?
No

@jbreiding jbreiding requested a review from a team as a code owner March 1, 2022 04:14
@jbreiding jbreiding requested review from yiminc and yycptt March 2, 2022 23:37
service/frontend/workflowHandler.go Outdated Show resolved Hide resolved
service/frontend/workflowHandler.go Outdated Show resolved Hide resolved
service/history/historyEngine.go Outdated Show resolved Hide resolved
service/history/historyEngine.go Outdated Show resolved Hide resolved
@jbreiding jbreiding merged commit 11c67aa into temporalio:master Mar 8, 2022
@jbreiding jbreiding deleted the heartbeat-in-activity-failure branch March 8, 2022 15:41
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.

Support recording heartbeat details as part of activity failure completions
5 participants