Skip to content

Proof of concept rewrite of the core bot in Go

Notifications You must be signed in to change notification settings

cluebotng/botng

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3d60291 · Jan 4, 2025

History

46 Commits
Dec 26, 2024
Jan 4, 2025
Dec 10, 2024
Jun 23, 2019
Jun 23, 2019
Dec 11, 2024
Dec 11, 2024
Dec 26, 2024
Dec 25, 2024
Dec 25, 2024
Jan 4, 2025

Repository files navigation

ClueBot NG

Proof of concept rewrite of ClueBot NG's bot component (https://github.com/cluebotng/bot).

Goals

  • Maintain revert outcome; specifically the pre-filtering that happens before core scoring
  • Improve resource usage; specifically MySQL connection pooling, ideally removing the pre-fork model
  • Improve debugging; expose metrics for health, which currently are calculated from scraping logs
  • Ease development; single portable binary with only external service dependencies
  • Improve throughput/missed edits; or at least be able to explain them better [T343952]

Compatibility

Not supported:

  • CBAutostalk.js & CBAutoedit.js - These were used to emit messages into IRC, but haven't been used since 2018 ( 80cab4)
  • oftenvandalized.txt - This was used to emit messages into IRC, but hasn't been used since, but haven't been used since 2018 (80cab4)
  • irc.wikimedia.org - In favour of the HTTP event stream (which backs the IRC relay)
  • titles.txt - This is replaced by a MySQL table

TODO

  • Add test cases for each section of functionality
  • Run side by side in production & compare decisions
  • Cleanup metric production
  • Cleanup logging/tracing code

About

Proof of concept rewrite of the core bot in Go

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages