microsoft / DurableFunctionsMonitor

A monitoring/debugging UI tool for Azure Durable Functions
MIT License
221 stars 36 forks source link

DFM doesn't display FailureDetails for failed ActivityFunctions, if the orchestration runs in a .NET Isolated project #174

Closed mronnblom-ith closed 4 months ago

mronnblom-ith commented 7 months ago

Reproduce:

FunctionApp

DFM

Actual:

image

Expected:

DFM in-process does this.

scale-tone commented 7 months ago

The reason for this is that in .NET Isolated version of Durable Functions they've changed the field name for storing those exception details in XXXHistory table.

Previously the field was called "Details", now as I can see, it is called "FailureDetails".

And the issue only surfaces for .NET Isolated orchestrations (older ones are displayed correctly).

Anyway, a small fix is needed in both DfMon InProc and DfMon Isolated, to make the history be fetched correctly.

scale-tone commented 6 months ago

Thanks a lot for the fix, @epDugas ! Here is your Isolated beta package: https://www.nuget.org/packages/DurableFunctionsMonitor.DotNetIsolated/6.5.0-beta1

mronnblom-ith commented 6 months ago

Sorry for the delay @scale-tone. I can confirm that 6.5.0-beta1 fixes this issue.

scale-tone commented 4 months ago

Fixed in v6.5