Project

General

Profile

action #73387

Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle

Added by okurz 10 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
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.

Related issues

Copied from openQA Infrastructure - action #73345: [u] Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sleResolved2020-10-14

History

#1 Updated by okurz 10 months ago

  • Copied from action #73345: [u] Cleanup of old needles from os-autoinst-needles-opensuse and os-autoinst-needles-sle added

#2 Updated by szarate 10 months 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)

#3 Updated by okurz 9 months 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.

#4 Updated by okurz 9 months ago

  • Status changed from Workable to Resolved
  • Assignee set to okurz

Also available in: Atom PDF