-
Notifications
You must be signed in to change notification settings - Fork 7
Workflow versioning #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
bfb2843
dd9692d
7d26724
330ef46
872e097
c6ce25c
094c6ee
5bb8e1c
229b7c2
7b90a17
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -17,6 +17,10 @@ message TaskRouter { | |||||||||||||||
| optional string targetAppID = 2; | ||||||||||||||||
| } | ||||||||||||||||
|
|
||||||||||||||||
| message Patches { | ||||||||||||||||
| repeated string patches = 1; | ||||||||||||||||
| } | ||||||||||||||||
|
|
||||||||||||||||
| message OrchestrationInstance { | ||||||||||||||||
| string instanceId = 1; | ||||||||||||||||
| google.protobuf.StringValue executionId = 2; | ||||||||||||||||
|
|
@@ -57,6 +61,7 @@ enum OrchestrationStatus { | |||||||||||||||
| ORCHESTRATION_STATUS_TERMINATED = 5; | ||||||||||||||||
| ORCHESTRATION_STATUS_PENDING = 6; | ||||||||||||||||
| ORCHESTRATION_STATUS_SUSPENDED = 7; | ||||||||||||||||
| ORCHESTRATION_STATUS_PENDING_VERSION = 8; | ||||||||||||||||
| } | ||||||||||||||||
|
|
||||||||||||||||
| message ParentInstanceInfo { | ||||||||||||||||
|
|
@@ -162,7 +167,7 @@ message TimerFiredEvent { | |||||||||||||||
| } | ||||||||||||||||
|
|
||||||||||||||||
| message OrchestratorStartedEvent { | ||||||||||||||||
| // No payload data | ||||||||||||||||
| optional Patches patches = 2; | ||||||||||||||||
| } | ||||||||||||||||
|
|
||||||||||||||||
| message OrchestratorCompletedEvent { | ||||||||||||||||
|
|
@@ -200,6 +205,10 @@ message ExecutionResumedEvent { | |||||||||||||||
| google.protobuf.StringValue input = 1; | ||||||||||||||||
| } | ||||||||||||||||
|
|
||||||||||||||||
| message ExecutionPendingVersionEvent { | ||||||||||||||||
|
||||||||||||||||
| message ExecutionPendingVersionEvent { | |
| message ExecutionPending { | |
| PendingReason reason = 1; | |
| // Ideally we would have more stringy information here which would tell the user what went wrong, which will be surfaced in `dapr workfow history` etc. | |
| } | |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ExecutionPendingVersionEvent executionPendingVersion = 31; | |
| ExecutionPending executionPending = 31; |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please wrap related fields into new messages to have better logical grouping and cleaner API extentions.
Uh oh!
There was an error while loading. Please reload this page.