Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
500526a
docs(plan): record approved maintenance plan
ashfame Jul 27, 2026
4ea9390
docs(plan): capture maintenance execution baseline
ashfame Jul 27, 2026
d446193
docs(plan): link execution baseline child PR
ashfame Jul 27, 2026
577ef6b
Merge pull request #200 from WordPress/agent/maintenance-001-executio…
ashfame Jul 27, 2026
c2f1c80
fix(deps): secure Playground client paths
ashfame Jul 27, 2026
ead129b
docs(plan): link Playground remediation PR
ashfame Jul 27, 2026
9ec6eb7
Merge pull request #201 from WordPress/agent/maintenance-002-playgrou…
ashfame Jul 27, 2026
32e6cbd
fix(deps): remove WordPress scripts critical paths
ashfame Jul 27, 2026
b052124
docs(plan): link WordPress scripts remediation PR
ashfame Jul 27, 2026
8ae9ba6
Merge pull request #202 from WordPress/agent/maintenance-003-wordpres…
ashfame Jul 27, 2026
deb28fa
Update web-ext security boundary
ashfame Jul 27, 2026
c8a04f4
Record web-ext child pull request
ashfame Jul 27, 2026
a0b204c
Merge pull request #203 from WordPress/agent/maintenance-004-web-ext
ashfame Jul 27, 2026
d53b6c8
Upgrade WordPress Blocks security boundary
ashfame Jul 27, 2026
fad0e33
Record WordPress Blocks child pull request
ashfame Jul 27, 2026
dbb4421
Merge pull request #204 from WordPress/agent/maintenance-005-wordpres…
ashfame Jul 27, 2026
7fe1cb4
Document React Router remediation blocker
ashfame Jul 27, 2026
729ff2a
Record React Router child pull request
ashfame Jul 27, 2026
0681a97
Merge pull request #205 from WordPress/agent/maintenance-006-react-ro…
ashfame Jul 28, 2026
6617e4f
Update PHPUnit security baseline
ashfame Jul 28, 2026
30f92a2
Record PHPUnit child pull request
ashfame Jul 28, 2026
87f6889
Merge pull request #206 from WordPress/agent/maintenance-007-phpunit
ashfame Jul 28, 2026
44d5192
Update copy webpack plugin security path
ashfame Jul 28, 2026
3e2c3f9
Record copy webpack child pull request
ashfame Jul 28, 2026
2409cfa
Merge pull request #207 from WordPress/agent/maintenance-008-copy-web…
ashfame Jul 28, 2026
cbf34f9
docs(security): record filemanager blocker
ashfame Jul 28, 2026
3cf7343
docs(security): link filemanager child PR
ashfame Jul 28, 2026
1d0380b
Merge pull request #208 from WordPress/agent/maintenance-009-filemana…
ashfame Jul 28, 2026
4a54646
docs(security): record block library blocker
ashfame Jul 28, 2026
fe69236
docs(security): link block library child PR
ashfame Jul 28, 2026
45ada19
Merge pull request #209 from WordPress/agent/maintenance-010-wordpres…
ashfame Jul 28, 2026
1ea9ca2
fix(deps): replace obsolete WordPress block types
ashfame Jul 28, 2026
ec25e1d
docs(security): link block types child PR
ashfame Jul 28, 2026
c67167e
Merge pull request #210 from WordPress/agent/maintenance-011-wordpres…
ashfame Jul 28, 2026
28fa9ce
fix(extension): validate browser manifests
ashfame Jul 28, 2026
d07511b
docs(extension): link manifest child PR
ashfame Jul 28, 2026
0320cc5
Merge pull request #211 from WordPress/agent/maintenance-012-extensio…
ashfame Jul 28, 2026
de7b09f
ci: make Node checks reproducible
ashfame Jul 28, 2026
10f08ec
docs: link Node CI child PR
ashfame Jul 28, 2026
28972c9
Merge pull request #212 from WordPress/agent/maintenance-013-node-ci
ashfame Jul 28, 2026
5086c86
chore: fix build commands and remove Jest scaffolding
ashfame Jul 28, 2026
191d633
docs: link command cleanup child PR
ashfame Jul 28, 2026
a3e940c
Merge pull request #213 from WordPress/agent/maintenance-014-commands…
ashfame Jul 28, 2026
9b60aad
ci: align WordPress PHP and MySQL test targets
ashfame Jul 28, 2026
ec1b8ce
docs: link PHP matrix child PR
ashfame Jul 28, 2026
ac107e4
Merge pull request #214 from WordPress/agent/maintenance-015-php-matrix
ashfame Jul 28, 2026
c2ddcc0
Configure monthly dependency updates
ashfame Jul 28, 2026
b5d28a1
Link dependency upkeep child PR
ashfame Jul 28, 2026
862ac5d
Merge pull request #215 from WordPress/agent/maintenance-016-dependabot
ashfame Jul 28, 2026
41b340d
Complete package metadata and backup ignores
ashfame Jul 28, 2026
15ba50a
Link metadata child PR
ashfame Jul 28, 2026
f847329
Merge pull request #216 from WordPress/agent/maintenance-017-metadata…
ashfame Jul 28, 2026
ff6d03f
Document stale branch deletion evidence
ashfame Jul 28, 2026
14cc20d
Link branch triage child PR
ashfame Jul 28, 2026
0cf0af5
Record completed stale branch cleanup
ashfame Jul 28, 2026
6189aab
Merge pull request #217 from WordPress/agent/maintenance-018-stale-br…
ashfame Jul 28, 2026
70d1ae1
Reconcile final maintenance security state
ashfame Jul 28, 2026
054c747
Link final reconciliation child PR
ashfame Jul 28, 2026
6b4a517
Merge pull request #218 from WordPress/agent/maintenance-019-final-re…
ashfame Jul 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
"extends": [
"plugin:@wordpress/eslint-plugin/recommended"
],
"plugins": [
"jest"
],
"env": {
"jest/globals": true
},
"settings": {
"import/resolver": {
"typescript": {
Expand Down
28 changes: 28 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 2

updates:
- package-ecosystem: npm
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 4
groups:
npm-production:
applies-to: version-updates
dependency-type: production
npm-development:
applies-to: version-updates
dependency-type: development

- package-ecosystem: composer
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 4
groups:
composer-production:
applies-to: version-updates
dependency-type: production
composer-development:
applies-to: version-updates
dependency-type: development
40 changes: 33 additions & 7 deletions .github/workflows/be-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,47 @@ name: Linting (Browser extension)

on:
pull_request:
types: [ opened, synchronize ]
push:
branches:
- trunk

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm

- name: Install dependencies
run: npm install
run: npm ci

- name: Lint JavaScript and styles
run: npm run lint

- name: Generate schema and type-check
run: npm run type-check

- name: Build Firefox production extension
run: npm run build:production:firefox

- name: Build Chrome production extension
run: npm run build:production:chrome

- name: Lint js
run: npm run lint:js
- name: Validate packaged manifest references
run: npm run validate:extension-builds

- name: Lint styles
run: npm run lint:style
- name: Lint Firefox extension
run: npm run lint:extension:firefox
16 changes: 14 additions & 2 deletions .github/workflows/wp-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,31 @@ on:
pull_request:
types: [ opened, synchronize ]

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
phpcs:
name: phpcs
name: PHPCS PHP ${{ matrix.php }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: [ '8.3', '8.4' ]

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
php-version: ${{ matrix.php }}
coverage: 'none'
tools: composer, cs2pr

Expand Down
46 changes: 40 additions & 6 deletions .github/workflows/wp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@ on:
pull_request:
types: [ opened, synchronize ]

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
phpunit:
name: PHPUnit ${{ matrix.php }}
runs-on: ubuntu-latest

services:
mysql:
image: mysql:5.7
image: mysql:8.0
ports:
- 3306/tcp
env:
Expand All @@ -26,14 +33,17 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '8.3' ]
php: [ '8.3', '8.4' ]

steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Setup npm
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -42,19 +52,43 @@ jobs:
coverage: 'none'
tools: composer

- name: Install dependencies
- name: Install locked Composer dependencies
uses: ramsey/composer-install@v2
with:
composer-options: "--no-progress --no-ansi --no-interaction"

- name: Audit locked Composer dependencies
run: composer audit --locked --no-interaction

- name: Install Node dependencies
run: npm ci

- name: Build schema.json
run: npm install && npm run build:schema
run: npm run build:schema

- name: Install Subversion
run: sudo apt-get update && sudo apt-get install --no-install-recommends --yes subversion

- name: Resolve latest stable WordPress version
id: wordpress
run: |
wordpress_version="$(curl --fail --silent --show-error https://api.wordpress.org/core/version-check/1.7/ | jq -er '.offers[0].version')"
if [[ ! "$wordpress_version" =~ ^[0-9]+\.[0-9]+(\.[0-9]+)?$ ]]; then
echo "Unexpected WordPress version: $wordpress_version" >&2
exit 1
fi
echo "version=$wordpress_version" >> "$GITHUB_OUTPUT"

- name: Install WordPress test setup
run: bash tests/bin/install-wp-tests.sh wordpress_test root password 127.0.0.1:${{ job.services.mysql.ports[3306] }} latest
env:
WORDPRESS_VERSION: ${{ steps.wordpress.outputs.version }}
run: bash tests/bin/install-wp-tests.sh wordpress_test root password 127.0.0.1:${{ job.services.mysql.ports['3306'] }} "$WORDPRESS_VERSION"

- name: Verify installed WordPress version
env:
WORDPRESS_VERSION: ${{ steps.wordpress.outputs.version }}
run: >-
php -r "require '/tmp/wordpress/wp-includes/version.php'; exit( \$wp_version === getenv( 'WORDPRESS_VERSION' ) ? 0 : 1 );"

- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ schema/schema.json

.phpunit.result.cache
src/plugin/schema.json
/backup.sql
/backup-*.sql
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24
9 changes: 2 additions & 7 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"core": "WordPress/WordPress#6.6.2",
"phpVersion": "8.3",
"env": {
"tests": {
"phpVersion": "8.3"
}
},
"core": null,
"phpVersion": "8.4",
"plugins": [ "./src/plugin" ],
"mappings": {
"wp-content/phpunit.xml.dist": "./phpunit.xml.dist",
Expand Down
Loading
Loading