dapr / samples

Community driven repository for Dapr samples
Apache License 2.0
416 stars 174 forks source link

Update Python Workflow sample to dapr-ext-workflow v0.3.0 #175

Closed cgillum closed 11 months ago

cgillum commented 11 months ago

This PR updates the workflow-orderprocessing-python sample to use the latest version of the Workflow SDK, v0.3.0.

This SDK update fixes the error handling path of the workflow, which would correctly notify that an error occurred when submitting an order to a deactivated shipping service but would fail to actually invoke the refund_payment activity or send a notification about the refunded payment. The root issue was a bug in the Durable Task Python SDK, which has since been fixed.

With this PR to update the SDK version, the failure handling part of the demo now works 100% correctly.

image

cgillum commented 11 months ago

cc @berndverst for FYI cc @msfussell, @yaron2 or @paulyuk for approval/merge