Wikipedia:Bots/Requests for approval/ProcBot 6


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard. The result of the discussion was

ProcBot 6
Operator:

Time filed: 19:44, Tuesday, November 3, 2020 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Ruby

Source code available:

Function overview: Regular purges of members of categories

Links to relevant discussions (where appropriate): Bot_requests, Bots/Requests for approval/Joe's Null Bot (1-13),

Edit period(s): Cont

Estimated number of pages affected: 0 edits

Exclusion compliant (Yes/No): No

Already has a bot flag (Yes/No): Yes

Function details: Extension of task 5, to allow for taking over 's category tasks (eg task 4-9, 12). Requesting general approval to add categories for regular/ad hoc purge, on requests and in accordance with consensus. It will be capped to a reasonable rate daily. The request page will be limited to TEs.

Discussion
Let's see if anything breaks. Primefac (talk) 15:32, 10 November 2020 (UTC)
 * What is your anticipated action rate? Does your bot respect MAXLAG? —  xaosflux  Talk 14:39, 4 November 2020 (UTC)
 * Maxlag: I discussed this with Headbomb yesterday; yeah it will respect maxlag. Also thought checking job count might've been smart, since they're queued, but it seems like the statistics API every time I've looked it's been 0. Not sure if that's broken, tbh.
 * Action rate: Current implementation: mw:API:Purge supports up to 500 titles per request. My experience with task 4's "multiple titles per request" was that this sometime errors, so I'm using a safer value of 400 titles per request. In between requests, I'm pausing for 30 seconds currently. As for how many purges maximum this will do per day, that's something I'd like to ask sysadmins. The code in MW seems to suggest only the recursive purge is considered 'intensive', and Joe's bot did 10k purges per day across its approved tasks. How many sysadmins consider 'too much' is something I'd like to ask them -- I pinged Urbanecm at VPT yday but I'll try catch someone at #ops on IRC today or tomorrow. ProcrastinatingReader (talk) 19:01, 4 November 2020 (UTC)
 * Answer is that I'm asking the wrong question. that's kinda difficult question, basically it should be asked the other way around (is this minimum number needed for this bot an issue). I'm told I can open a phab task in Performance-team for a bot review if I want. But that seems a bit formal and time-costly; I personally now think it's better to shove the question down the road until it becomes a problem / the number feels unreasonable. Obeying maxlag should mitigate much of an issue anyway. ProcrastinatingReader (talk) 13:26, 5 November 2020 (UTC)
 * . Success indicated by the rise of count in Category:AfC G13 eligible soon submissions, from 500 -> 5000, 2nd run 4000 -> 4500. ProcrastinatingReader (talk) 11:32, 12 November 2020 (UTC)
 * I won't get too picky about the fact that it didn't run for seven days ;-) Primefac (talk) 01:29, 16 November 2020 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard.