Skip to content

feat: add enforceUniqueInstanceID option when scheduling workflows - #116

Open
javier-aliaga wants to merge 1 commit into
dapr:mainfrom
javier-aliaga:feat/schedule-if-not-exists
Open

feat: add enforceUniqueInstanceID option when scheduling workflows#116
javier-aliaga wants to merge 1 commit into
dapr:mainfrom
javier-aliaga:feat/schedule-if-not-exists

Conversation

@javier-aliaga

@javier-aliaga javier-aliaga commented Jul 14, 2026

Copy link
Copy Markdown

Adds an enforceUniqueInstanceID option when scheduling a workflow. When set, scheduling fails with a gRPC ALREADY_EXISTS error if an instance with the same ID already exists — whether active or completed — so the caller decides how to handle it. Without it, behavior is unchanged (an active duplicate errors, a completed instance is restarted).

@javier-aliaga
javier-aliaga force-pushed the feat/schedule-if-not-exists branch from b0f6d81 to 4dcf91e Compare July 28, 2026 11:23
@javier-aliaga javier-aliaga changed the title feat: add scheduleIfNotExists option when scheduling workflows feat: add enforceUniqueInstanceID option when scheduling workflows Jul 28, 2026
@javier-aliaga
javier-aliaga force-pushed the feat/schedule-if-not-exists branch from 4dcf91e to 2629a47 Compare July 28, 2026 11:29
@javier-aliaga
javier-aliaga marked this pull request as ready for review July 28, 2026 11:32
@javier-aliaga
javier-aliaga requested a review from a team as a code owner July 28, 2026 11:32
@javier-aliaga
javier-aliaga force-pushed the feat/schedule-if-not-exists branch from 2629a47 to 452c493 Compare July 29, 2026 09:11
Signed-off-by: Javier Aliaga <javier@diagrid.io>
@javier-aliaga
javier-aliaga force-pushed the feat/schedule-if-not-exists branch from 452c493 to 46cf346 Compare July 29, 2026 09:28
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.

1 participant