action #110409
closed
coordination #91646: [saga][epic] SUSE Maintenance QA workflows with fully automated testing, approval and release
coordination #109641: [epic] qem-bot improvements
qem-dashboard - remove old openQA jobs when rr_number changes size:M
Added by kraih over 2 years ago.
Updated over 2 years ago.
Description
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.
- Description updated (diff)
- Related to action #109310: qem-bot/dashboard - mixed old and new incidents size:M added
- Description updated (diff)
- Status changed from New to In Progress
- Subject changed from qem-dashboard - remove old openQA jobs when rr_number changes to qem-dashboard - remove old openQA jobs when rr_number changes size:M
- Target version changed from future to Ready
- Due date set to 2022-05-17
Setting due date based on mean cycle time of SUSE QE Tools
- Status changed from In Progress to Feedback
- Status changed from Feedback to Resolved
The feature is being used in production:
May 17 10:14:15 qam2 dashboard[20256]: [20256] [i] Cleaning up old jobs for incident 24247, rr_number change: 272218 -> 272456
Considering there are no complaints yet, we can probably assume it works.
- Due date deleted (
2022-05-17)
- Related to action #114694: Incident seems to have missing aggregate test results in qem-dashboard but openQA jobs exists size:M added
Also available in: Atom
PDF