Skip to content

Commit 7b90a17

Browse files
committed
Renamed state to stalled
Signed-off-by: Albert Callarisa <[email protected]>
1 parent 229b7c2 commit 7b90a17

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

protos/orchestrator_service.proto

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ message TaskRouter {
1717
optional string targetAppID = 2;
1818
}
1919

20-
message OrchestrationVersioningInformation {
20+
message OrchestrationVersion {
2121
repeated string patches = 1;
2222
}
2323

@@ -61,7 +61,7 @@ enum OrchestrationStatus {
6161
ORCHESTRATION_STATUS_TERMINATED = 5;
6262
ORCHESTRATION_STATUS_PENDING = 6;
6363
ORCHESTRATION_STATUS_SUSPENDED = 7;
64-
ORCHESTRATION_STATUS_PENDING_PATCH_MISMATCH = 8;
64+
ORCHESTRATION_STATUS_STALLED = 8;
6565
}
6666

6767
message ParentInstanceInfo {
@@ -167,7 +167,7 @@ message TimerFiredEvent {
167167
}
168168

169169
message OrchestratorStartedEvent {
170-
optional OrchestrationVersioningInformation versioningInformation = 1;
170+
optional OrchestrationVersion version = 1;
171171
}
172172

173173
message OrchestratorCompletedEvent {
@@ -205,8 +205,8 @@ message ExecutionResumedEvent {
205205
google.protobuf.StringValue input = 1;
206206
}
207207

208-
message ExecutionPendingVersionEvent {
209-
// No payload data
208+
message ExecutionStalledEvent {
209+
StalledReason reason = 1;
210210
}
211211

212212
message EntityOperationSignaledEvent {
@@ -285,7 +285,7 @@ message HistoryEvent {
285285
EntityLockRequestedEvent entityLockRequested = 27;
286286
EntityLockGrantedEvent entityLockGranted = 28;
287287
EntityUnlockSentEvent entityUnlockSent = 29;
288-
ExecutionPendingVersionEvent executionPendingVersion = 31;
288+
ExecutionStalledEvent executionStalled = 31;
289289
}
290290
optional TaskRouter router = 30;
291291
}
@@ -375,7 +375,7 @@ message OrchestratorResponse {
375375
// This field is optional. If not set, the service should assume that the orchestrator processed all events.
376376
google.protobuf.Int32Value numEventsProcessed = 5;
377377

378-
optional OrchestrationVersioningInformation versioningInformation = 6;
378+
optional OrchestrationVersion version = 6;
379379
}
380380

381381
message CreateInstanceRequest {

protos/runtime_state.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import "orchestrator_service.proto";
2424
import "google/protobuf/timestamp.proto";
2525
import "google/protobuf/wrappers.proto";
2626

27-
enum PendingReason {
27+
enum StalledReason {
2828
PATCH_MISMATCH = 0;
2929
}
3030

@@ -46,7 +46,7 @@ message OrchestrationRuntimeState {
4646
bool isSuspended = 13;
4747

4848
google.protobuf.StringValue customStatus = 14;
49-
optional PendingReason pendingReason = 15;
49+
optional StalledReason stalledReason = 15;
5050
}
5151

5252
// OrchestrationRuntimeStateMessage holds an OrchestratorMessage and the target instance ID.

0 commit comments

Comments
 (0)