Skip to content
Projets

Automattic/vip-go-mu-plugins

Voir sur GitHub

À propos

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

Développement web et applicatif

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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. Check setup version selection with __tests__/e2e/bin/test-setup-env-version.sh.
  • 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

Check exact PHP runner argument forwarding with php bin/test-runner-argv.php.

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.

Check shell runner resource ownership with php bin/test-runner-resource-ownership.php.

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.

Jetpack SSO status is stored in WordPress session metadata. Existing sessions need a fresh SSO login to receive the flags; see SSO session metadata.

Maintainers

Maintained by the WordPress VIP Platform Cantina team (@Automattic/vip-platform-cantina), which owns this repository's code review:

Explorer des projets similaires

Chargement…