intersystems / intersystems/git-source-control

Fail better when no space in temp directory

Abierto
#855 0 comentarios 0 reacciones 0 asignados Ver en GitHub
customer
Lenguaje dominante
ObjectScript
Estrellas
22
Forks
14
Merge medio
1 d 9 h
PR fusionados (30 d)
5

Descripción

Two separate customers now have had support issues because there was no space in the file system with the temp directory. This is what happens:
- The source control menus do not load
- The Git Web UI does not load at all
- The settings page has a misleading warning message "File not found" under the Git executable path
- There is a mysterious ILLEGAL VALUE error in the app error log

The real issue is that Embedded Git is trying to run Git commands with output redirected to a temp file and the output redirection fails when the disk is full. We can't fix this ourselves but we should make it easier to discover the problem.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reproducing the failure with no space in the file system containing the temp directory, then trace how Embedded Git redirects command output to a temp file. The issue is done when the disk-full condition is surfaced clearly instead of causing missing menus, misleading warnings, and an ILLEGAL VALUE error.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
git
Área
backend, tooling
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.