Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.94k stars 441 forks source link

[Azure function]Please support [Disable] attribute for isolated-worker mode #9751

Open qcnguyen opened 10 months ago

qcnguyen commented 10 months ago

hi team, in Azure function isolated-worker mode, we need something similar to [Disable] attribute - which available in in-process mode. Because we want the ability to disable many functions / group of functions easily , it can only be done with [Disable] attribute. Thank you

bhagyshricompany commented 10 months ago

Thanks for reporting will discuss and update.

luismanez commented 9 months ago

+1 here.

wouter-b commented 8 months ago

+1 here And also [Singleton] support in isolated.

fabiocav commented 5 months ago

Providing an update here.

Although the DisabledAttribute works in some contexts, there are several scenarios where the in-proc behavior leads to issues. In order for us to bring this functionality forward to isolated, some additional platform and host work would need to be completed to make sure the current issues are addressed. This is particularly important in the newer Flex consumption SKU, as it could lead to problems that could potentially cause over scaling (and higher bills).

The host change is tracked by https://github.com/Azure/azure-functions-host/issues/10216. Once that's in place, the platform would also need to be updated.

AndyGray-k3 commented 2 months ago

Since .NET6 isolated mode has an end of life date of 12th November 2024, is there any update on when this functionality might be fully available?

fzoccara commented 2 weeks ago

+1 here!