Support cross-host R sessions with sess
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
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- r, typescript
- Lĩnh vực
- cli, developer-experience, tooling
Hướng nghiên cứu
The issue mentions the new 'sess' architecture using bidirectional JSON-RPC over a stream socket. Start by examining the sess implementation in the codebase, likely in the src/ directory, to understand the current transport mechanism. Look for socket handling and connection logic. The goal is to modify sess to accept connections from a different host, possibly via TCP. Testing will involve setting up a cross-host scenario, perhaps with SSH forwarding, to verify the session attachment works.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
There have been repeated requests to attach vscode-R to an R session running on a different host from the VS Code extension host, particularly in HPC environments where VS Code runs on a login node while R runs on a scheduler-allocated compute node.
Related issues include #469, #1019, #1047, #1276, #1359, #1391, #1506, and #1541.
Historically this was difficult because the session watcher depended on shared files, file watchers, and local process IDs.
With the new sess architecture, communication is now bidirectional JSON-RPC over a stream socket.
This should make cross-host sessions feasible in the future, for example through SSH socket forwarding or an additional TCP transport, without changing the higher-level session protocol.
I don't think vscode-R needs to manage SSH, Slurm, or other schedulers itself.
The useful boundary would be simply allowing sess to connect when the R process and the extension host are on different machines.
- Ngôn ngữ chính
- TypeScript
- Star
- 1.2k
- Fork
- 139
- Merge trung bình
- 16 giờ 16 phút
- Pull request đã merge (30 ngày)
- 11
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 REditorSupport/vscode-R
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
REditorSupport/vscode-R#1687 · 4 bình luận · 3 reaction ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
REditorSupport/vscode-R#1756 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
REditorSupport/vscode-R#1755 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
REditorSupport/vscode-R#1751 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
REditorSupport/vscode-R#1749 · 5 bình luận · 3 reaction ·
Tất cả issue của REditorSupport/vscode-R
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
IBM/node-sdk-core#373 ·
-
e2e-failure ready-to-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
chore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100