#2099 closed enhancement (fixed)

bring back tahoebot

Reported by: zooko Owned by:
Priority: normal Milestone: soon (release n/a)
Component: dev-infrastructure Version: 1.10.0
Keywords: Cc:
Launchpad Bug:

Description

Mark_B made a bot named tahoebot join the #tahoe-lafs IRC channel. It was great! But ever since Mark's courses started, tahoebot has rarely joined our channel.

Change History (4)

comment:1 Changed at 2013-11-10T17:56:08Z by zooko

Possible solutions:

  1. Mark writes a cronjob to restart tahoebot.
  2. Someone else volunteers to become the tahoebot wrangler. Is the source code of tahoebot on github?

comment:2 Changed at 2013-11-11T06:42:07Z by markberger

I will try to configure upstart to work with tahoe-bot.

I'm not sure why tahoe-bot keeps crashing, but from my logs it appears to be a race condition with the RSS parser and the IRC parser. The error occurs when the RSS parser fails to grab the feed.

For future reference, the source code for tahoe-bot is hosted on github:

  • tally: the library with all of the irc and rss logic
  • tahoe-bot: the repo with the appropriate settings

The code is in Go, but it is easy to pick up for anyone interested.

comment:3 Changed at 2013-11-14T01:20:25Z by markberger

tahoe-bot is now configured with upstart so it should relaunch after it crashes.

comment:4 Changed at 2015-04-28T19:52:50Z by warner

  • Resolution set to fixed
  • Status changed from new to closed

It is indeed running.

I'm wondering if polling the timeline every 15 seconds might contribute to the occasional performance problems we see in Trac, but I'll defer that analysis for a later day.

Note: See TracTickets for help on using tickets.