-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using of AzureAppConfigurationRefreshMiddleware breaks durable function orchestration #484
Comments
It sounds then that our library needs to know if it's running on a platform that doesn't support Thank you for reporting ! |
/cc @jviau |
I don't believe there is anything for AppConfiguration team to do here. The issue lies entirely on the durable side, we are imposing a constraint on the rest of the functions middleware pipeline - which frankly is not a good design on our end. There is an issue I opened to provide an extensibility point to for durable to avoid the issue: Azure/azure-functions-dotnet-worker#1666 |
I came up with a "synchronous" version of the AppConfigurationRefreshMiddleware. It works, but I am reluctant to use it as I don't want to worry about who will maintain it if the AzureAppConfiguration library is updated. I'd be nice if this were fixed, but I can live with having to restart the app function to refresh the configuration. That seems to be the full extent of what UseAzureAppConfiguration() does currently. |
Code of AzureAppConfigurationRefreshMiddleware includes the following line
This line breaks the execution of Durable Orchestrator by leaving it in
running
state even after the execution is completed succesfully. It means thatMicrosoft.Azure.AppConfiguration.Functions.Worker
package and especiallyAzureAppConfigurationRefreshExtensions.UseAzureAppConfiguration
can't be used with Durable out-of-process Azure functions.This can refer to the constraint that Orchestrators can't use
.ConfigureAwait(false)
in there code.The text was updated successfully, but these errors were encountered: