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

[results.webkit.org] Display elapsed hours for long runs #14361

Conversation

@JonWBedard JonWBedard self-assigned this May 25, 2023
@JonWBedard JonWBedard added the Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases label May 25, 2023
@JonWBedard JonWBedard added the skip-ews Applied to prevent a change from being run on EWS label May 25, 2023
if (time.getMinutes())
result += `${time.getMinutes()} minute${time.getMinutes() == 1 ? '' : 's'} and `;
result += `${time.getSeconds()} second${time.getSeconds() == 1 ? '' : 's'} to run`;
const elapsed = Math.round(endTimestamp - startTimestamp);
Copy link
Member

Choose a reason for hiding this comment

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

can make it a separate method as well, e.g.: convertSecondsToReadableDuration

@JonWBedard JonWBedard added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label May 26, 2023
https://bugs.webkit.org/show_bug.cgi?id=257344
rdar://109849743

Reviewed by Aakash Jain.

* Tools/Scripts/libraries/resultsdbpy/resultsdbpy/view/static/js/common.js: Convert
elapsed seconds to a human-readable time without using the Date class.

Canonical link: https://commits.webkit.org/264589@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/results-webkit-org-Display-elapsed-hours-for-long-runs branch from b367e72 to 413f417 Compare May 26, 2023 17:04
@webkit-commit-queue
Copy link
Collaborator

Committed 264589@main (413f417): https://commits.webkit.org/264589@main

Reviewed commits have been landed. Closing PR #14361 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 413f417 into WebKit:main May 26, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label May 26, 2023
@JonWBedard JonWBedard deleted the eng/results-webkit-org-Display-elapsed-hours-for-long-runs branch June 22, 2023 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-ews Applied to prevent a change from being run on EWS Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases
Projects
None yet
4 participants