According to the specs at T278971: Mentor dashboard: M1 mentee overview module , the table in mentee overview module is supposed to be updated daily.
This means we have to add updateMenteeData.php as a regular job run by the maintenance server. Code for the script itself was already merged to master in the parent task, and will ship to prod with wmf.14.
Checklist
- Test updateMenteeData.php works as intended in the beta cluster
- Wait for deployment to production (wmf.14)
- Test updateMenteeData.php works as intended in production (at least the pilots), check the numbers are correct
- Write a Puppet patch to run updateMenteeData.php daily in production and beta
- Ask a SRE to deploy the puppet patch
- Observe the script for a while (check logs, check numbers stay right)