Closed cgillum closed 1 year ago
Hi, We are waiting for this fix from so long and upgraded sqlserver libraries and core libraries and started testing with both the modes "ErrorPropagationMode.SerializeExceptions", "ErrorPropagationMode.UseFailureDetails". Please find my observations help me with my use case.
Use Case :
We have one parent orchestration , one sub orchestration under parent orchestration , one task(Activity) under sub orchestration. I am expecting to propagate the exception occurred in sub orchestration task to both Sub orchestration and Parent orchestration. Below are my findings.
Scenarios :
Could you please help me with this.
@aaditya8 please open a new issue for this and include details such as the kind of exceptions that are being raised. In that new issue, please also share code that shows how you're setting up your TaskHubWorker
.
Resolves https://github.com/microsoft/durabletask-mssql/issues/161
For whatever reason, we forgot to fully implement exception propagation in this MSSQL backend for the Durable Task Framework. Fundamentally, the reason this is easy to miss is because the MSSQL provided doesn't serialize history events, but rather manually reads and writes them into structured SQL tables.
In this PR, we implement handling for both
ErrorPropagationMode.SerializeExceptions
(which we call "legacy") andErrorPropagationMode.UseFailureDetails
(which I'm treating as the new default).To summarize the changes in this PR, we: