intersystems / intersystems/git-source-control
Fail better when no space in temp directory
- Langage dominant
- ObjectScript
- Étoiles
- 22
- Forks
- 14
- Merge moyen
- 1 j 9 h
- PR mergées (30 j)
- 5
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- git
- Domaine
- backend, tooling
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100