-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spike: Understand why onboarded student still considered pending on team [8,13,0.62] #2372
Comments
We saw this once in #2369 (and I remember it happening last season, though I'm not sure how often). |
If understanding why it's happening becomes a black hole, refocus spike on proposing a way to detect and recover from this situation without a human in that loop. Goal is to get this to stop happening within a couple iterations. |
Noting we worked on #2388 during it-16, for an automated daily check of onboarded status (but probably wouldn't scale very effectively, relies on a small number of users, also this is a band-aid not a root cause solution to why this is happening - which we don't know) |
At this point we're looking for either
In the first two cases we can talk about a fix, in the last case we might want to talk about setting up some monitoring of the problem so we can keep it in check. |
I was finally able to reproduce this one locally - where the One way this can happen is when we run So, for returning students (who were previously fully onboarded), the Roxana was able to help me confirm this on QA, the account/student |
There isn't a PR for this, but I moved it to the "Code Review" column, maybe you want to read/confirm, @stenington ? |
I see how But anyway, I think my takeaway is that the problem is subtle and for now, the |
Hmm, I'm not seeing where parental consent forms automatically expire (I found it for consent forms), when you get a moment, can you point me to where this happens? Think I'm missing part of the puzzle. |
Sure!
|
My wording was poor, the consent doesn't expire so much as the student profile will start looking for one in the new season, despite the past season consent still being there. |
Right, gotcha, not so much expiring, but I see what you mean.
I agree, the only way I found (after days of trying) to reproduce this bug seems very unlikely in the real world. So yeah, I think I've spent all the time I want to on it for now. Guess that means opting for option 3:
😫 😩 I think for the next steps I'll close this one, and open another one for some sort of monitoring/logging or something to hopefully give us some insights into the issue. |
I added #2671 to help further this one along. 👍 |
Describe the bug
We've seen a situation where a student is considered pending on a team until they complete onboarding, but when you look at their account, onboarding is complete. Somehow the
onboarded
flag that captures that status failed to update correctly.If you look up a team with such a member in the admin, it will show them pending with "X still needs to:" and then no steps listed below.
To Reproduce
Steps to reproduce the behavior:
This one is tricky to reproduce because we don't know exactly how it happens. The
onboarded
flag should get rechecked any time the profile is updated, so to force this situation on staging, I think you'd have to directly change theonboarded
column in the database (rather than the console).Expected behavior
We expect that if a team member is still pending, they haven't completed some piece of onboarding.
Notes on resolving
It seems to be sufficient to do something like
student_profile.touch
to re-trigger the onboarding checks. It's also possible that if a user changed some piece of information on their profiles themselves that that might trigger the recalc, though I'm not 100% positive.The text was updated successfully, but these errors were encountered: