-
Notifications
You must be signed in to change notification settings - Fork 406
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
Feature request: Time based feature flags actions #1554
Comments
@heitorlessa I think I can create a PR if we agree about necessity/basic user experience, i.e how the rule will look like in the JSON. The actions and their tests should be simple enough to create. |
Assigning to myself so I can read it fully tomorrow |
It sounds sensible to me, thanks for pulling this together as a user story format! I have three immediate concerns:
|
@heitorlessa take a look at this branch: I think the UX is nice. Note that you dont need to supply any key to the context. WDYT? |
btw, if we used pydantic to store & parse the conf, this feature could have even simpler :) |
Updating here as @leandrodamascena will dedicate the next days reviewing, testing, load testing, and co-authoring this feature with you Ran! I'll be looking after everything else that's coming to the repo for the next two weeks, as Ruben will be away. |
Hi @heitorlessa and @ran-isenberg! I'm still at the beginning of the code but I can already validate a feature flag with a condition for specific days of the week. What do you think about me opening a PR in the next few days and we can work to improve and validate that @ran-isenberg? There will definitely be things to change or improve and we can work together on that. For now, see this example: SAM app.py
JSON
|
@leandrodamascena I've also been working on a PR. I'll create a PR later today so we could merge the code. |
see my comments on #1666 |
Finishing leftover tasks today and blocked tomorrow morning to start catch up on the history @leandrodamascena and you discussed, and do a proper review/contribute this week |
This is now released under 2.7.0 version! |
Use case
I've got a few use cases for feature flags rule actions. It's possible to due that today but its really finicky.
I'd like to be able to do combine these conditions with other conditions.
I think the implementation is simple, just need to define the UX.
Solution/User Experience
Time based conditions are sorely missing from the current solution.
Alternative solutions
Acknowledgment
The text was updated successfully, but these errors were encountered: