Retry connection instead of immediately erroring
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- devtools, networking
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.
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:
- Instead of OK, an error here should have "Retry" and "Close remote"
- 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?
- Lingua principale
- TypeScript
- Stelle
- 131
- Fork
- 48
- Merge medio
- 4g 16h
- PR unite (30g)
- 13
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di coder/vscode-coder
-
tech-debt
coder/vscode-coder#1120 · 1 commento · 1 assegnatario ·
-
tech-debt
coder/vscode-coder#1119 · 1 commento · 1 assegnatario ·
-
enhancement tech-debt
Difficoltà 3/5 1-2 giorni Idoneità per principianti 74/100
coder/vscode-coder#1118 · 1 commento ·
-
coder/vscode-coder#1113 · 3 commenti · 1 assegnatario ·
-
Flush the connection log buffer after N failed reconnect attempts against an unreachable server Apertaenhancement tech-debt
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
coder/vscode-coder#1112 · 1 commento ·
Tutte le issue di coder/vscode-coder
Issue simili
-
Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenNSW/nsw-srilanka#497 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
digidem/comapeo-cloud-app#403 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100