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

Print local URL instead of network #1740

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

sfc-gh-jreini
Copy link
Contributor

@sfc-gh-jreini sfc-gh-jreini commented Jan 22, 2025

Description

Print local URL instead of network for dashboard

Other details good to know for developers

anyone running in a vm we just rely on them knowing the IP of their server

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)
  • New Tests
  • This change includes re-generated golden test results
  • This change requires a documentation update

Important

Fixes URL display in listen_to_dashboard to print "Local URL" instead of "Network URL" in run.py.

  • Behavior:
    • Fixes URL display in listen_to_dashboard function in run.py to print "Local URL" instead of "Network URL" for local dashboard access.

This description was created by Ellipsis for 8bff546. It will automatically update as commits are pushed.

@sfc-gh-jreini sfc-gh-jreini marked this pull request as ready for review January 22, 2025 20:09
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jan 22, 2025
@sfc-gh-jreini sfc-gh-jreini mentioned this pull request Jan 22, 2025
@@ -219,7 +219,7 @@ def listen_to_dashboard(proc: subprocess.Popen, pipe, out, started):
line # store the url when dashboard is started
)
else:
if "Network URL: " in line:
if "Local URL: " in line:
Copy link
Contributor

Choose a reason for hiding this comment

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

just curious why we are spelling out "Local" here? can "URL" suffice?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are three URLs, Local, External and Network. Want to print specifically the local one

Copy link
Contributor

@sfc-gh-dhuang sfc-gh-dhuang left a comment

Choose a reason for hiding this comment

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

left one question but not blocking the merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants