scale-tone/DurableFunctionsMonitor

Running `AzureStorageEmulator.exe clear all` crash the backend permanently

MaximRouiller opened this issue · 2 comments

Running this extension locally and running AzureStorageEmulator.exe clear all fails the backend permanently. There are no options to "restart" the backend short of closing vscode.

I feel like having a VSCode extension command that would allow us to restart the backend could end up providing a workaround to a lot of issues people are facing. If the restart could ask us to provide the URL again, it would allow us to swap between "localhost" and "Azure" as well.

Hi @MaximRouiller ,

These buttons:
image
image

are intended for the purpose of restarting a (potentially failed) backend. Don't they work in your scenario?

If the restart could ask us to provide the URL again, it would allow us to swap between "localhost" and "Azure" as well.

This I'm not completely following, to be honest. Would you like to be able to point VsCode ext to a DfMon backend, that runs in Azure?
If yes, then it would require substantial efforts to secure this communication channel, while benefits of this aren't clear to me. After all, each running backend is equipped with the same UI, which you can always point your browser to...
Can you elaborate on when this feature could be useful?

Also, today it's technically possible to modify the backend's URL to be used:
image

And it would even work with your Azure-hosted backend, if you disable auth on it (which I suggest you don't do).

Let's hope that resolved it.
If not, please, create another bug.