Summary of the issue
- On first load, Special:Homepage generates a random mentor for the visitor and stores it into database via the job queue (to avoid writes on GET).
- If the visitor refreshes Special:Homepage before the job completed, Special:Homepage assigns a new mentor, as it doesn't know which mentor was assigned previously.
- On each refresh, the mentor sees a different user assigned to them as a mentor, which is confusing and annoying.
Steps to replicate the issue (include links if applicable):
- Quit mentorship from Newcomer homepage
- Ask for a new mentor
- Refresh the page, mentor will change each time
What happens?:
The mentor assigned changes each time we refresh the Newcomer homepage after having asked for a new mentor. It stops to change after some time.
What should have happened instead?:
Mentor shouldn't be reassigned each time we go to the Newcomer Homepage.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):