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

Replacing SdkClient injection with SdkClientFactory injection. #2611

Merged
merged 4 commits into from
Mar 17, 2022
Merged

Replacing SdkClient injection with SdkClientFactory injection. #2611

merged 4 commits into from
Mar 17, 2022

Conversation

jbreiding
Copy link
Contributor

@jbreiding jbreiding commented Mar 14, 2022

What changed?
Refactoring away from injecting sdk client, prefer SdkClientFactory
Updated fx in preparation.

Why?
Preparation for next version of sdk which enforces eager connection checking at instantiation.

How did you test it?
Unit tests and integration tests

Potential risks
Errors at start-up due to delay in starting frontend service.

Is hotfix candidate?
No

@jbreiding jbreiding linked an issue Mar 15, 2022 that may be closed by this pull request
@jbreiding jbreiding marked this pull request as ready for review March 15, 2022 22:46
@jbreiding jbreiding requested a review from a team as a code owner March 15, 2022 22:46
common/sdk/factory.go Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
host/client_integration_test.go Outdated Show resolved Hide resolved
host/client_integration_test.go Outdated Show resolved Hide resolved
service/frontend/operator_handler.go Show resolved Hide resolved
service/frontend/adminHandler.go Outdated Show resolved Hide resolved
common/sdk/factory.go Outdated Show resolved Hide resolved
@jbreiding jbreiding requested a review from yiminc March 17, 2022 16:25
@jbreiding jbreiding closed this Mar 17, 2022
@jbreiding jbreiding reopened this Mar 17, 2022
@jbreiding jbreiding merged commit 2bcfb23 into temporalio:master Mar 17, 2022
@jbreiding jbreiding deleted the sdkclientfactory-instead-of-sdkclient branch March 17, 2022 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove use of Go SDK client.ConnectionOptions.DisableHealthCheck
2 participants