Retry connection instead of immediately erroring
- Lingua principale
- TypeScript
- Stelle
- 130
- Fork
- 48
- Merge medio
- 3g 3h
- PR unite (30g)
- 15
Descrizione
Suppose you have a VPN and when you boot your computer, VS Code automatically reconnects but this fails because your VPN is not up yet. Then you have to go around hitting "ok" on the prompts for all the windows you have open, and then re-open all the projects all over again.
So two things:
1. Instead of OK, an error here should have "Retry" and "Close remote"
2. We should retry the connection automatically with an exponential backoff, with an option to retry immediately and a countdown to the next retry. At least, we should do this if the error appears to be retryable. In this specific VPN case, it seems the status code is missing, so retry when there is no status code (is it a timeout?). Maybe 502-504 as well?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
L’issue non indica file, test o punti di ingresso. Inizia tracciando il flusso degli errori della connessione remota di VS Code e i relativi prompts, quindi determina come vengono identificati gli errori per cui è possibile ritentare; il lavoro è completo quando vengono offerte Retry e Close remote, con tentativi automatici con backoff esponenziale, un’opzione per ritentare immediatamente e un conto alla rovescia quando appropriato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- devtools, networking
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100