GithubHelp home page GithubHelp logo

Comments (5)

cgillum avatar cgillum commented on May 27, 2024 1

I spent some time debugging this and I think the problem is that the database schema needs to be updated to support correctly persisting detailed exception information. From what I can tell, we're only saving the exception message, which isn't something we can correctly deserialize back into code. This is definitely a missing feature.

from durabletask-mssql.

cgillum avatar cgillum commented on May 27, 2024

@moldovangeorge can you share the demo app that reproduces this issue?

from durabletask-mssql.

moldovangeorge avatar moldovangeorge commented on May 27, 2024

Sure :

  1. Clone the repo from here : https://github.com/MoldovanG/DaprWorkflowAnalysis
  2. Replace YOUR_CONNECTION_STRING_HERE with a connection string to a SqlServer you have at hand
  3. Modify the DtfActivity to throw exception instead of logging.
  4. dotnet run
  5. curl --location --request POST -k 'https://localhost:5004/api/dtfworkflow' --header 'Content-Type: application/json' --data-raw '{ "numberOfParallelSubOrchestration" : 1, "numberOfParallelActivities" : 1}'

from durabletask-mssql.

wros avatar wros commented on May 27, 2024

I have this same problem using the function, in isolated mode. The Exception is not propagated to the orchestration, and I cannot use the custom retry in the activity.

I'm using the Azure Version.

When I use the SQL Provider

image

Here when I don't use the SQL Provider:

image

Obs: I'm using the VS 2022 default template for Azure Functions.

from durabletask-mssql.

cgillum avatar cgillum commented on May 27, 2024

Thanks @wros for the additional context. This helps narrow things down. I haven't had a chance to look at this yet but hoping to get to it soon'ish.

from durabletask-mssql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.