[wp-trac] [WordPress Trac] #51928: Provide plugin/theme update failure data to dot org
WordPress Trac
noreply at wordpress.org
Thu Jan 21 02:29:42 UTC 2021
#51928: Provide plugin/theme update failure data to dot org
--------------------------------------+---------------------
Reporter: afragen | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.6.1
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by dd32):
Sorry for the delays in getting back to y'all on this.
Reviewing PR 850 above, I have two main questions, neither of which is a
blocker:
https://github.com/WordPress/wordpress-develop/pull/850/files#diff-
d85d82fa0b14395e2edaaa49f3671189988bc3d7af07e3fccb6b93a00fc99480R982-R999
1. Is it possible to send the Slug of the plugin/theme being updated,
rather than it's Name?
1. Like above, is it possible to pass through the Slug/Version of
automatic updates too?
I suspect I know the answer here, being that it's hard to retrieve those
details, but I'm thinking maybe the Automatic updater skin could act as a
temporary store of what is currently being processed. This could be done
in a follow up change I guess.
https://github.com/WordPress/wordpress-develop/pull/850/files#diff-
d85d82fa0b14395e2edaaa49f3671189988bc3d7af07e3fccb6b93a00fc99480R965-R979
1. Due to error_message being translated it's not really storable for
aggregate stats, Is process & error_code enough of a unique error with
error_data as context?
It can either be kept in the stats blob for easier debugging or removed,
either is fine, it just won't get stored api-server-side.
I'm going to attempt to get some storage running for this today/tomorrow,
but don't let that block this ticket proceeding. Nothing should break by
sending this through (at worst, it'll be disregarded as junk input, at
best, it'll be recorded as successful rather than a failure).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51928#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list