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 CLI show workflow progress #657

Merged
merged 3 commits into from
Apr 13, 2018
Merged

Add CLI show workflow progress #657

merged 3 commits into from
Apr 13, 2018

Conversation

vancexu
Copy link
Contributor

@vancexu vancexu commented Apr 5, 2018

No description provided.

@vancexu vancexu requested a review from yiminc-zz April 5, 2018 00:06
@coveralls
Copy link

coveralls commented Apr 5, 2018

Coverage Status

Coverage increased (+0.04%) to 64.868% when pulling 2244bb1 on cli into 1bbf59c on master.

printWorkflowProgress(c, wid, resp.GetRunId())
}

// helper function to print workflow progress with time refresh every second
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm confused about the refresh every second. Why do we need to set timeout to one second for long poll? Wouldn't it return immediately if there is a new information even with a large timeout?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is just for UI purpose. We want to give user a feeling something is still running even when there is no new history comming. So currently UI dynamically show elapsed time in seconds and the number change every second.

@vancexu vancexu merged commit eed3c4d into master Apr 13, 2018
@vancexu vancexu deleted the cli branch April 13, 2018 19:58
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.

3 participants