Skip to content

Breaking change on workflow id reuse policy#5102

Open
cicoyle wants to merge 2 commits intodapr:v1.18from
cicoyle:docs-breaking-change-wf-reuse-policy
Open

Breaking change on workflow id reuse policy#5102
cicoyle wants to merge 2 commits intodapr:v1.18from
cicoyle:docs-breaking-change-wf-reuse-policy

Conversation

@cicoyle
Copy link
Copy Markdown
Contributor

@cicoyle cicoyle commented Apr 6, 2026

We are removing the reuse policy for the Workflows API in this PR

@cicoyle cicoyle requested review from a team as code owners April 6, 2026 21:43
Copilot AI review requested due to automatic review settings April 6, 2026 21:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Documents a breaking behavior change in Dapr Workflows where workflow instance IDs can no longer be reused after completion/failure.

Changes:

  • Adds an entry to the breaking changes/deprecations tracker noting removal of workflow instance ID reuse.
  • Updates workflow concepts docs to state instance IDs are not reusable after completion/failure.
  • Updates workflow architecture docs to remove mention of instance ID reuse from metadata key description.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
daprdocs/content/en/operations/support/breaking-changes-and-deprecations.md Adds a new row documenting the removal of workflow instance ID reuse policy (with release/version info).
daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-features-concepts.md Updates workflow identity guidance to state instance IDs cannot be reused.
daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-architecture.md Updates actor state key documentation to remove reuse-specific rationale for the generation field.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Workflow instance IDs can no longer be reused by creating a new workflow
with the same ID. Workflow histories are immutable records and should
only be removed through the purge API or a retention policy, not
overwritten via workflow creation. The instance ID reuse policy option
(IGNORE, TERMINATE actions) previously available in some SDKs has also
been removed.

Ref: dapr/dapr#9739

Signed-off-by: joshvanl <[email protected]>
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.

3 participants