-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add PERSISTED_FEATURE_FLAGS env #5273
Conversation
Q: What is this solving? |
We want to enable code that's behind flags So "what is this solving"? Literally the issue you opened with the fix you suggested 😁 The idea is that in a release branch before pushing it out, we edit the hardcoded list in settings.py. |
Two questions I'd have here:
|
I think this is a decent solution. I wonder if it would be cleaner to before a release just remove all feature flags instead but I don't feel strongly about it. Do you want to add |
Actually, yes, let's just really release it. Updates:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments/suggestions, but lgtm!
Of course now that the flags are force-enabled, all cypress tests fail because we never developed test with the flags on. Probably the taxonomic filter is causing issues here 😅. |
On second thought, I will remove the released features themselves from this PR. Releasing them will require bigger changes to the tests and I fear this PR will get way too messy then. Any objections to merging it in as is? I have 1 approval from @paolodamico , so merging when tests pass. I'll create separate a new PR for the actual flags. Edit: here it is #5282 |
Changes
PERSIST_FEATURE_FLAGS
that overrides feature flags in the frontend, at least the ones in thefeatureFlagLogic
.PERSIST_FEATURE_FLAGS=4267-taxonomic-property-filter,4535-funnel-bar-viz
and not having those flags in the system, I had the new filter and the new funnels working./decide
) are passed through as they are.Checklist