Skip to content

Use feature definitions for experiments api

Jeremy Jackson requested to merge jj-update-experiments-api into master

What does this MR do?

Closes #324568 (closed)

We switch the experiments API to use the Feature::Definitions, since I believe this is now a constant concept between implementations.

Screenshots (strongly suggested)

Old:

{
  "key": "experiment_1",
  "enabled": true
}

New:

{
  "key": "null_hypothesis",
  "state": "off",
  "enabled": false,
  "name": "null_hypothesis",
  "introduced_by_url": "https://gitlab.com/gitlab-org/gitlab/-/merge_requests/45840",
  "rollout_issue_url": null,
  "milestone": "13.7",
  "type": "experiment",
  "group": "group::adoption",
  "default_enabled": false
}

Conformity

Edited by Jeremy Jackson

Merge request reports

Loading