Desktop gives up on a slow-exiting old server after 10 s and never retries, so it sits with no backend after the home frees
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- desktop
Hướng nghiên cứu
Start by tracing DesktopHomeOwner.isHomeOwnershipLocked and the bootstrap path that waits for server-owner.sqlite; the issue also points to DesktopBackendPool's onStateDirOwned handling for exit code 78. Check how server-runtime.json identifies the owner and how backend startup responds when the lock is released. Done means bootstrap retries after the old server exits and starts the backend without requiring a dialog dismissal or app restart.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[!NOTE]
Written by Claude Opus 5.5 on behalf of @WhiteWarrior625
Desktop gives up on a slow-exiting old server after 10 s and never retries, so it sits with no backend after the home frees
Linux AppImage, 0.1.11-nightly.20261119.4941, which includes #34932.
#34932 made bootstrap wait BACKEND_QUIT_STOP_TIMEOUT + 3 s for a draining owner to release server-owner.sqlite. When the old server takes longer than that, bootstrap shows the modal "This T3 home is unavailable" and starts no backend. It does not check the lock again, so the window stays up with no backend after the old server is gone, until someone dismisses the dialog or restarts the app.
What happened here (2026-11-19, times EST):
- 10:54:46: the previous desktop was ended during an update restart. Its server did not go with it: on Linux it runs in its own systemd scope (
app-com.t3tools.T3Code-<pid>.scope), and it ran from the old AppImage mount. - 10:54:52: the new desktop started.
DesktopHomeOwner.isHomeOwnershipLockedran 40 times, 250 ms apart, from 10:54:53 to 10:55:03. Then bootstrap stopped: no backend start was requested. - 10:55:40: the old server exited (SIGBUS, when its AppImage mount went away) and released the lock, 37 s after the desktop stopped waiting.
- The window stayed up with no backend until a manual restart at 11:01.
Possible fixes:
- After the grace, keep polling (or watch the lock) while
server-runtime.jsonnames an owner whose desktop is gone, and start the backend when the lock frees. - Or show a non-modal state that retries when the lock frees, instead of a blocking dialog with nothing behind it.
The other path to the same dialog, DesktopBackendPool onStateDirOwned on exit code 78, may want the same retry. We worked around it locally by making our update restart wait for the old server to release the home before starting the desktop.
- Ngôn ngữ chính
- TypeScript
- Star
- 24.8k
- Fork
- 6.4k
- Merge trung bình
- 4 giờ 29 phút
- Pull request đã merge (30 ngày)
- 488
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pingdotgg/t3code
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs more info
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
pingdotgg/t3code#39400 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Wrapped PR titles lose bottom padding in the thread details panelCó thể đã có người làm @iamdatvt94 đã nhận 1 ngày trước. Đang mởbug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pingdotgg/t3code
Issue tương tự
-
area:plugins kind:bug priority:p2 ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Escaped `*` followed by `*` (`\**`) never matchesCó thể đã có người làm @bardrop đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 71/100
editorconfig/editorconfig-core-js#172 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
vega/vega-webgpu#40 ·
-
Adjust break point sizingĐang mởtype: bug 🐛
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
puckeditor/puck#1929 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
compression() compresses every response at Brotli quality 11Có thể đã có người làm @staylor đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày