Skip to content

Separate out connection failures#62136

Merged
jaredpar merged 2 commits intodotnet:mainfrom
jaredpar:server
Jun 27, 2022
Merged

Separate out connection failures#62136
jaredpar merged 2 commits intodotnet:mainfrom
jaredpar:server

Conversation

@jaredpar
Copy link
Copy Markdown
Member

This changes the compiler to have a specific failure when it cannot
connect to the server. This lets us treat it separately from cases where
the server connected succeeded but the server rejected the request.

The reason for this change is cannot connect failures are not
necessarily an indicator of a code issue. A fully functional build can
hit connection issues for a variety of reasons. For example if the
server is too busy and can't respond to a connection event in time.

Having a separate response means we can handle the failures differently
in bootstrap builds. The bootstrap build will not fail now until it sees
more than three of these. That should reduce the false positive rate we
see in our infra.

This changes the compiler to have a specific failure when it cannot
connect to the server. This lets us treat it separately from cases where
the server connected succeeded but the server rejected the request.

The reason for this change is cannot connect failures are not
necessarily an indicator of a code issue. A fully functional build can
hit connection issues for a variety of reasons. For example if the
server is too busy and can't respond to a connection event in time.

Having a separate response means we can handle the failures differently
in bootstrap builds. The bootstrap build will not fail now until it sees
more than three of these. That should reduce the false positive rate we
see in our infra.
@jaredpar
Copy link
Copy Markdown
Member Author

@dotnet/roslyn-compiler PTAL. This is a small change that should reduce the number of times our bootstrap build fails due to connection issues in the server.

@jaredpar jaredpar enabled auto-merge (squash) June 27, 2022 14:11
@jaredpar jaredpar disabled auto-merge June 27, 2022 16:19
@jaredpar jaredpar merged commit 398aa6d into dotnet:main Jun 27, 2022
@jaredpar jaredpar deleted the server branch June 27, 2022 16:19
@ghost ghost added this to the Next milestone Jun 27, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.3 P3 Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants