microsoft / DurableFunctionsMonitor

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

Feature request: Action buttons should be disabled if runtimeStatus doesn't allow that action #183

Open mronnblom-ith opened 5 months ago

mronnblom-ith commented 5 months ago

Version: DurableFunctionsMonitor.DotNetIsolated, 6.5.0-beta2

These buttons in the UI are clickable regardless of runtimeStatus for the orchestration instance. If you then click them, an (non-intuitive) Exception is thrown.

image

image

Alternatively, fix the error messages to be more intuitive. In above example, maybe: "Failed to suspend. Not allowed for status 'Failed'."

mronnblom-ith commented 5 months ago

I see now that in the log, this message is displayed: Cannot suspend orchestration instance in the Failed state

So it may just be an issue of extracting the Exception message correctly.