You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Experimentation: after an experiment is completed, its rollout override keeps splitting identities, so the documented "end it, then update the flag" doesn't reach them #9120
The analysis docs say to end the experiment, then update the flag to the winning value
(docs/docs/experimentation/analyse-an-experiment.md:58-61). On 2.291.0, completing an experiment sets ended_at
but leaves its experiment-<id>-rollout system segment override in place. The override is only removed when the
flag's next experiment starts. So after following the docs, every identity the rollout covered keeps its old
variation, and the flag edit reaches none of them.
The split is a system segment override, a percentage split on the identity key: experimentation/services.py:757-775,937-939.
Complete sets ended_at only: services.py:624-625.
Saves through the flag API don't overwrite the override: features/future/views.py:117.
Expected
Either Complete removes the rollout (or offers to, for example "Complete and roll out the winner"), or the docs say the
override stays until the next experiment and how to clear it.
Workaround I use
Pause → set the default to the winner → set the rollout to 0% with the winner's weights → Complete. Measured: 300 of
300 identities on the winner, and a later default edit back to control reaches all 300.
Found while building Turnout on self-hosted Flagsmith 2.291.0.
Thanks @Zaimwa9! I filed this against 2.291.0 and missed that 2.295.2 already lets Complete choose the rollout (#9018, #9021). #9141 covers exactly the step that tripped me up, the old "end it, then update the flag" order. Happy for this to be closed once #9141 is merged.
Activity
linear-code commentedon Nov 26, 2026
ENG-693
tharunkumardeveloper commentedon Nov 27, 2026
Thanks @Zaimwa9! I filed this against 2.291.0 and missed that 2.295.2 already lets Complete choose the rollout (#9018, #9021). #9141 covers exactly the step that tripped me up, the old "end it, then update the flag" order. Happy for this to be closed once #9141 is merged.
Zaimwa9 commentedon Nov 27, 2026
@tharunkumardeveloper good catch, yes we still improved the documentation to surface it better 👍