Skip to content

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

Merged
merged 3 commits into from
Jun 30, 2025

Conversation

javier-aliaga
Copy link

@javier-aliaga javier-aliaga commented Jun 16, 2025

Add taskExecutionId to provide a unique identifier for task executions. The taskExecutionId will remain the same between retries but will be different on reruns.

The field has been added to:

  • ActivityRequest
  • TaskScheduledEvent
  • TaskCompletedEvent
  • TaskFailedEvent
  • ScheduleTaskAction

Value is not optional but defaults to empty.

This pr is part of this proposal

@javier-aliaga javier-aliaga force-pushed the javi-add-activity-execution-id branch from 2fff5c0 to dc81024 Compare June 16, 2025 11:35
@@ -24,6 +24,7 @@ message ActivityRequest {
OrchestrationInstance orchestrationInstance = 4;
int32 taskId = 5;
TraceContext parentTraceContext = 6;
string taskExecutionId = 7;

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?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Javier Aliaga <javier@diagrid.io>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
@javier-aliaga javier-aliaga force-pushed the javi-add-activity-execution-id branch from ae268b0 to b9c1975 Compare June 19, 2025 13:52
@javier-aliaga javier-aliaga marked this pull request as ready for review June 19, 2025 15:30
@javier-aliaga javier-aliaga changed the title [WIP] chore: Add taskExecutionId field feat: Add taskExecutionId field Jun 19, 2025
@javier-aliaga javier-aliaga force-pushed the javi-add-activity-execution-id branch from b9c1975 to ecfd5c8 Compare June 20, 2025 06:49
@JoshVanL JoshVanL merged commit 9862ba6 into dapr:main Jun 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants