#7 issuebot is reposting update notifications after I delete them
Opened by kparal. Modified

If you look here and expand the hidden replies, you'll see that the same comment about this bodhi update has been posted by issuebot three times. Every time I delete the comment, it detects it, and posts a new one after some time. I'm deleting the comment because it is not relevant in this context, it's a Rawhide update.

IIUIC the issuebot has no internal database to remember, whether it already posted that update, and so if I delete it, it thinks it hasn't. Can it be learned to also look into hidden replies? Or is there a better solution to fix this?


Hmmm. I am not explicitly filtering out the hidden posts, so they must not be returned by the API call. There's no documented way to do that but there might be one to be found if I snoop.

The thing the code looks at is the timestamp of the last reply from issuebot, so a workaround here is to edit the comment rather than deleting it.

I'll think about it a bit and see what I can come up with if I can't figure out how to have it look at deleted posts — I don't want to add a different "source of truth".

I thought about it ignoring topics which are marked as solved, but I think there might be cases where we want to be alerted to further activity in a bug we thought was fixed.

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/quality/issuebot/issues/7

Please continue any further discussion there.

Metadata