intersystems / intersystems/git-source-control

Fail better when no space in temp directory

Đang mở
#855 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
customer
Ngôn ngữ chính
ObjectScript
Star
22
Fork
14
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi khi hệ thống tệp chứa thư mục tạm không còn dung lượng, sau đó truy vết cách Embedded Git chuyển hướng đầu ra của lệnh vào một tệp tạm. Vấn đề được hoàn tất khi tình trạng đầy đĩa được hiển thị rõ ràng thay vì gây ra các menu bị thiếu, các cảnh báo gây hiểu lầm và lỗi ILLEGAL VALUE.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
git
Lĩnh vực
backend, tooling
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.