Start workspace without asking when pressing the play button
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- typescript
- Bereich
- developer-experience, devtools
Rechercherichtung
Verfolge die Einstiegspunkte play-button, dashboard und recents sowie den Aktivierungshook des Remote-SSH-Plugins. Ermittle zunächst, ob der Hook eine erstmalige Verbindung von einer erneuten Verbindung unterscheiden kann. Als abgeschlossen gilt die Aufgabe, wenn von play-button und dashboard gestartete Arbeitsbereiche ohne Nachfrage gestartet werden, während erneute Verbindungen automatisch gestoppte Arbeitsbereiche nicht starten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 131
- Forks
- 48
- Ø Merge
- 4 T. 21 Std.
- Gemergte PRs (30 T.)
- 14
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus coder/vscode-coder
-
tech-debt
coder/vscode-coder#1120 · 1 Kommentar · 1 zugewiesene Person ·
-
tech-debt
coder/vscode-coder#1119 · 1 Kommentar · 1 zugewiesene Person ·
-
enhancement tech-debt
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 74/100
coder/vscode-coder#1118 · 1 Kommentar ·
-
coder/vscode-coder#1113 · 3 Kommentare · 1 zugewiesene Person ·
-
Flush the connection log buffer after N failed reconnect attempts against an unreachable server Offenenhancement tech-debt
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 45/100
coder/vscode-coder#1112 · 1 Kommentar ·
Alle Issues in coder/vscode-coder
Ähnliche Issues
-
blocklist removal
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
pastelsky/bundlephobia#1122 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100