On production, https://archiveofourown.org/users/orphan_account is not loading.
We think this could be because the Fandoms list takes too long to put together, but we'll need to deploy some code that skips listing Fandoms for the orphan_account in order to be sure.
On staging, go to the orphan_account’s dashboard (https://test.archiveofourown.org/users/orphan_account) and make sure there is no Fandoms section. Then pick one of the orphan_account’s pseuds and make sure the Fandoms section is present.
On production, see if the orphan_account’s dashboard loads.
This is a temporary change (famous last words!) to help us diagnose the actual problem. If the orphan_account dashboard starts loading once this is deployed, we should come up with a new way of counting fandoms. If it doesn't start loading, we should remove this code and keep looking for the problem.
1) On Staging, went to https://test.archiveofourown.org/users/orphan_account
The page loaded, and there is no "Fandoms" section
2) Chose one of orphan_account's pseuds
There is a "Fandoms" section
3) Tried while logged out
Well, the orphan_account dashboard is very slow to load, but it does appear to be loading in production. So I guess that means that the code for calculating the user's fandoms needs to be rewritten to scale better. (Maybe with Elasticsearch.)
To be continued in AO3-5726.