-
- Downloads
feat: make retryable http default client
What --- Make the retryableHTTP client introduced in https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/703 the default HTTP client. Why --- In https://gitlab.com/gitlab-com/gl-infra/production/-/issues/7979#note_1254964426 we've seen a 99% error reduction on `git` commands from `gitlab-shell` when the retryableHTTP client is used. This has been running in production for over 2 weeks in `us-east1-b` and 5 days fleet-wide so we should be confident that this client works as expected. Reference: https://gitlab.com/gitlab-com/gl-infra/production/-/issues/7979 Signed-off-by:Steve Azzopardi <sazzopardi@gitlab.com>
Showing
- .gitlab-ci.yml 0 additions, 7 deletions.gitlab-ci.yml
- client/client_test.go 17 additions, 43 deletionsclient/client_test.go
- client/gitlabnet.go 4 additions, 43 deletionsclient/gitlabnet.go
- client/httpclient.go 8 additions, 22 deletionsclient/httpclient.go
- client/httpclient_test.go 1 addition, 7 deletionsclient/httpclient_test.go
- client/testserver/testserver.go 0 additions, 1 deletionclient/testserver/testserver.go
- internal/command/discover/discover_test.go 24 additions, 26 deletionsinternal/command/discover/discover_test.go
- internal/command/healthcheck/healthcheck_test.go 1 addition, 1 deletioninternal/command/healthcheck/healthcheck_test.go
- internal/command/personalaccesstoken/personalaccesstoken_test.go 2 additions, 4 deletions...l/command/personalaccesstoken/personalaccesstoken_test.go
- internal/command/twofactorrecover/twofactorrecover_test.go 2 additions, 4 deletionsinternal/command/twofactorrecover/twofactorrecover_test.go
- internal/command/twofactorverify/twofactorverify_test.go 1 addition, 1 deletioninternal/command/twofactorverify/twofactorverify_test.go
- internal/config/config.go 2 additions, 8 deletionsinternal/config/config.go
- internal/config/config_test.go 26 additions, 36 deletionsinternal/config/config_test.go
- internal/gitlabnet/lfsauthenticate/client_test.go 1 addition, 1 deletioninternal/gitlabnet/lfsauthenticate/client_test.go
- spec/gitlab_shell_discover_spec.rb 1 addition, 6 deletionsspec/gitlab_shell_discover_spec.rb
Please register or sign in to comment