Skip to content

Compensating Workflows Pattern#4665

Merged
msfussell merged 12 commits into
dapr:v1.16from
cicoyle:feat-compensating-workflows
Sep 3, 2025
Merged

Compensating Workflows Pattern#4665
msfussell merged 12 commits into
dapr:v1.16from
cicoyle:feat-compensating-workflows

Conversation

@cicoyle

@cicoyle cicoyle commented May 29, 2025

Copy link
Copy Markdown
Contributor

Adding docs for a new workflow pattern: compensating workflows

I added a java example here. This is just a first pass implementation that could be improved upon, but wanted to document the new pattern

@hhunter-ms can you add a diagram to my PR and tweak it as you see fit?

cicoyle added 2 commits May 29, 2025 14:29
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
@msfussell

Copy link
Copy Markdown
Member

@marcduiker - Let's think over a diagram we could add into the docs and presentation deck

@marcduiker marcduiker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've created a diagram for this, but this will be part of another PR since I want to update all the workflow related diagrams #4679 .

@msfussell msfussell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@marcduiker - Can you provide a diagram illustrating compensation?

Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
…rkflow/workflow-patterns.md

Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
@marcduiker

Copy link
Copy Markdown
Contributor

I've added the image in this PR. Let's merge that first so we can add it to the doc here.

@marcduiker marcduiker dismissed their stale review August 29, 2025 09:07

I've made the updates, no work from Cassie required.

Added comments for compensating logic

Signed-off-by: Mark Fussell <markfussell@gmail.com>

@msfussell msfussell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@msfussell msfussell merged commit 36efb8f into dapr:v1.16 Sep 3, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants