action #97763

Updated by cdywan 9 months ago

## Motivation

Idle instances of openQA, e.g. personal single-user developer instances, only trigger cleanup jobs when quota usage is likely to change, e.g. when new builds or jobs are scheduled or jobs complete.

## Acceptance criteria
- **AC1**: Cleanup is triggered based on job finished event
- **AC2**: No extra minion job for every single finished job

## Suggestion
- Look into existing check for
Cleanup is triggered based on available space
- Extend the minion job that already exists to check for "assets" quota, see [](