The current trigger code has no test coverage. Unfortunately, it is the kind of code where subtle errors are pretty easy to have and as such, we should really have better coverage to improve confidence that the correct jobs are being scheduled on receipt of the correct messages.
Refactor the trigger code so that it's more testable and write tests to at least cover the common job triggering messages that we'll be using soon (koji tag, bodhi request).
This ticket had assigned some Differential requests: D28
The code is still really raw but I started poking at this earlier today but didn't want to put it in the canonical upstream. Feel free to take anything that would be useful:
https://bitbucket.org/tflink/taskotron-trigger
I actually already started to work on this earlier this week.