[wp-trac] [WordPress Trac] #51857: Add rollback for failed plugin/theme updates
WordPress Trac
noreply at wordpress.org
Tue Jul 19 05:37:15 UTC 2022
#51857: Add rollback for failed plugin/theme updates
-------------------------------------------------+-------------------------
Reporter: pbiron | Owner: pbiron
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.1
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: early has-testing-info needs-unit- | Focuses:
tests has-patch needs-dev-note needs-testing |
-------------------------------------------------+-------------------------
Comment (by chaion07):
Thanks @pbiron for reporting this. We reviewed this ticket during a
[https://wordpress.slack.com/archives/C02RQBWTW/p1658206033254179 recent
bug-scrub session]. Here's a summary of the feedback received from the
team:
01. It would be helpful to respond to the
[https://make.wordpress.org/core/2022/06/26/rollback-feature-testing-call-
to-action/ Call for testing], especially if you represent a hosting
company
02. Both [https://core.trac.wordpress.org/ticket/51857#comment:259 Testing
information] and Patches are provided. However, unit tests may possibly be
difficult to achieve as there currently aren't any for any of the Upgrader
classes
03. A [https://core.trac.wordpress.org/ticket/54245 separate ticket
reported] for WP_Upgrader unit tests as mentioned in one of the previous
comments. However we are doubtful anything specific to this PR will happen
before time to consider it being committed. We would also hope, as there
are no unit tests for this class that it may now matter.
Cheers!
Props to: @afragen @pbiron @costdev @SergeyBiryukov @hellofromTonya
@davidbaumwald @jrf @audrasjb @thisisyeasin
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51857#comment:266>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list