UseAzureAppConfiguration and AzureAppConfigurationRefreshMiddleware break context execution
@amerjusupovic ya está trabajando en esto.
Desde el 10/5/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
I have detected that if we make use of ‘UseAzureAppConfiguration’, which in turn internally injects the middleware ‘AzureAppConfigurationRefreshMiddleware’, it breaks the execution of the context of the Eternal Orchestration Functions.
I am using Azure Isolated Function in NET 8, using package ‘Microsoft.Azure.AppConfiguration.Functions.Worker’ in version 7.2.0.
The middleware internally performs an ‘ExecutionContext.SuppressFlow()’, which breaks the execution flow of the context: https://learn.microsoft.com/en-us/dotnet/api/system.threading.executioncontext.suppressflow?view=net-8.0
Right now the solution I am applying is to use ‘AddAzureAppConfiguration’ without ‘UseAzureAppConfiguration’. In my orchestrator constructor I inject ‘IConfigurationRefresherProvider’ to use the configuration refresher in the orchestrator activities.
The problem is not described anywhere and should be checked. Thanks in advance.
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 263
- Forks
- 82
- Merge medio
- 3 d 15 h
- PR fusionados (30 d)
- 6
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure/AppConfiguration
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
Azure/AppConfiguration#1155 · 3 comentarios ·
-
question
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
Azure/AppConfiguration#1126 · 5 comentarios ·
-
enhancement service
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Azure/AppConfiguration#1125 ·
-
Experimentation scorecard Abiertoenhancement FeatureManagement
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Azure/AppConfiguration#1124 ·
-
enhancement FeatureManagement service
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Azure/AppConfiguration#1123 ·