Make it possible to change the max client version in a rollout that is already running
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- backend, full-stack
Research direction
Start by tracing how Experimenter stores and applies a rollout's client version limits, then check the relevant rollout form and API or backend validation. The issue gives no file or test names, so first locate those entry points and their tests. Done means an already running rollout can be capped at a chosen maximum version while continuing to target older clients.
Written by the indexing model from the issue text.
Description
There's a pattern we've established over the years where (if we've done it right), we'll roll out a feature to Nightly and Beta, and then do a rollout to Release. Once those rollouts are out there at 100%, we then land a pref flip or other client side change to hardcode the behaviour of the rollout, and then eventually end the rollout.
Unfortunately, sometimes it's not always easy to predict when the patch to hardcode the behaviour will land. This means that we typically leave the max client version as "Not set".
What this means then is that we have these long-standing rollouts sitting out there, matching most if not all clients, because the rollouts keep running but they really only matter to the clients that hadn't yet updated to the version that hardcoded the behaviour.
I think that at least in part contributes to us having multi-year rollouts running out there, because it's not always clear how big the population is that still needs to receive the rollout.
Take this rollout for example: https://experimenter.services.mozilla.com/nimbus/rollouts/unified-api-for-spocs-and-top-sites-controlled-rollout-for-release-133/
The pref flip to enable the UAPI went out in 137 here: https://bugzilla.mozilla.org/show_bug.cgi?id=1948311
So ideally, we'd be able to shut off the rollout for everybody on 137+, while keeping it enabled for everybody from release 133-136 inclusive.
But once a rollout is out there, we can't easily do this restriction. We can create a new rollout that targets that restricted population, and then end the older rollout... but it feels like it should be possible to just cap the max version after the fact for the rollout. That'd certainly be easier for us on the consumption side of Experimenter, though perhaps it opens other cans of worms I'm not considering.
┆Issue is synchronized with this Jira Task
- Dominant language
- Python
- Stars
- 152
- Forks
- 231
- Avg merge
- 23h 54m
- Merged PRs (30d)
- 201
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/experimenter
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
mozilla/experimenter#18288 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla/experimenter#18281 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
mozilla/experimenter#18132 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
mozilla/experimenter#18079 ·
Maintainers usually reply within 1 day
-
Targeting version check uses whichever version was cached first: `TargetingContextFields.for_application` ignores versionMay be free again @user-Param claimed this 21 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla/experimenter#17974 · 1 comment ·
Maintainers usually reply within 1 day
All issues in mozilla/experimenter
Similar issues
-
eegprep-lean: set channel types from the Zarr group's channel_typePossibly taken @claude claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
sccn/eegprep#668 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
blacklanternsecurity/bbot#3679 ·
Maintainers usually reply within 2 days
-
Link Checker ReportOpenBot Type: Bug Type: Documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
speakeasy-api/speakeasy#2159 ·
Maintainers usually reply within 1 day