AlmaLinux / AlmaLinux/build-system

Add support for maintenance mode

Aberta
#202 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
Sem dados de linguagem
Estrelas
32
Forks
11
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

It would be great to add support for maintenance mode in ALBS:
* Based on a configuration flag, make all API calls to return a [503 - Service Unavailable](https://www.rfc-editor.org/rfc/rfc9110.html#name-503-service-unavailable), indicating the reason and a time before the next retry.
* Make ALBS frontend to show a generic "Maintenance Mode" page, indicating the information provided by the API (mostly, the reason why it's off).

We could make use of this [FastAPI Maintenance Mode Middleware](https://pypi.org/project/fastapi-maintenance-mode/) in backend. Not sure if there's anything for Vue.js though, needs some research.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.