-
Notifications
You must be signed in to change notification settings - Fork 6
feat: Add taskExecutionId field #13
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
feat: Add taskExecutionId field #13
Conversation
2fff5c0 to
dc81024
Compare
| OrchestrationInstance orchestrationInstance = 4; | ||
| int32 taskId = 5; | ||
| TraceContext parentTraceContext = 6; | ||
| string taskExecutionId = 7; |
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.
What value is to be expected here and by who?
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.
this value is used to propagate the taskExecutionId from the scheduled task to the worker to build the context
https://github.com/dapr/durabletask-go/blob/28ab9ebfa7bb2f1d6d0237b5d2ce60b6be712e2b/backend/executor.go#L161 and https://github.com/dapr/durabletask-go/blob/28ab9ebfa7bb2f1d6d0237b5d2ce60b6be712e2b/client/worker_grpc.go#L187
Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>
ae268b0 to
b9c1975
Compare
b9c1975 to
ecfd5c8
Compare
Add
taskExecutionIdto provide a unique identifier for task executions. ThetaskExecutionIdwill remain the same between retries but will be different on reruns.The field has been added to:
ActivityRequestTaskScheduledEventTaskCompletedEventTaskFailedEventScheduleTaskActionValue is not optional but defaults to empty.
This pr is part of this proposal