-
Notifications
You must be signed in to change notification settings - Fork 189
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
Rendering build duration #2665
Rendering build duration #2665
Conversation
This is going to need to change based on #2653, where I'm changing a bunch of the code around. You might want to rebase on that PR's branch and update your code to use what I have there already. Then when it lands, you can rebase on |
@Andrewnt219 @humphd would you guys mind to take a look at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't worry about calculating the duration, it has already been done.
EDIT: This PR will be merged after #2653, so it's a good idea to accommodate changes from there.
You should rebase this to get the changes I just landed for caching build logs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you provide screenshots or videos in the PR's description? These are helpful for reviewing and documenting PR changes.
@humphd Hitting the |
Yeah, that's not going to work in gitpod I guess? I'm not sure if the autodeployment server gets run in gitpod, it would have to be started manually, it's not in a container. |
Any guidance to run it. I went into |
So far, there's no way to locally start the autodeployment. In the previous PRs (see test description of #2582 for example), the workaround is pointing to the dev URL instead of the local. So the only way to test it is to get everything ready and trigger the build manually (by Joshua or David). In your case, I believe the logic is doable to implement without checking the result all the time. You said the build didn't work, can you elaborate more on what was not working?
|
I did talk with David and I believe that was because of gitpod set up I will try to run it locally and see |
I learn how to test it locally in #2582 and here is the result. Testing procedure provided in the PR description Telescope.Build.log.-.Google.Chrome.2022-01-24.20-35-29.mp4 |
Awesome! Just one UI fix, what I meant was having the text next to the icon (to indicate what the icon means), not in a separate column. I'd love to test this out locally as well, but the redeliver link in PR description is broken. |
@Andrewnt219 you can go to |
The settings is probably only available to OSD700 students. I can review them and someone else can test it. |
@Andrewnt219 After talking on Slack with Andrew, we decide to delete the text part and keep only the loading animation in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a small typo left and it's good to go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks for picking up this PR.
Need someone from OSD700 to follow the PR's test plan and test this locally.
- Delete duplicate result and duration column in builds.hbs - Delete datetime-calculator.js and it usage - Loading animation added - Showing build progressing animation Co-authored-by: Tengzhen <tengzhenzhao@gmail.com>
This will also close #2562 if it got approved |
Fixed #2542
Co-authored-by: Tengzhen tengzhenzhao@gmail.com
To test the feature locally, do the following:
autodeploymentUrl
insrc\api\status\public\js\build-log\check-build-status.js
connectSrc
insrc\api\status\src\server.js
To trigger a build manually trigger redeliver one of the build which merged to
refs/heads/master
Issue This PR Addresses
Type of Change
Description
Prefer to #2542
Checklist