[wp-trac] [WordPress Trac] #53945: Local test workflow changes for installing Composer dependencies

WordPress Trac noreply at wordpress.org
Tue Sep 7 20:09:12 UTC 2021


#53945: Local test workflow changes for installing Composer dependencies
------------------------------------------------+--------------------------
 Reporter:  hellofromTonya                      |       Owner:  johnbillion
     Type:  task (blessed)                      |      Status:  reopened
 Priority:  normal                              |   Milestone:  5.9
Component:  Build/Test Tools                    |     Version:
 Severity:  normal                              |  Resolution:
 Keywords:  has-patch has-testing-instructions  |     Focuses:
------------------------------------------------+--------------------------

Comment (by hellofromTonya):

 Replying to [comment:34 azaozz]:
 >I'm also noticing a delay of about 2.5-3 min every time the tests are run
 with `npm run test:php` or `npm run test:php-composer`. It happens after
 `Use the 'composer fund' command to find out more!`

 With the latest `trunk` update (that include both changesets in this
 ticket), I ran a series of tests to clock the delay that happens after
 that `composer fund` message appears.

 - When running `composer update` directly => ~2 second delay
 - When running `npm run test:php` => ~2-3 second delay
 - When running `npm run test:php-composer` => ~2-3 second delay
 - The delay is consistent whether running with a clean environment that
 needs to download the dependencies or rerunning over and over again.

 @azaozz can you check again on your machine with the latest `trunk`?
 Please try it before and after the Composer deps are installed.

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


More information about the wp-trac mailing list