Adjust free space threshold for jenkins and allow it to bring machines offline
Mantenedores costumam responder em até 3 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 48/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- yaml
- Domínio
- ci-cd, infrastructure
Direção de pesquisa
Start by locating the Jenkins configuration that sets the workspace free-space warning threshold and controls whether low-space agents are taken offline; the issue does not name the file. Review how the current 0.2GB setting is applied, then determine how to set the threshold to roughly 4–5GB and enable taking agents offline. Done when the policy prevents builds from being scheduled on agents below the chosen threshold.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Jenkins has the option to mark machines offline if the workspace space gets too low. At the moment we hae the warning threshold set to 0.2G of space (i.e. when it gets below that it will warn, but not take the machine offline).
I think we should be more aggressive with this and set it to a larger figure (At least 2GB but ideally 4-5GB which would usually cover one full build on most systems) and allow jenkins to take machines offline when they hit the threshold which should prevent out of space conditions.
At the time of writing having a policy of "offline at 5GB" would take out the following executors, including the IBM Cloud RHEL ones which we raised a separate issue for.
Since I have the page up on my screen just now I'll add a note that the following systems have between 5GB and 10GB free:
In recent months we have had quite a lot of issues relating to systems going low on disk space and while taking the machines offline prevents things being scheduled on them and therefore potentially causing queue backlogs (which is why we usually have redundancy across systems for each build type) that is probably preferable to having CI builds fail so I propropose we allow jenkins to take machines in that state machines offline.
Richard has looked at single points of failures in our critical servers under https://github.com/nodejs/build/issues/4498 but we should perhaps take a closer look at our regular agents, not least because we hit a situation today where the only two agents that could run one particuar build were on separate containers on a single physical host and therefore were impacted simultaneously: https://github.com/nodejs/build/issues/4534
- Linguagem predominante
- Jinja
- Estrelas
- 544
- Forks
- 184
- Merge médio
- 4d 16h
- PRs com merge (30d)
- 12
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de nodejs/build
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
nodejs/build#4539 · 1 reação ·
Mantenedores costumam responder em até 3 dias
-
build-agenda
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
nodejs/build#4514 · 14 comentários ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
nodejs/build#4324 · 1 comentário ·
Mantenedores costumam responder em até 3 dias
-
build-agenda
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
nodejs/build#4540 · 1 comentário ·
Mantenedores costumam responder em até 3 dias
-
incident
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 38/100
nodejs/build#4538 · 4 comentários ·
Mantenedores costumam responder em até 3 dias
Todas as issues de nodejs/build
Issues semelhantes
-
[BUG] deploy.restart_policy without condition drops the restart policyTalvez já em andamento @akshat-lakhera assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
docker/compose#14383 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
melodic-software/claude-code-plugins#9619 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 1 dia
-
body-parser 2.3.0 in the published ai-dial-chat-bff image is vulnerable (CVE-2026-111181, HIGH)Talvez já em andamento @illya-havsiyevych assumiu hoje. Abertabug
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 87/100
epam/ai-dial-chat#9566 ·
Mantenedores costumam responder em até 1 dia
-
code-maintenance
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Mantenedores costumam responder em até 1 dia