Skip to content

Add SAAS simulation info to the performance bar

What does this MR do and why?

As part of the improvement to the local development experience for AI features, we wanted to add certain information about your development environment at runtime. We chose to add an info button to the performance bar that when clicked showed a layover with additional information about your current settings.

  1. Whether you are simulating SAAS or not.

This MR adds the graphql field to get that information and the frontend part that adds the usage of this field inside the performance bar.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Go to your GDK local dev environment
  2. Click on the topmost right info icon
  3. Notice the new value: Running as SAAS
  4. Go to your GDK folder
  5. In env.runit file, change GITLAB_SIMULATE_SAAS to the opposite value (if 1 =>0, if 0 => 1)
  6. run gdk restart
  7. Reopen the info modal
  8. Notice the value is now the opposite from before!

Related to #471099

Edited by Frédéric Caplette

Merge request reports

Loading