<div dir="ltr">An update... the bot went to sleep as instructed a few hours after I went to sleep. Bot is now back up and running, with some ~4,500 tasks still to fix.<div><br></div><div>A few problems:</div><div>* The new "rate limiting" of the API is rather rigorous. Release engineering tried to whitelist the bot but we had no luck. So, it will take some time to go through everything.</div><div>* If the bot hits the rate limit while editing a task, all other changes it was going to make to that task didn't happen. Hence you may see only some corrections on some tasks.</div><div>* The priority level is now being set to "Needs triage". This is because the Conduit API gives me numbers for the priority level, and the edit API wants a string (?!?). I don't know what numbers are for what priorities, so "Needs triage" it is. Older versions of the script left the priority level unchanged, so either way you may wish to review the priorities of your tasks. If you know what the priority number to string mapping is, please tell me :)</div><div><br></div><div>Cheers,</div><div><br></div><div>~Leon</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jul 1, 2018 at 5:32 AM Max Semenik <<a href="mailto:maxsem.wiki@gmail.com">maxsem.wiki@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We've got ourselves da MVP!<br>
<br>
On Sun, Jul 1, 2018 at 12:51 AM, Leon Ziemba <<a href="mailto:musikanimal@wikimedia.org" target="_blank">musikanimal@wikimedia.org</a>><br>
wrote:<br>
<br>
> I wrote a rollback script, currently running as CommunityTechBot<br>
> <<a href="https://phabricator.wikimedia.org/p/CommunityTechBot/" rel="noreferrer" target="_blank">https://phabricator.wikimedia.org/p/CommunityTechBot/</a>> and previously<br>
> Community<br>
> Tech bot <<a href="https://phabricator.wikimedia.org/p/Community_Tech_bot/" rel="noreferrer" target="_blank">https://phabricator.wikimedia.org/p/Community_Tech_bot/</a>>. It<br>
> seems to work, aside from setting the triage level, which hopefully isn't a<br>
> huge deal. I can try to fix that later. It is also being slowed down by<br>
> rate limiting. The script isn't quite shareable yet but when it is I'll<br>
> publish it. Going to sleep now :)<br>
><br>
<br>
-- <br>
Best regards,<br>
Max Semenik ([[User:MaxSem]])<br>
_______________________________________________<br>
Wikitech-l mailing list<br>
<a href="mailto:Wikitech-l@lists.wikimedia.org" target="_blank">Wikitech-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/wikitech-l" rel="noreferrer" target="_blank">https://lists.wikimedia.org/mailman/listinfo/wikitech-l</a></blockquote></div>