Start workspace without asking when pressing the play button
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- typescript
- Domínio
- developer-experience, devtools
Direção de pesquisa
Rastreie os pontos de entrada play-button, dashboard e recents, junto com o hook de ativação do plugin SSH remoto. Primeiro determine se o hook consegue distinguir uma conexão inicial de uma reconexão. Considera-se concluído quando os lançamentos por play-button e dashboard iniciam o workspace sem solicitar confirmação, enquanto as reconexões não iniciam automaticamente os workspaces parados automaticamente.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 131
- Forks
- 48
- Merge médio
- 4d 15h
- PRs com merge (30d)
- 17
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de coder/vscode-coder
-
coder/vscode-coder#1125 · 1 comentário · 1 responsável ·
-
tech-debt
coder/vscode-coder#1119 · 1 comentário · 1 responsável ·
-
enhancement tech-debt
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 74/100
coder/vscode-coder#1118 · 1 comentário ·
-
coder/vscode-coder#1113 · 3 comentários · 1 responsável ·
-
Flush the connection log buffer after N failed reconnect attempts against an unreachable server Abertaenhancement tech-debt
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 45/100
coder/vscode-coder#1112 · 1 comentário ·
Todas as issues de coder/vscode-coder
Issues semelhantes
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
-
Crush Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
ElementsProject/cln-application#167 · 1 comentário · 1 reação ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Quantco/pnpm-licenses#17 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100