Skip to content

Add include_heartbeat_details and include_last_failure to DescribeActivityExecutionRequest#792

Merged
maciejdudko merged 2 commits into
temporalio:mainfrom
maciejdudko:DescribeActivityExecution_include_heartbeat_details
Jun 3, 2026
Merged

Add include_heartbeat_details and include_last_failure to DescribeActivityExecutionRequest#792
maciejdudko merged 2 commits into
temporalio:mainfrom
maciejdudko:DescribeActivityExecution_include_heartbeat_details

Conversation

@maciejdudko
Copy link
Copy Markdown
Contributor

What changed?
Added include_heartbeat_details and include_last_failure to DescribeActivityExecutionRequest. The intention is that by default, ActivityExecutionInfo will omit heartbeat_details and last_failure.

Why?
heartbeat_details and last_failure are user-controlled payloads and potentially very large. These changes allow sending these payloads only when specifically requested, reducing message size when they aren't needed.

Breaking changes
This PR changes what the default behavior of DescribeActivityExecution should be. The old behavior is equivalent to setting both include_heartbeat_details and include_last_failure to true. The server does not need to be immediately updated since the current implementation is functional with new API - however, once server implements the new API, old clients will break if they rely on the old behavior. Note that SAA APIs are in Public Preview and breaking changes can happen.

Server PR
TBD

@maciejdudko maciejdudko requested review from a team June 1, 2026 20:57
@maciejdudko maciejdudko force-pushed the DescribeActivityExecution_include_heartbeat_details branch from 4aa1bb4 to a624ff9 Compare June 3, 2026 19:46
@maciejdudko maciejdudko merged commit 738d7e6 into temporalio:main Jun 3, 2026
4 checks passed
@maciejdudko maciejdudko deleted the DescribeActivityExecution_include_heartbeat_details branch June 3, 2026 21:11
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.

3 participants