[wp-trac] [WordPress Trac] #50448: Add tolerance to plugin and theme auto-update failure emails

WordPress Trac noreply at wordpress.org
Tue Jul 7 17:05:11 UTC 2020


#50448: Add tolerance to plugin and theme auto-update failure emails
-------------------------------------+---------------------
 Reporter:  desrosj                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.5
Component:  Administration           |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------

Comment (by desrosj):

 I rethought this today and have made the following decisions that
 @johnbillion agreed with in our Slack conversation.
 [attachment:"50448.3.diff"] reflects the changes below.

 - Instead of tracking the time of a failure, let's mirror the approach
 core takes to tracking when emails go out. Now, only one failure email
 will go out per plugin per version. If a failure occurs trying to update
 to 2.0, a new failure email will not be generated for this plugin until
 the version is different (2.1, for example).
 - If other update events occur, then all information will be included,
 even if the failure had already been communicated in an email.

 I think this is the best approach for 5.5, and we can iterate as we find
 edge cases. Failures ''should'' be relatively rare. The only scenario I
 see this being a problem is when a plugin or theme pushes out frequent
 updates (daily or multiple times weekly). But I'm not sure that is a
 common practice.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50448#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list