Actions
action #73387
closedCleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle
Start date:
2020-10-14
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
In very active needle repos like we have for SLE and also openSUSE outdated needles should be deleted from time to time when they are not matched or used for long. If nobody wants to do it everything becomes worse. Also see https://chat.suse.de/channel/testing?msg=rYLtgxCr4a7GeKTsh and following messages
Acceptance criteria¶
- AC1: Our team "common tasks" or "responsibilities" includes a description of a regular task or we have a calendar or monitoring alert
Suggestions¶
- See what had been done already in #73345
- Think about how we can ensure this happens again before the repository grows "too big", e.g. monitoring alert, CI pipeline check, etc.
Updated by okurz about 4 years ago
- Copied from action #73345: [u] Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle added
Updated by szarate about 4 years ago
Couple of things to keep in mind from #73345:
- Once the cleanup is done, or if there were any kind of errors check the needle dir, to check for possible needles not being committed and maybe crosscheck with the database if they're still referenced
- A possible improvement to the needle editor could be to allow selecting all needles in the search (rather than only those visible, or expanding the query to be able to show up to 500 instead of just 100 tops)
Updated by okurz about 4 years ago
One simple alert I could think of is to search in the database for needles that did not match or were not used for 1.5 years.
Updated by okurz about 4 years ago
- Status changed from Workable to Resolved
- Assignee set to okurz
alert could be idea for later. For now I have mentioned needle cleanup on https://progress.opensuse.org/projects/qa/wiki/Wiki/diff?utf8=%E2%9C%93&version=61&version_from=60&commit=View+differences
Actions