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 Bots/Noticeboard. The result of the discussion was

SDZeroBot 9.1
Operator:

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 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
Primefac (talk) 09:14, 14 June 2023 (UTC)
 * 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)
 * 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)
 * This is something that really should be logged if it isn't already. The SandDoctor  Talk 16:15, 6 August 2023 (UTC)
 * 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)
 * @ProcrastinatingReader The bot's internal logs are in  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   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)
 * Primefac (talk) 08:51, 30 August 2023 (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.