-
Notifications
You must be signed in to change notification settings - Fork 213
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
[Bug]: Rules aren't being linked correctly when importing features from a config file #3076
Comments
thanks for reporting @Rozkipz ! I was able to reproduce myself. It does indeed look like a bug with the declarative storage evaluation. Let me take a deeper look at it and I will be able to give a better estimate of when we can get it fixed! |
Also thank you very much for the detailed description! it made it very easy to reproduce |
Hey @Rozkipz ! We implemented the fix and will release a bugfix release either tonight or early tomorrow. Thanks again for finding this issue and reporting! |
Wow, thank you @markphelps for the super quick response and fix. We have been loving Flipt and appreciate all the work you've been putting in. |
@Rozkipz the fix is now out in https://github.com/flipt-io/flipt/releases/tag/v1.41.2 please let us know if it indeed fixes the issue |
Yep that has solved it completely using v1.41.2, thanks again for solving that so quickly. Any idea when v1.41.2 will make it into helm? |
@Rozkipz just merged the helm chart update now. should go out shortly |
Bug Description
When running flipt in a container, mounting in a feature+segment yaml creates all the correct flags and segments, but when queried with a context containing a property that should match a rule I get an error saying that a rule can't be found.
Am I misconfiguring flipt? We recently moved from manually created rules using a set of curl commands to wanting to be able to override commands when deploying using helm by mounting in a feature flag file but have run into this issue both when deployed to Kubernetes using helm, and also when just running with Docker.
Version Info
Running the latest tag of flipt in dockerhub, currently:
Version: v1.41.1
Also tested withv1.30.1
and got the same issue.Search
Steps to Reproduce
Create the two config files below and run the docker command:
Expected Behavior
Expect it to return a match if the email matches a rule for a flag, the same as how it does when you create the segments/rules manually -
Additional Context
Config.yaml:
Features.yaml:
Curl response of the rules associated with the mounted in flag, with a different rule ID than in the error screenshot:
Wasn't able to export from the mounted in config:
Export from the manually created config:
The text was updated successfully, but these errors were encountered: