Project

General

Profile

action #157858

Updated by okurz about 2 months ago

## Motivation 
 

 #157522 addressed a bug that prevented reminder comments from being sent. Unfortunately comments are added even if a comment was already present. This is especially visible in *immediate* tickets, for example #153115, which get daily reminders - as per #116545 only one comment is supposed to be added. Maybe this is a regression or the check is not comprehensive enough. 

 ## Acceptance criteria 
 * **AC1:** Reminders are only added once 

 ## Suggestions 
 * We already have the code that should handle that: Review the implementation from #116545 for gaps in the current logic in https://github.com/openSUSE/backlogger/blob/main/backlogger.py 
 * Investigate if something changed with current comments, maybe the Redmine upgrade made a difference here (complete guess)? 
 * Maybe the regex needs to be adapted and/or better covered with unit testing

Back