Skip to content

New APIs and updates related to failure details propagation#1067

Merged
cgillum merged 2 commits intomainfrom
cgillum/failure-details-fixes
Apr 25, 2024
Merged

New APIs and updates related to failure details propagation#1067
cgillum merged 2 commits intomainfrom
cgillum/failure-details-fixes

Conversation

@cgillum
Copy link
Member

@cgillum cgillum commented Apr 18, 2024

First step towards properly fixing Azure/azure-functions-durable-extension#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.

Copy link
Collaborator

@davidmrdavid davidmrdavid left a comment

Choose a reason for hiding this comment

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

Approved w/ suggestions

Copy link
Collaborator

@davidmrdavid davidmrdavid left a comment

Choose a reason for hiding this comment

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

approved once CI goes green

@cgillum cgillum merged commit b2a8a56 into main Apr 25, 2024
@cgillum cgillum deleted the cgillum/failure-details-fixes branch April 25, 2024 01:16
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.

2 participants