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

(feature) automatic progressive rollout #101

Closed
thomaspoignant opened this issue Apr 16, 2021 · 1 comment · Fixed by #118
Closed

(feature) automatic progressive rollout #101

thomaspoignant opened this issue Apr 16, 2021 · 1 comment · Fixed by #118
Assignees
Labels
enhancement New feature or request p1 High priority

Comments

@thomaspoignant
Copy link
Owner

thomaspoignant commented Apr 16, 2021

Requirements

Be able to do a progressive rollout of a flag.
We need a way of automatically increase the percentage of users in the flag during the time.

What we want is to be able to set an initial percentage and a start date, and also a complete rollout date and percentage.
During between these 2 dates, the percentage will increase smoothly until reaching the complete rollout percentage.

@thomaspoignant thomaspoignant added enhancement New feature or request p3 Longer term priority labels Apr 16, 2021
@thomaspoignant thomaspoignant changed the title (feature) Progressive rollout (feature) automatic rogressive rollout Apr 16, 2021
@thomaspoignant thomaspoignant changed the title (feature) automatic rogressive rollout (feature) automatic progressive rollout Apr 16, 2021
@thomaspoignant thomaspoignant added p2 Medium priority and removed p3 Longer term priority labels Apr 16, 2021
@thomaspoignant thomaspoignant added p1 High priority and removed p2 Medium priority labels Apr 20, 2021
@thomaspoignant
Copy link
Owner Author

If we have a rollout strategy configured, we ignore the field percentage because the rollout strategy is more important than the field.

The format of the rollout strategy should looks like :

test-flag:
  // ...
  rollout:
    progressive:
      percentage:
        initial: 10
        end: 80
      releaseRamp:
        start: 2021-03-20T00:00:00.10-05:00
        end: 2021-04-20T00:00:00.10-05:00

In that example

  • before the releaseRamp.start date the percentage of the flag served will be 10%.
  • between releaseRamp.start and releaseRamp.end we will have a progressive rollout between 10% and 80%.
  • after releaseRamp.end we will use the percentage 80%.

rollout.progressive.percentage is not mandatory, if no set initial == 0 and end == 100.
rollout.progressive.releaseRamp is mandatory, if no set we will not use the rollout strategy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p1 High priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant