Skip to content

Commit 8896a9e

Browse files
committed
Remove workflow_id from ActivityExecutionListInfo (#679)
1 parent e948c3a commit 8896a9e

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

temporal/api/activity/v1/message.proto

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -158,35 +158,33 @@ message ActivityExecutionInfo {
158158
// When adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it
159159
// may already be present in ActivityExecutionInfo but not at the top-level).
160160
message ActivityExecutionListInfo {
161-
// For standalone activity - a unique identifier of this activity within its namespace along with run ID (below).
161+
// A unique identifier of this activity within its namespace along with run ID (below).
162162
string activity_id = 1;
163-
// The run ID of the workflow or standalone activity.
163+
// The run ID of the standalone activity.
164164
string run_id = 2;
165-
// Workflow that contains this activity - only present for workflow activity.
166-
string workflow_id = 3;
167165

168166
// The type of the activity, a string that maps to a registered activity on a worker.
169-
temporal.api.common.v1.ActivityType activity_type = 4;
167+
temporal.api.common.v1.ActivityType activity_type = 3;
170168
// Time the activity was originally scheduled via a StartActivityExecution request.
171169
// TODO: Workflows call this schedule_time but it's scheduled_time in PendingActivityInfo, what should we choose for
172170
// consistency?
173-
google.protobuf.Timestamp scheduled_time = 5;
171+
google.protobuf.Timestamp scheduled_time = 4;
174172
// If the activity is in a terminal status, this field represents the time the activity transitioned to that status.
175-
google.protobuf.Timestamp close_time = 6;
173+
google.protobuf.Timestamp close_time = 5;
176174
// Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not
177175
// available in the list response.
178-
temporal.api.enums.v1.ActivityExecutionStatus status = 7;
176+
temporal.api.enums.v1.ActivityExecutionStatus status = 6;
179177

180178
// Search attributes from the start request.
181-
temporal.api.common.v1.SearchAttributes search_attributes = 8;
179+
temporal.api.common.v1.SearchAttributes search_attributes = 7;
182180

183181
// The task queue this activity was scheduled on when it was originally started, updated on activity options update.
184-
string task_queue = 9;
182+
string task_queue = 8;
185183
// Updated on terminal status.
186-
int64 state_transition_count = 10;
184+
int64 state_transition_count = 9;
187185
// Updated once on scheduled and once on terminal status.
188-
int64 state_size_bytes = 11;
186+
int64 state_size_bytes = 10;
189187
// The difference between close time and scheduled time.
190188
// This field is only populated if the activity is closed.
191-
google.protobuf.Duration execution_duration = 12;
189+
google.protobuf.Duration execution_duration = 11;
192190
}

0 commit comments

Comments
 (0)