Need a way to clean up orphaned runs
Abierto
feature
Menas
priority: low
- Lenguaje dominante
- Scala
- Estrellas
- 33
- Forks
- 16
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## Background
Currently, if a job is interrupted in a way that it didn't have a chance to send the failure request, the status of the job is 'Running' forever.
## Feature
We need to periodically check all jobs that are in 'Running' state for days and switch them to 'Failed' with the appropriate error.
## Proposed Solution [Optional]
1. Such periodic cleanup can be done in Menas itself. Checking interval can be 1 hour by default and can be configurable.
2. The maximum age of a job can be a configuration parameter as well.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.