Skip to content

Create user_detail relationship on user creation

Doug Stull requested to merge 461656-build-user-details into master

What does this MR do and why?

Create user_detail relationship on user creation

  • build it in the registrations build so that it is created for every user and we do not rely on current lazy creation in the user_detail method override in the user model.
  • it is believed that when project authorizations worker is updating user_detail it sometimes collides with the user_detail updating in other areas of the app like in registration. We have a specific case detailed in #461656 (closed) that is showing intermittant failures and detailed as to why we think this will fix it. If this is successful in lowering the amount of errors in the logs, we'll then attempt to widen this to all user creations in the users build service as detailed in the plan of #461656 (closed)
  • We are derisking this change with a feature flag.
  • see: #461656 (closed)

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.

Related to #461656 (closed)

Merge request reports