Start workspace without asking when pressing the play button
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- typescript
研究方向
追蹤 play-button、dashboard 和 recents 進入點,以及遠端 SSH 外掛程式啟用 hook。首先確認 hook 是否能區分初次連線與重新連線。完成的標準是:透過 play-button 和 dashboard 啟動時,工作區不需提示即可啟動,而重新連線不會自動啟動已自動停止的工作區。
由索引模型根據 Issue 內容生成。
描述
Currently, the play button immediately calls out to the remote SSH plugin.
Then, our plugin hooks into the remote SSH plugin activation and it does its magic like starting the workspace.
Problem is, we cannot tell if the remote SSH plugin was activated due to the play button being pressed or due to a reconnect. We cannot auto-start on reconnects because it causes issues with auto-stopped workspaces (VS Code will keep reconnecting and keep turning workspaces on, preventing the cost savings).
So, assuming there is no clever way to tell what caused the connect, I think we will just have to duplicate the start code when you press that button. Then delegate to the remote SSH plugin.
Another case where you probably want the workspace to start without asking is from the recents menu, but that goes straight to the remote SSH plugin so I am not sure there is anything we can do there. Is there some way in the remote authority activation hook to tell what caused the connect? If we can distinguish between a first connect and a reconnect, that would be ideal.
Another case is when coming in from the dashboard. This could be handled like the play button by duplicating the start code.
- 主要語言
- TypeScript
- 星號
- 132
- 分支
- 48
- 平均合併
- 2 天 4 小時
- 30 天內合併 PR
- 25
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
coder/vscode-coder 的其他 Issue
-
ReconnectingWebSocket drops messages the server sends right after the handshake可能已有人在做 @EhabY 於 1 天前認領。 未關閉bug vs-code
難度 3/5 1-2 天 新手友好度 72/100
coder/vscode-coder#1141 · 1 則留言 · 已指派 1 人 ·
維護者通常 2 天內回覆
-
Split commands.ts by topic可能已有人在做 @EhabY 於 1 天前認領。 未關閉Improvement tech-debt vs-code
難度 4/5 3-5 天 新手友好度 48/100
coder/vscode-coder#1135 · 1 則留言 · 已指派 1 人 ·
維護者通常 2 天內回覆
-
Migrate CI setup to pnpm/setup可能已有人在做 @EhabY 於 25 天前認領。 未關閉tech-debt
coder/vscode-coder#1119 · 1 則留言 · 已指派 1 人 ·
維護者通常 2 天內回覆
-
Design the VS Code Workspaces panel可能重新可做 @chrifro 於 28 天前認領,目前沒有進行中的 PR。 未關閉
coder/vscode-coder#1113 · 3 則留言 · 已指派 1 人 ·
維護者通常 2 天內回覆
-
bug upstream
難度 4/5 3-5 天 新手友好度 42/100
coder/vscode-coder#1087 · 1 則留言 ·
維護者通常 2 天內回覆
查看 coder/vscode-coder 的全部 Issue
相似的 Issue
-
e2e-failure ready-to-code
難度 2/5 1-3 小時 新手友好度 72/100
redhat-developer/rhdh-plugin-export-overlays#4391 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 82/100
Luligu/matterbridge#655 ·
-
難度 2/5 1-3 小時 新手友好度 82/100
software-mansion/argent#1457 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
schmayterling/hibi#245 ·
維護者通常 1 天內回覆
-
After a failed save, the red error banner stays on every page until the app is reloaded可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉ai-driven-qa bug claude Minor
難度 2/5 1-3 小時 新手友好度 70/100
linagora/twake-contacts-frontend#241 ·
維護者通常 1 天內回覆