[wp-trac] [WordPress Trac] #63564: Dev environment should incorporate enhancements from wp-env for speed and non-interactive usage

WordPress Trac noreply at wordpress.org
Mon Jul 7 23:40:50 UTC 2025


#63564: Dev environment should incorporate enhancements from wp-env for speed and
non-interactive usage
------------------------------------------------+--------------------------
 Reporter:  westonruter                         |       Owner:  westonruter
     Type:  defect (bug)                        |      Status:  closed
 Priority:  normal                              |   Milestone:  6.8.2
Component:  Build/Test Tools                    |     Version:
 Severity:  normal                              |  Resolution:  fixed
 Keywords:  has-patch fixed-major dev-reviewed  |     Focuses:
------------------------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"60432" 60432]:
 {{{
 #!CommitTicketReference repository="" revision="60432"
 Build/Test Tools: Improve dev environment's CLI in speed, non-interactive
 usage, and argument handling.

 * Start `cli` container when running `env:start`. This greatly speeds up
 calls to WP-CLI since the container is already running rather than having
 to start up for each call.
 * Facilitate calls to `env:cli` in non-interactive context (non-TTY) to
 allow piping content into commands or use in shell scripts.
 * Fix passing arguments to WP-CLI from `env:cli` so that arguments with
 spaces are passed as expected.
 * Fix JSHint issues.

 This aligns the wordpress-develop environment closer to wp-env. See
 https://github.com/WordPress/gutenberg/pull/50007.

 Reviewed by audrasjb.
 Merges [60308] to the 6.8 branch, minus the change to `.github/workflows
 /reusable-test-local-docker-environment-v1.yml` which was made irrelevant
 in [60092].

 Props westonruter, jorbin, SirLouen, sandeepdahiya.
 Fixes #63564.
 }}}

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


More information about the wp-trac mailing list