Skip to content
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

feat: be able to schedule the flag changes #893

Open
cre8ivejp opened this issue Mar 25, 2024 · 1 comment
Open

feat: be able to schedule the flag changes #893

cre8ivejp opened this issue Mar 25, 2024 · 1 comment
Assignees

Comments

@cre8ivejp
Copy link
Member

We support scheduling for enabling/disabling a flag, but we don't support scheduling for the changes made to the flag.
It would be nice to schedule a change to the variation value or a rule, etc. To do something similar, we need to change the default value and off variation and create schedule operations to switch on/off to change the value returned to the user.

@cre8ivejp cre8ivejp moved this to Q1-2025 (Jan-Mar) in Bucketeer Roadmap Jan 22, 2025
@cre8ivejp cre8ivejp self-assigned this Jan 22, 2025
@cre8ivejp cre8ivejp moved this to In Progress in Bucketeer Tasks Jan 22, 2025
@cre8ivejp
Copy link
Member Author

I'm thinking of adding a new column to the feature table called schedule.
It will store an object, including the timestamp and the updated feature flag object.

When the cronjob runs (every minute), it checks the timestamp and updates the feature flag object with the scheduled one.
Regarding restrictions, when a change is scheduled, the user cannot make any other changes until the schedule is finished or if the user decides to delete the schedule.
This way is simple and doesn't require complex backend and front-end implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Q1-2025 (Jan-Mar)
Status: In Progress
Development

No branches or pull requests

1 participant