action #110409
Updated by kraih over 2 years ago
## Motivation #109310 was a good start, but not quite enough to resolve https://github.com/openSUSE/qem-dashboard/issues/61. Incidents might be reused from one day to the next, so only deleting data that is 90 days old does not cover such cases. ## Acceptance criteria * **AC1:** Whenever the `rr_number` of an incident changes, delete existing openQA jobs in the database. * **AC2:** Ensure that there are no performance regressions ## Suggestions * Trigger the rr_number check from the same API that does the 90 day cleanup.