Azure / durabletask

Durable Task Framework allows users to write long running persistent workflows in C# using the async/await capabilities.
Apache License 2.0
1.47k stars 287 forks source link

New APIs and updates related to failure details propagation #1067

Closed cgillum closed 2 months ago

cgillum commented 2 months ago

First step towards properly fixing https://github.com/Azure/azure-functions-durable-extension/issues/2476.

This PR fixes a couple things:

  1. The IsCausedBy<T>() API doesn't correctly handle exceptions defined outside of mscorlib. This PR fixes that.
  2. Exception details aren't propagating correctly from a sub-orchestration to the parent orchestration. This PR also fixes the propagation.
  3. Minor public API changes to make some of the failure details primitives usable by other SDKs

I also went ahead and bumped the minor version number of DurableTask.Core since these changes impact the public API surface area.