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-68926] update handlebars #6965
Conversation
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
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.
We already did the due diligence to ensure that no plugins are using this code in #6753 (comment) 👍
According to JENKINS-68926 apparently at one point there were errors like
Handlebars: Access has been denied to resolve the property "
installWizard_welcomePanel_title
" because it is not an "own property" of its parent.
However, I confirmed those errors no longer occur on trunk as of this PR. Note that we recently ripped out a number of legacy tests in #6908, so it is very possible that the "Access has been denied" errors were only being printed from an (unrealistic!) test scenario that no longer exists.
I tested this interactively in the UI and verified that the setup wizard and "Available Plugins" page worked as expected and no errors were printed to the browser console logs or backend log.
From my perspective this is ready to land.
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.
Optional suggestion for your consideration: Local testing shows that the dependency tree in yarn.lock
can be simplified after these changes by running yarn dedupe
. If you can do that as part of this PR that would be appreciated. If that is asking too much, I will do it in a follow-up PR.
I also took the liberty of pushing commit b184a98 to allow Renovate to update this package automatically in the future. |
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.
Tested setup wizard and plugin manager available tab, both worked fine (well, nothing broke that I would consider caused by this change).
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! |
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.
Nice one!
I'm taking a wild guess and assume the prior error was down to an other ancient dependency, but nice to see it gone.
I went ahead and pinned handlebars on here, otherwise Renovate picks it up afterwards.
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
Signed-off-by: Thorsten Scherler scherler@gmail.com
See JENKINS-68926.
See the handlebars changelog for details of changes since handlebars 4.0.
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.@Deprecated(since = "TODO")
or@Deprecated(forRemoval = true, since = "TODO")
if applicable.eval
to ease future introduction of Content-Security-Policy directives (see documentation on jenkins.io).Desired reviewers
@mention
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).