Update gitlab-experiment to version 0.5.3
What does this MR do?
https://gitlab.com/gitlab-org/gitlab-experiment/-/compare/v0.5.2...v0.5.3
0.5.3 has a refactor to and resolves a bug where :control
can be incorrectly cached on exclusions. This only manifests when the exclusion logic is based on something independent of the context. A simple example of this potentially negative caching behavior would be:
user = User.all.sample
context = { project: Project.all.sample }
excluded = user.username == 'jejacks0n'
experiment(:example, context) do |e|
# could start as candidate, and if we encounter jejacks0n, we exclude and
# cache that this project is excluded, which isn't the case -- we are only
# saying that the state of this user should exclude this instance of
# running of the experiment.
e.exclude! if excluded
e.control { }
e.candidate { }
end
Does this MR meet the acceptance criteria?
Conformity
-
📋 Does this MR need a changelog?-
I have included a changelog entry. -
I have not included a changelog entry because _____.
-
-
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Edited by Jeremy Jackson