Project

General

Profile

action #101722

Updated by tinita over 2 years ago

## Motivation 
 openqa-review puts reminder comments jobs even they are multiple months old. This can be confusing to some users and the existing options in https://github.com/os-autoinst/openqa_review/blob/master/openqa_review/openqa_review.py#L196 might not be good enough for some users. 
 Also see https://suse.slack.com/archives/C02CANHLANP/p1631255003169600 
 Note that this is especially about progress.o.o and not the same as #100982. 

 ## Acceptance criteria 
 * **AC1:** No comment in progress is posted if the content of the comment would be the same with same job 

 ## Suggestions 
 * Look into openqa-review where we read data from progress and verify we have comments 
   https://github.com/os-autoinst/openqa_review/blob/e7d3c494a2b172d6a6a61bca11a9ae3bbd52b2b5/openqa_review/openqa_review.py#L699 
 * Reuse the code for bugzilla comments

Back