-
Notifications
You must be signed in to change notification settings - Fork 35
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
Unexpected Feature Flags refresh behaviour for 6.0.1 #454
Comments
Hi @danyltsiv, the bug in #317 shouldn't be exclusive to those who use the portal. From what you described, the pull request linked in that issue (#404) should resolve this issue as well. I can look more into why this happened while upgrading from 5.1.0 to see if there's anything you can do to work around this at the moment, but this should be fixed in the next major release. |
@amerjusupovic Has the bug been fixed now? Is it safe to close this issue? |
Hello @amerjusupovic :) Thanks! |
@danyltsiv Hello! Our current plan is to merge and release this in about a month, but I can't say for certain. The PR is part of a couple changes that we are prioritizing for that timeline. Yes, it should remove any existing bugs related to the incorrect label overriding an existing label. In your example, if two flags exist for a key, only the one with a label should appear. |
When we upgrade AppConfiguration package from 5.1.0 to 6.0.1 for ASP.NET Core app it starts working very unexpectedly in terms of Feature Flags refresh.
With feature flags setup like this:
Feature1 (label=null): true
Feature1 (label=env1): false
In env1, once the app starts all works correctly and we get FALSE, until the first refresh happens, then the non-labeled value overrides the labeled and since then we always get TRUE.
This does not happen on 5.1.0.
Setup code:
Also, worth mentioning that we call UseAzureAppConfiguration at the beginning of Startup.cs, so that we don't have issues like here: microsoft/FeatureManagement-Dotnet#201 (at some point we had, but fixed by moving it to top as well).
This happens with no interaction with Feature Flags on portal, so seems like no relations to #317
The text was updated successfully, but these errors were encountered: