Retry connection instead of immediately erroring
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- devtools, networking
调研方向
该 issue 未指定文件、测试或入口点。首先跟踪 VS Code 远程连接错误流程及其 prompts,然后确定如何识别可重试的失败;完成标准是提供 Retry 和 Close remote,并支持自动指数退避重试、立即重试选项,以及在适当情况下显示倒计时。
由索引模型根据 Issue 内容生成。
描述
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?
- 主要语言
- TypeScript
- 星标
- 131
- 派生
- 48
- 平均合并
- 4 天 15 小时
- 30 天内合并 PR
- 17
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/vscode-coder 的其他 Issue
-
Surface non-blocking agent startup script failures to the user可能已有人在做 @EhabY 于 3 天前认领。 未关闭
coder/vscode-coder#1125 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Migrate CI setup to pnpm/setup可能已有人在做 @EhabY 于 8 天前认领。 未关闭tech-debt
coder/vscode-coder#1119 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
enhancement tech-debt
难度 3/5 1-2 天 新手友好度 74/100
coder/vscode-coder#1118 · 1 条评论 ·
维护者通常 1 天内回复
-
Design the VS Code Workspaces panel可能已有人在做 @chrifro 于 11 天前认领。 未关闭
coder/vscode-coder#1113 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
enhancement tech-debt
难度 5/5 一周以上 新手友好度 45/100
coder/vscode-coder#1112 · 1 条评论 ·
维护者通常 1 天内回复
查看 coder/vscode-coder 的全部 Issue
相似的 Issue
-
module-request
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
appandflow/stim#1604 · 1 条评论 ·
维护者通常 1 天内回复
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 92/100
lingdojo/kana-dojo#31060 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
paperclipai/paperclip#14173 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复