Skip to content
Proyek

Automattic/vip-go-mu-plugins

Lihat di GitHub

Tentang

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

Alat pengembangan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
Mengumpulkan riwayat
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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:

Jelajahi proyek terkait

Memuat…