Skip to content
プロジェクト

Automattic/vip-go-mu-plugins

GitHubで見る

概要

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

開発ツール

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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:

関連プロジェクトを探す

読み込み中…