[wp-trac] [WordPress Trac] #51857: Add rollback for failed plugin/theme updates
WordPress Trac
noreply at wordpress.org
Mon Jan 23 03:02:47 UTC 2023
#51857: Add rollback for failed plugin/theme updates
-------------------------------------------------+-------------------------
Reporter: pbiron | Owner: pbiron
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future
| Release
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: has-testing-info has-patch needs- | Focuses:
dev-note needs-testing |
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
**Testing Notes**
**Environment**
* Rollback plugin 4.1.1
* WordPress 6.2-alpha-55114
[https://github.com/WordPress/WordPress/commit/e4f070a161a8a174ac4214b01553ab3d6392c7e6
wordpress/wordpress clone @ e4f070a16]
* Vagrant 2.3.0
* Chassis/Chassis @
[https://github.com/Chassis/Chassis/commit/0240128751c1f5b1e487cc7fea857459bd03fedd
02401287]
* VirtualBox 6.1.36 r\152435 (Qt5.6.3) -- note `\` is to stop trac linking
to a changeset
* Filesystem: Direct
**Plugin slugs (version being prior to update)**
* akismet 4.1.10
* gutenberg 14.8.3
* jetpack 11.3.2
* mailpoet 4.0.1
* woocommerce 7.0.0
* wordpress-seo 19.7
* wpforms-lite 1.7.0
**Succeeded with each of the following methods**
* Update action within each item on the plugin screen's list table
* Select each plugin and use bulk update action in the plugin screen's
header
* Select add and bulk update on Dashboard > Updates screen
**Time**
I only ran timing tests using the bulk update action on the Dashboards >
Updates screen, it seems to be a great improvement:
* With rollbacks and faster updates: 3m 34s
* WordPress current system: 5m 50s
In both cases this is a long time without visual feedback but that may be
a problem for another day.
----
I'd like to see some testing with VirtualBox 7 but don't really want to
update myself just yet.
It would also be good to test without plugin dependencies installed (it's
currently a dependency of the rollback plugin to force the faster-updates
dependency).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51857#comment:295>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list