diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-07 03:08:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-07 03:08:48 +0300 |
commit | 29e19880e22c31eef2d007647b0c46db8f0e7a04 (patch) | |
tree | 027c642958a2bec4983d0e6eed8690df57dfeeb6 /app/experiments | |
parent | 02c6800ac51fc1a504f527426d6cc5a780481a1d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/experiments')
-rw-r--r-- | app/experiments/application_experiment.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/experiments/application_experiment.rb b/app/experiments/application_experiment.rb index f74e7fe3b1d..e5b67527cb1 100644 --- a/app/experiments/application_experiment.rb +++ b/app/experiments/application_experiment.rb @@ -3,6 +3,11 @@ class ApplicationExperiment < Gitlab::Experiment control { nil } # provide a default control for anonymous experiments + # Documented in: + # https://gitlab.com/gitlab-org/gitlab/-/issues/357904 + # https://gitlab.com/gitlab-org/gitlab/-/issues/345932 + # + # @deprecated def publish_to_database ActiveSupport::Deprecation.warn('publish_to_database is deprecated and should not be used for reporting anymore') @@ -21,10 +26,13 @@ class ApplicationExperiment < Gitlab::Experiment # define a default nil control behavior so we can omit it when not needed end - # TODO: remove # This is deprecated logic as of v0.6.0 and should eventually be removed, but # needs to stay intact for actively running experiments. The new strategy # utilizes Digest::SHA2, a secret seed, and generates a 64-byte string. + # + # https://gitlab.com/gitlab-org/gitlab/-/issues/334590 + # + # @deprecated def key_for(source, seed = name) source = source.keys + source.values if source.is_a?(Hash) |