Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Prompt to create support bundle before Reload Window on SSH failure

Đang mở
#970 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
typescript
Lĩnh vực
devtools

Hướng nghiên cứu

Bắt đầu bằng cách đọc SshProcessMonitor hiện có và lệnh coder.supportBundle, sau đó kiểm tra cách tiện ích mở rộng VS Code theo dõi trạng thái Remote-SSH và ghi log. Xác định một bộ phát hiện an toàn theo vòng đời cho các dấu hiệu lỗi được liệt kê và tình trạng mất tiến trình kéo dài, đồng thời tránh các lần kết nối lại bình thường và cảnh báo trùng lặp. Hoàn tất khi thông báo cung cấp Create support bundle và Dismiss, đồng thời hành động gọi coder.supportBundle.

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

Mô tả

Split out from coder/vscode-coder#955 point (4).

Summary

Detect Remote-SSH failure conditions before users click VS Code's native "Reload Window" prompt, then offer to create a Coder support bundle while volatile state is still available.

Proposed scope

  • Watch the actual Remote-SSH extension log for known failure markers:
    • permanent error
    • will give up now
    • Unknown reconnection token
    • socketFactory.connect() failed or timed out
    • Time limit reached
    • UnparsableOutput
  • Treat long process-loss/no-recovery windows as a failure signal without firing during normal reconnect cycles.
  • Show a notification:
    • Coder: remote session failed and won't auto-reconnect. Capture diagnostics now?
    • Actions: Create support bundle, Dismiss
  • Running Create support bundle should invoke the existing coder.supportBundle command.
  • Avoid duplicate notifications in a single failing session.

Notes

This is intentionally separate from coder/vscode-coder#955's support bundle collection changes because the current SshProcessMonitor discovers ports/PIDs/proxy-log paths but does not tail or classify log contents. This should be implemented as a lifecycle-safe watcher/detector rather than added opportunistically to bundle collection.

Generated by Coder Agents.

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

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của coder/vscode-coder

Tất cả issue của coder/vscode-coder

Issue tương tự

Thêm issue về TypeScript

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.