Skip to content

Commit 3b976ca

Browse files
stephanosclaude
andcommitted
Drop state_size_bytes from ActivityExecutionInfo, ActivityListInfo, NexusOperationInfo
Reserve the field numbers for wire compatibility. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1af999c commit 3b976ca

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

temporal/api/activity/v1/message.proto

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,6 @@ message ActivityExecutionInfo {
151151
// Incremented each time the activity's state is mutated in persistence.
152152
int64 state_transition_count = 27;
153153

154-
// Updated once on scheduled and once on terminal status.
155-
int64 state_size_bytes = 28;
156-
157154
temporal.api.common.v1.SearchAttributes search_attributes = 29;
158155
temporal.api.common.v1.Header header = 30;
159156
// Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
@@ -189,8 +186,6 @@ message ActivityExecutionListInfo {
189186
string task_queue = 8;
190187
// Updated on terminal status.
191188
int64 state_transition_count = 9;
192-
// Updated once on scheduled and once on terminal status.
193-
int64 state_size_bytes = 10;
194189
// The difference between close time and scheduled time.
195190
// This field is only populated if the activity is closed.
196191
google.protobuf.Duration execution_duration = 11;

temporal/api/nexus/v1/message.proto

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,7 @@ message NexusOperationExecutionListInfo {
357357

358358
// Updated on terminal status.
359359
int64 state_transition_count = 10;
360-
// Updated once on scheduled and once on terminal status.
361-
int64 state_size_bytes = 11;
362360
// The difference between close time and scheduled time.
363361
// This field is only populated if the operation is closed.
364-
google.protobuf.Duration execution_duration = 12;
362+
google.protobuf.Duration execution_duration = 11;
365363
}

0 commit comments

Comments
 (0)