Place learn gitlab creation in background on user registration
What does this MR do and why?
- measures current query count(still over) by including some request level specs.
- places learn gitlab creation into a worker in the background.
Why? - see #370525 (closed) as we attempt to fix an error budget issue with the create action on the GroupsProjectsController
How to set up and validate locally
note basically trying to emulate feature spec steps in https://gitlab.com/gitlab-org/gitlab/blob/1fa4f2ac8a80567b5ddde10bc42e180771df823a/ee/spec/features/registrations/saas_user_registration_spec.rb#L231-231
- Simulate SaaS - https://docs.gitlab.com/ee/development/ee_features.html#simulate-a-saas-instance and restart gdk
- Enable
combined_registration
feature flag in rails consoleFeature.enable(:combined_registration)
- Register as a new user.
- Select 'Just me' in the welcome form after sign up step.
- Choose 'Create a new project'
- Click 'Continue'
- Fill out fields to create a group and project on the next page.
- Click 'Create project'
- Verify you get to the onboarding flow and page refreshes to provide a "Ok, let's go" button.
- Click on "Ok, let's go" and verify you are dropped into the learn gitlab project
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #370525 (closed)
Edited by Doug Stull