Log and allow users that hit a database error to finish onboarding
Currently due to the bug described in #461656 (closed) users can find themselves in a case where they can not get past the Welcome page due to a database error.
See logs of these cases: https://log.gprd.gitlab.net/app/r/s/l7uSx
While #461656 (closed) should resolve new user signups from hitting this problem, existing users still in onboarding will not be able to get past this problem.
Workaround
User must create a new account to hopefully not hit the bug.
Solution
- Log this case here as a regular log message so we can track.
- send back
step_url
in the payload ifuser.reset.onboarding_status_step_url
isnil
like this:{ step_url: user.reset.onboarding_status_step_url || step_url }
- open up a follow-up issue to monitor the logs for this over a month to know when to revert the
payload
change(no more logging occurs).
Edited by Doug Stull