bitbot-irc / bitbot

https://bitbot.dev | Python3 event-driven modular IRCv3 bot 🤖

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: portal to see history events

Hexcles opened this issue · comments

In web-platform-tests/wpt#21424 , we accidentally deleted hundreds of branches and thus closed hundreds of PRs. Back then we were lucky to have BitBot in our IRC chat which captured all of the events so we could quickly reopen those PRs.

Though in this specific case BitBot + IRC logs were sufficient, I could imagine scenarios like IRC logging was down, or the events we needed were hidden in IRC. It'd be useful to have a simple logging portal on BitBot to see all recent events it receives from a repo (on a rolling basis). The interface (or API) does not need to be fancy; a list of raw JSON payloads would be good enough (assuming there's no sensitive information -- I don't think there's any for a public repo). Alternatively, this could be an IRC command to ask BitBot to dump a list of recent events to a short-living storage (S3 bucket with expiration, or even Pastebin).