Skip to content

Add include_heartbeat_details and include_last_failure to DescribeActivityExecutionRequest#792

Open
maciejdudko wants to merge 2 commits into
temporalio:masterfrom
maciejdudko:DescribeActivityExecution_include_heartbeat_details
Open

Add include_heartbeat_details and include_last_failure to DescribeActivityExecutionRequest#792
maciejdudko wants to merge 2 commits into
temporalio:masterfrom
maciejdudko:DescribeActivityExecution_include_heartbeat_details

Conversation

@maciejdudko
Copy link
Copy Markdown

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
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