Skip to content

About

The development repo for mu-plugins used on the WordPress VIP Platform.

Topics

Resources

Security policy

Stars

258 stars

Watchers

104 watching

Forks

Latest commit

 

History

13,809 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIP Go mu-plugins

Development repository for WordPress VIP Go MU plugins.

Repo map

  • 000-vip-init.php, 001-core.php, z-client-mu-plugins.php: main MU bootstrap/load path.
  • 001-core/, lib/, cache/, security/, vip-helpers/, wp-cli/: platform feature modules.
  • config/: site details metadata sent to SDS.
  • tests/: PHPUnit test suite for root MU code.
  • __tests__/e2e/: Playwright e2e suite.
  • ci/, .github/workflows/: automation, CI, release/deploy workflows.
  • advanced-post-cache/, http-concat/, jetpack/, lightweight-term-count-update/, rewrite-rules-inspector/, search/elasticpress/, wp-parsely/, gutenberg-ramp/, drop-ins/hyperdb/: external submodules/upstream code.

Quickstart

git submodule update --init --recursive
composer install
npm install

Run a fast smoke check:

npm run phplint
npm run test:smoke

Run the main local quality/test commands:

npm run lint
npm run test

Search's shared-counter integration test starts two PHP workers against an isolated Memcached service: CI=1 ./bin/test.sh --memcached --filter Test_Concurrency_Shared_Cache. See testing for runtime requirements and test scope.

Local development

VIP local dev environment (recommended):

vip dev-env create --mu-plugins "$(pwd)"
vip dev-env start

e2e workflows

Run from repo root:

npm --prefix __tests__/e2e ci
npm run setup-e2e-env
npm run test-e2e
npm run destroy-e2e-env

Canonical docs

Local SQL import cleanup removes imported service connection credentials even when Jetpack is unavailable. See local import testing.

For the isolated configuration sync runtime regression, see configuration sync testing.

About

The development repo for mu-plugins used on the WordPress VIP Platform.

Topics

Resources

Security policy

Stars

258 stars

Watchers

104 watching

Forks

Releases

Packages

Used by

Contributors

Languages