Support cross-host R sessions with sess
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- r, typescript
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 1.2k
- 派生
- 139
- 平均合并
- 16 小时 16 分钟
- 30 天内合并 PR
- 11
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
REditorSupport/vscode-R 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
REditorSupport/vscode-R#1687 · 4 条评论 · 3 个 reaction ·
-
bug
难度 3/5 1-2 天 新手友好度 65/100
REditorSupport/vscode-R#1756 ·
-
难度 4/5 3-5 天 新手友好度 35/100
REditorSupport/vscode-R#1755 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 48/100
REditorSupport/vscode-R#1751 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
REditorSupport/vscode-R#1749 · 5 条评论 · 3 个 reaction ·
查看 REditorSupport/vscode-R 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
receptron/mulmoterminal#2264 ·
-
documentation
难度 2/5 1-3 小时 新手友好度 78/100
components-web-app/docs#96 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 68/100
simonsobs/tileviewer#114 ·
-
难度 2/5 1-3 小时 新手友好度 75/100