[wp-trac] [WordPress Trac] #64534: Performance results logging script doesn't handle HTTP redirects or non-2xx responses

WordPress Trac noreply at wordpress.org
Wed Jan 21 17:24:00 UTC 2026


#64534: Performance results logging script doesn't handle HTTP redirects or non-2xx
responses
---------------------------------------------+--------------------------
 Reporter:  youknowriad                      |       Owner:  youknowriad
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  7.0
Component:  Build/Test Tools                 |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  performance
---------------------------------------------+--------------------------
Changes (by youknowriad):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61507" 61507]:
 {{{
 #!CommitTicketReference repository="" revision="61507"
 Build: Fix redirect and error handling in performance results logging.

  - Replace `https.request()` with native `fetch()` in `log-results.js`.
  - Drop www. from host name used to avoid redirects.

 Props mcsf.
 Fixes #64534.
 }}}

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


More information about the wp-trac mailing list