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

Improve dora start output #562

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

phil-opp
Copy link
Collaborator

Print a proper sentence and include the dataflow name in addition to its UUID.

Print a proper sentence and include the dataflow name in addition to its UUID.
@phil-opp phil-opp requested a review from haixuanTao June 24, 2024 09:30
@@ -368,11 +368,13 @@ fn run() -> eyre::Result<()> {
&mut *session,
)?;

println!("Started dataflow {dataflow_id}");
Copy link
Collaborator

Choose a reason for hiding this comment

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

The idea behind having only the dataflow id was to make it programmable to store the ID as a variable or within a file.

docker run or start gives you the name or ID as a return as well so that is why I pushed for this version.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah, I remember. Maybe we add some flag to get just the UUID as output? Then users that want to use dora start --detach in scripts still have a way to do that.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Honestly it seems that the CI/CD is breaking. I'm not sure if that is a problem we want to work on now, as I rarely get feedback on how this is confusing.

I also do a lot of copy pasting of IDs and it would be harder with this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, we can leave it as is if you prefer. I just thought that also printing the dataflow name would be useful so that you don't need to use the long UUID.

(The CI failures are easy to fix, I just forgot to update the code for the multiple-daemons example.)

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.

2 participants