Skip to content

Removes the publish override methods

What does this MR do and why?

Since we've migrated to using window.gl.experiments instead of window.gon.experiment, as outlined in https://gitlab.com/gitlab-org/gitlab/-/blob/master/spec/frontend/helpers/experimentation_helper.js#L22, we can remove this logic and simplify down to what the library is providing.

How to set up and validate locally

There's not much to verify locally, other than that we can see experiments surface in rendering by viewing the source on production:

view-source:https://gitlab.com/gitlab-org/gitlab

Search for gl.experiments (a match) and gon.experiment (no match)

MR acceptance checklist

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

Merge request reports