Intercept and mock failed SSH connections to provide log dumps, or even a troubleshooting link
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- devtools
Hướng nghiên cứu
Bắt đầu bằng cách đọc đề xuất và truy vết cách extension hiện đang dựa vào hành vi SSH ProxyCommand của Coder. Xác định cách các kết nối thất bại được hiển thị cho các tích hợp VS Code và JetBrains, sau đó định nghĩa thông báo chẩn đoán, hook hoặc liên kết troubleshooting được hỗ trợ. Xác thực điều này với trường hợp lỗi do khách hàng báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
This is just an idea and was inspired by a customer-reported issue: https://github.com/coder/coder/issues/11978
Background
Today, Coder already "mocks" real SSH by running ProxyCommand. This is awesome, because Coder sysadmins do not need to open port 22 on devices, but makes it difficult for ssh, VS Code, or other commands to get the full story of why a connection has failed. Some logs are available with coder ssh -v, but in cases like VS Code Remote SSH, paths to get this info are unclear to the user as they just see a "Cannot reconnect. Please reload the window." button
We are working on coder/coder#12160, which will allow admins (or pipelines with admin access) to collect diagnostic information on behalf of a workspace. However, users will not be able to request it, and in the case of #119878 there is an issue external to Coder (e.g. VPN troubleshooting) that is causing the issue.
Proposal
If a connection to a workspace fails, we still "mock" the SSH request so that ssh or IDE plugins (VS Code and JetBrains) think it succeeds and then a message/hook can provide additional logging, or even link to an external wiki/service that gives the user more details on how to resolve/diagnose this issue.
By mocking an SSH connection, it allows us to inform extensions and provide a better UX than VS Code's "disconnected." It could be a useful utility for troubleshooting user connections by supplying more data or custom errors.
- Ngôn ngữ chính
- TypeScript
- Star
- 131
- Fork
- 48
- Merge trung bình
- 4 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 17
Chuẩn bị môi trường
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 coder/vscode-coder
-
Surface non-blocking agent startup script failures to the userCó thể đã có người làm @EhabY đã nhận 4 ngày trước. Đang mở
coder/vscode-coder#1125 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Migrate CI setup to pnpm/setupCó thể đã có người làm @EhabY đã nhận 8 ngày trước. Đang mởtech-debt
coder/vscode-coder#1119 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement tech-debt
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 74/100
coder/vscode-coder#1118 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Design the VS Code Workspaces panelCó thể đã có người làm @chrifro đã nhận 12 ngày trước. Đang mở
coder/vscode-coder#1113 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Flush the connection log buffer after N failed reconnect attempts against an unreachable serverĐang mởenhancement tech-debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
coder/vscode-coder#1112 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của coder/vscode-coder
Issue tương tự
-
Add: Digi World (Romania) SDĐang mởcheck:passed streams:add
Độ 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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Fission-AI/OpenSpec#1986 ·
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 75/100
nestjs/docs.nestjs.com#3554 ·
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 74/100
publicodes/publicodes#868 ·
-
namespace operations
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
EclipseFdn/open-vsx.org#13488 ·
Maintainer thường phản hồi trong vòng 2 ngày