Project

General

Custom queries

Profile

Actions

action #73387

closed

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

Added by okurz about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
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 1 (0 open1 closed)

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

Actions
Actions #2

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)
Actions #3

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.

Actions #4

Updated by okurz about 4 years ago

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

Also available in: Atom PDF