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

WordPress Trac noreply at wordpress.org
Wed Jul 3 18:10:54 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 commit  |     Focuses:
------------------------------+---------------------
Changes (by desrosj):

 * keywords:  has-patch => has-patch commit
 * milestone:  6.6 => 6.7


Comment:

 Because we've passed the branching point for 6.6, there's no real need to
 commit and backport this. I'm going to commit [attachment:"57189.diff"] to
 try during the 6.7 cycle.

 It still runs the `composer update` command, just much less often. Running
 once per session while using the container is much better than every time
 the test script is run. It also still accomplishes the goal of eliminating
 the need for another explicit step in the already complicated process of
 getting the local Docker environment up and running, potentially making it
 easier to get up and running working on tests.

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


More information about the wp-trac mailing list