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

Add option to override UI port #1793

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Add option to override UI port

closes: #1788

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner January 28, 2025 19:38
@@ -158,6 +161,9 @@ func prepareCommand(options *DevServerOptions, host, port, namespace string) []s
if options.DBFilename != "" {
args = append(args, "--db-filename", options.DBFilename)
}
if options.UIPort != "" {
args = append(args, "--ui-port", options.UIPort)
Copy link
Member

Choose a reason for hiding this comment

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

Does this also enable if not enabled? Docstring should mention that too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No it does not enable the UI

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am matching the behaviour of the dev server here

Copy link
Member

@Sushisource Sushisource Feb 3, 2025

Choose a reason for hiding this comment

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

Well, maybe we should change dev server then because that's non obvious. I'd at least expect it to fail. Silently doing nothing no good

At bare minimum, the option should say it does nothing in that case if we don't change the behavior.

Copy link
Member

Choose a reason for hiding this comment

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

I think in a lot of cases they are independently set via env vars and you may disable UI without changing port especially in hierarchical config cases like k8s/helm.

@Quinn-With-Two-Ns Quinn-With-Two-Ns force-pushed the issue-1788 branch 2 times, most recently from 48f2b59 to 2fa452d Compare February 7, 2025 16:23
@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit b9ad14a into temporalio:master Feb 8, 2025
13 checks passed
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.

Allow customization of dev server UI port
3 participants