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

Round the finished in second count #1350

Merged
merged 1 commit into from
May 24, 2024
Merged

Round the finished in second count #1350

merged 1 commit into from
May 24, 2024

Conversation

DazWorrall
Copy link
Member

This amount of precision seems a bit excessive, right? Is there a reason we haven't done this before?

Screenshot 2024-05-20 at 13 49 36

@DazWorrall DazWorrall marked this pull request as ready for review May 20, 2024 12:56
Copy link

@jgaskins jgaskins left a comment

Choose a reason for hiding this comment

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

Is there a reason we haven't done this before?

It may just be that nobody has shown any interest in the precision or formatting of this output. I couldn't find anything in the issues about it. Looks like printing how long the task ran for was added almost 4 years ago in #1107. The only change since then has been to use the monotonic clock.

With that in mind, my change request is not blocking other potential approvals.

app/models/shipit/task_execution_strategy/default.rb Outdated Show resolved Hide resolved
Copy link
Contributor

@casperisfine casperisfine left a comment

Choose a reason for hiding this comment

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

Make sense to me.

@DazWorrall DazWorrall merged commit aa1e524 into main May 24, 2024
17 checks passed
@DazWorrall DazWorrall deleted the round-finished-at branch May 24, 2024 09:42
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