Skip to content

Remove incubation banner from the ml_experiments_index

What does this MR do and why?

With the new Experiment tag, defining a feature as incubation confuses users. This replaces the alert with a lest intrusive experiment tag. This is the second of three MRs that change ml_candidate_show (!119593 (merged) ), ml_experiments_show and ml_experiments_index.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Enable the feature flag

    echo "Feature.enable(:ml_experiment_tracking)" | bundle exec rails c
  2. Create an experiment and a candidate

    user_id = 1 # if you are using root
    project_id = 1 # not necessarily 1, but the project you are using for testing. On a pristine gdk installation, project 1 is usually `toolbox/gitlab-smoke-tests`
    exp = Ml::Experiment.create!(name: 'Gitlab Experiment', user_id: user_id, project_id: project_id)
  3. Navigate to the candidate "/path_to_project/-/ml/experiments".

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #409790 (closed)

Edited by Eduardo Bonet

Merge request reports