Skip to content

Pass trial parameters when importing group

What does this MR do and why?

When customer sign up with trial on the create/import project page we pass trial parameter for group creation and trial is started for that group. However if we import group, we skip these parameters. I tested in production and we can start trial for a group with imported projects. So filling the gap for the import project page.

Screenshot_2023-05-30_at_16.22.44

How to set up and validate locally

bin/rails c

Feature.disable(:ensure_onboarding)

Screenshot_2023-05-30_at_17.46.07

  • In the incognito tab sign in as root. Visit /admin/sidekiq/retries.
  • Wait couple minutes.
  • Make sure there is GitlabSubscriptions::Trials::ApplyTrialWorker failed job.
  • Make sure that job has gitlab_com_trial, sync_to_gl and namespace name arguments:

Screenshot_2023-05-30_at_17.49.32

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 #411443 (closed)

Edited by Serhii Yarynovskyi

Merge request reports