-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
[JENKINS-68103] Fix build progress bar not taking the user to console output #6479
Conversation
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.
Clicking does work fine now, but hovering over it makes it invisible, if it's the first build, unless that is a different regression I'm currently not aware of:
87c442a649f30fa1993f38a254fe57c2.mp4
Edit: The bar going invisible is introduced in this change, on the current weekly it just blinks:
b0fb3ba462b2bbdcf448f105489da2f6.mp4
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.
Many thanks for taking care of this regression. I know that users will appreciate being able to get to the console log in one click. That will save users a lot of time and frustration, especially if they already had to navigate through several clicks from e.g. the GitHub UI.
The main question we have with regard to PRs like this is what testing was done. The PR description is lacking in this regard. As a courtesy, I have taken the liberty to update the PR description with the following text:
I changed the number of executors on the built-in node from 2 to 3, then I created a Freestyle job with a shell command of
sleep 86400
and checked the "Execute concurrent builds if necessary" option. On Jenkins 2.339, I could see the animated progress bar for all three, and clicking on the progress bar took me to the console as expected. On Jenkins 2.440, I could see the animated progress bar for all three, but hovering over each one made an arrow drop down and made it impossible to click on the progress bar, and clicking on each one took me to the build page rather than the console output. With this PR, the behavior is back to the way it was in 2.339.
Please study the Testing Done given above and use this as a model for future PR submissions.
This PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback. Please see the merge process documentation for more information about the merge process. Thanks!
I've updated my comment accordingly, I'm not against merging this but it basically introduces a new issue, fwiw. |
BTW Alex the animated progress bar becoming invisible when you hover over it is behavior that goes back to at least 2.277 in my testing, so I don't think it is a regression; rather I think it is the expected behavior at this point. |
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.
Approving in this case then.
See JENKINS-68103
Essentially the hitbox for the link above the progress bar was too tall, meaning that it was very hard to click the progress bar.
Testing done
I changed the number of executors on the built-in node from 2 to 3, then I created a Freestyle job with a shell command of
sleep 86400
and checked the "Execute concurrent builds if necessary" option. On Jenkins 2.339, I could see the animated progress bar for all three, and clicking on the progress bar took me to the console as expected. On Jenkins 2.440, I could see the animated progress bar for all three, but hovering over each one made an arrow drop down and made it impossible to click on the progress bar, and clicking on each one took me to the build page rather than the console output. With this PR, the behavior is back to the way it was in 2.339.Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgrade@Restricted
or have@since TODO
Javadoc, as appropriate.Desired reviewers
@basil
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are accurate, human-readable, and in the imperative moodupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).