Repository navigation
Add a step to create several sites at once - #407
Closed
schlessera wants to merge 2 commits into
Closed
schlessera wants to merge 2 commits into
schlessera wants to merge 2 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This was referenced Oct 30, 2026
schlessera
force-pushed
the
create-sites-step
branch
from
October 30, 2026 23:36
eed4164 to
422691a
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
schlessera
force-pushed
the
setup-commands-step
branch
from
October 31, 2026 03:11
5483d90 to
d55183f
Compare
schlessera
force-pushed
the
create-sites-step
branch
from
October 31, 2026 03:12
e100a23 to
69552ac
Compare
Member
Author
|
Closing, see the findings in #379. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multisite scenarios often create their sites one at a time with
wp site createbefore the actual test, each in its own process.Given these sites:creates a list of sites in a single process and can save their IDs into variables.Builds on #400. Fixes #379.
Measurements
Each draft pull request below points
wp-cli/wp-cli-testsat this branch. Its Testing workflow ran throughworkflow_dispatch, together with the same workflow on an unchanged copy of the default branch, three times each where possible. Times are theRun Behatstep summed over the matrix jobs that ran in every measured run (median over runs, in job minutes). Retried jobs passed only becausebehat-rerunrepeated their failed scenarios.Failing scenarios
Scenarios that failed at least once in a measured run, including runs where
behat-rerunthen passed them.features/core-update-db.feature (Update db across network)(3/3 runs),features/core-update-db.feature (Update db across network, dry run)(3/3 runs),features/core-update-db.feature (Update db only updates sites from the current network in multinetwork setup)(3/3 runs)features/post.feature (Filtering by meta, time of day and order)(2/3 runs)features/cron.feature (Testing WP-Cron)(3/3 runs)Notes
core update-dbnetwork scenarios, which first downgrade WordPress withwp core download --version=5.4. Creating the sites in a single process then fails withTable 'wp_cli_test.wp_2_posts' doesn't exist, while separatewp site createprocesses succeed.