Wikipedia:Bots/Requests for approval/SDZeroBot 9.1
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: SD0001 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 16:16, Tuesday, June 13, 2023 (UTC)
Function overview: Notify bot operators of broken tasks via email.
Automatic, Supervised, or Manual: Automatic
Programming language(s): TypeScript on Node.js
Source code available: GitHub
Links to relevant discussions (where appropriate): --
Edit period(s): Continuous
Estimated number of pages affected: per number of users
Namespace(s): None
Exclusion compliant (Yes/No): Opt-in
Function details: Extension of Wikipedia:Bots/Requests for approval/SDZeroBot 9 - which monitors activity of fully automatic bots and notifies subscribed operators of breakdowns via a talk page message. This update allows operators to subscribe to email notifications instead (or in addition).
I plan to use this feature myself as there are recurring reports of some SDZeroBot tasks failing to start up due to issues with the new Toolforge k8s platform (errors in execution are monitored via an email-on-error mechanism, but issues before execution starts are a new challenge), and thought it could be useful to others as well – since a lot of bot operators are only sporadically active on-wiki.
Discussion
[edit]Approved for trial (50 edits or 30 days, whichever happens first). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 09:14, 14 June 2023 (UTC)[reply]
- Trial complete. This has been working fine for a while now. Emails aren't logged, so there are no edits or log actions to link to. – SD0001 (talk) 06:56, 26 July 2023 (UTC)[reply]
- @SD0001: How many emails were sent? Does the bot log internally, at least, when it sends an email? (i.e. if there were ever a technical issue where the bot sends emails unnecessarily/incorrectly, do you have logging on your side to realise that?) ProcrastinatingReader (talk) 13:10, 6 August 2023 (UTC)[reply]
- This is something that really should be logged if it isn't already. TheSandDoctor Talk 16:15, 6 August 2023 (UTC)[reply]
- Also have to express the same thing here as PR. There's no logging of this, so an analysis of the bot's work during trial (the pre-requisite function to determine whether a bot should be fully permitted to operate or not) is nigh impossible without some sort of log of the work it's done. EggRoll97 (talk) 05:14, 8 August 2023 (UTC)[reply]
- @ProcrastinatingReader The bot's internal logs are in
/data/project/sdzerobot/bot-monitor.out
file on toolforge. It is public. It's also visible online at https://sdzerobot.toolforge.org/logs?type=out&log=bot-monitor&lines=500 (the file is huge – set&lines=N
in URL to see the last N lines). 41 emails have been sent till date (grep the file for "Sending email"), all to myself (for SDZeroBot's "Updating Peer reviews" task) since no one else till now has enabled email notifications. Any technical issues in sending email are also logged. – SD0001 (talk) 09:16, 11 August 2023 (UTC)[reply]- Approved. Primefac (talk) 08:51, 30 August 2023 (UTC)[reply]
- @ProcrastinatingReader The bot's internal logs are in
- @SD0001: How many emails were sent? Does the bot log internally, at least, when it sends an email? (i.e. if there were ever a technical issue where the bot sends emails unnecessarily/incorrectly, do you have logging on your side to realise that?) ProcrastinatingReader (talk) 13:10, 6 August 2023 (UTC)[reply]
- 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 Wikipedia:Bots/Noticeboard.