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

Config worker use public frontend endpoint #3162

Merged
merged 4 commits into from
Jul 29, 2022

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Jul 28, 2022

What changed?
Config worker use public frontend endpoint

Why?
Config worker use public frontend endpoint should use the endpoint from public client config.

How did you test it?

Potential risks

Is hotfix candidate?

@dnr
Copy link
Member

dnr commented Jul 28, 2022

Why not use the internal endpoint?

@yux0 yux0 marked this pull request as ready for review July 28, 2022 21:47
@yux0 yux0 requested a review from a team as a code owner July 28, 2022 21:47
@yux0
Copy link
Contributor Author

yux0 commented Jul 28, 2022

Why not use the internal endpoint?

It should. See: #3160

@yux0 yux0 merged commit 4392952 into temporalio:master Jul 29, 2022
@yux0 yux0 deleted the worker-frontend branch July 29, 2022 00:19
yux0 added a commit that referenced this pull request Jul 29, 2022
* Config worker use public frontend endpoint

* Update integration test
@dnr
Copy link
Member

dnr commented Jul 29, 2022

It should. See: #3160

I saw that, I'm just confused how these relate to each other

@@ -89,6 +101,13 @@ func ConfigProvider(
)
}

func FrontendClientProvider(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we rename to LocalFrontendClientProvider and also add some comment that why PublicClient is actually Local endpoint?

yux0 added a commit to yux0/temporal that referenced this pull request Aug 3, 2022
* Config worker use public frontend endpoint

* Update integration test
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.

5 participants