Page MenuHomePhabricator

reassignMentees.php should make it possible to schedule the job
Closed, ResolvedPublic

Description

As part of investigating T418194: Mentors still having mentees after removing themselves, I wanted to schedule the mentor reassignment job again, to see if the failure was temporal. However, there is no easy way to do that (I need to run a bunch of code in a shell.php session). It would be great to expand reassignMentees.php with a --as-job parameter, which would schedule the work rather than directly execute it.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Urbanecm_WMF moved this task from Inbox to Product Backlog on the Growth-Team board.

Change #1244648 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] feat(reassignMentees): Introduce --as-job param

https://gerrit.wikimedia.org/r/1244648

Change #1244648 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] feat(reassignMentees): Introduce --as-job param

https://gerrit.wikimedia.org/r/1244648

I see the -as-job parameter added in the patch. Are we waiting to see this run in production as well to know whether it's okay for closing?