[wp-trac] [WordPress Trac] #57189: The PHP tests initialize very slowly in wp-env

WordPress Trac noreply at wordpress.org
Wed Jul 3 18:38:55 UTC 2024


#57189: The PHP tests initialize very slowly in wp-env
------------------------------+---------------------
 Reporter:  azaozz            |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.7
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+---------------------
Changes (by desrosj):

 * keywords:  has-patch commit => has-patch


Comment:

 There is one unintended consequence of moving `composer update` to
 `env:start`: the command runs even when you don't require the Composer
 packages.

 One scenario this comes up is in the E2E test workflow. But even then it
 only seems to add 5-10 seconds to the corresponding step (assuming network
 speeds are identical pulling containers, which is unlikely). It seems like
 this could be an OK trade off, though.

 I don't really have any strong feelings here other than "we should try to
 take care of this so the contributor does not have to worry about it", so
 waiting to commit so others can chime in.

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


More information about the wp-trac mailing list