Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow resolvers to signal a fatal failure during the initial connection #162590

Closed
alexdima opened this issue Oct 3, 2022 · 0 comments · Fixed by #164279
Closed

Allow resolvers to signal a fatal failure during the initial connection #162590

alexdima opened this issue Oct 3, 2022 · 0 comments · Fixed by #164279
Assignees
Labels
insiders-released Patch has been released in VS Code Insiders plan-item VS Code - planned item for upcoming remote-connection Issues about the remote connection
Milestone

Comments

@alexdima
Copy link
Member

alexdima commented Oct 3, 2022

After #127565 , VS Code will always retry the initial connection for a few times.

It would be good if a resolver could signal via RemoteAuthorityResolverError.NotAvailable that the resolver ran into a fatal error and no further retry attempts should be made.

cc @roblourens @eleanorjboyd

@alexdima alexdima self-assigned this Oct 3, 2022
@alexdima alexdima added the remote-connection Issues about the remote connection label Oct 3, 2022
@alexdima alexdima added this to the October 2022 milestone Oct 3, 2022
@alexdima alexdima added the plan-item VS Code - planned item for upcoming label Oct 7, 2022
alexdima added a commit that referenced this issue Oct 21, 2022
…the resolver throws a `RemoteAuthorityResolverError.NotAvailable` error
alexdima added a commit that referenced this issue Oct 21, 2022
…rows a `RemoteAuthorityResolverError.NotAvailable` error (#164279)

Fixes #162590: Do not retry during the initial connection attempt if the resolver throws a `RemoteAuthorityResolverError.NotAvailable` error
@vscodenpa vscodenpa added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Oct 21, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
insiders-released Patch has been released in VS Code Insiders plan-item VS Code - planned item for upcoming remote-connection Issues about the remote connection
Projects
None yet
2 participants