Integrated: 1594: Convert rest of bots polling PRs and Issues to use new pollers

Erik Joelsson erikj at
Wed Nov 16 17:22:00 UTC 2022

On Wed, 2 Nov 2022 17:19:52 GMT, Erik Joelsson <erikj at> wrote:

> The new PullRequestPoller has now been in use in the PullRequestBot for a while, and hopefully most of the kinks have been ironed out. I think it's time to convert the rest of the bots that poll PRs (and the CSRIssueBot that polls Issues) to use the new pollers. 
> The conversion is pretty straight forward. In the case of the CSRBots, they were missing the retry callback, so I added that functionality in line with other bots.
> The new factory tests needed to be modified slightly, as the PullRequestPoller calls to the Forge/Host object of a repository during initialization, so we need a TestHost instance there instead of `null`.
> I deliberately left out two bots here, the JEPBot and the TestInfoBot. The TestInfoBot is handled separately already in #1411. For the JEPBot, I think it needs a general overhaul. In the end it should function more or less the same as the CSRBot, but I'm still not sure that the CSRBot is where I want it to be.

This pull request has now been integrated.

Changeset: e127ae4e
Author:    Erik Joelsson <erikj at>
Stats:     204 lines in 10 files changed: 51 ins; 104 del; 49 mod

1594: Convert rest of bots polling PRs and Issues to use new pollers

Reviewed-by: ehelin, ihse



More information about the skara-dev mailing list