DurableTask.Sql - ErrorPropagationMode - UseFailureDetails not populating FailureDetails
- Lingua principale
- C#
- Stelle
- 1.7k
- Fork
- 335
- Merge medio
- 2g 23h
- PR unite (30g)
- 6
Descrizione
Unclear if this is an issue with the SQL provider implementation or the core, but before starting the hub worker, I'm setting:
`_hubWorker.ErrorPropagationMode = ErrorPropagationMode.UseFailureDetails;`
However, across the entire chain of the orchestration execution every instance of `TaskFailedException` has `FailureDetails` set to null, and ultimately the `OrchestrationState` that comes back also has `FailureDetails` set to null.
I'm trying to preserve stack trace information rather than the serialised output just being the exception message.
At every point during the orchestration I can see the `OrchestrationContext` does have `ErrorPropagationMode` set to `UseFailureDetails` (in non-public members).
I'm using the following packages:
- Microsoft.DurableTask.SqlServer - 1.0.1
- Microsoft.Azure.DurableTask.Core 2.11.1 (dependency brought in via .SqlServer)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia riproducendo il comportamento con Microsoft.DurableTask.SqlServer 1.0.1 e Microsoft.Azure.DurableTask.Core 2.11.1, tracciando ErrorPropagationMode dall’hub worker attraverso OrchestrationContext, TaskFailedException e OrchestrationState. Determina dove FailureDetails diventa null; il lavoro è completato quando la modalità configurata preserva i dettagli dell’errore lungo l’intera catena di orchestrazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- backend, databases
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100