Start workspace without asking when pressing the play button
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
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- developer-experience, devtools
Hướng nghiên cứu
Theo dõi các điểm vào play-button, dashboard và recents, cùng với activation hook của plugin SSH từ xa. Trước tiên, hãy xác định xem hook có thể phân biệt kết nối ban đầu với kết nối lại hay không. Được coi là hoàn tất khi các lần khởi chạy từ play-button và dashboard khởi động workspace mà không nhắc người dùng, còn các lần kết nối lại không tự động khởi động các workspace đã tự động dừng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- 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
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
-
coder/vscode-coder#1125 · 1 bình luận · 1 người được giao ·
-
Migrate CI setup to pnpm/setup Đang mởtech-debt
coder/vscode-coder#1119 · 1 bình luận · 1 người được giao ·
-
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 ·
-
coder/vscode-coder#1113 · 3 bình luận · 1 người được giao ·
-
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 ·
Tất cả issue của coder/vscode-coder
Issue tương tự
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100