Skip to content

Pin @wordpress/env to unblock the e2e install - #119

Merged
conatus merged 2 commits into
masterfrom
fix/pin-wordpress-env-to-unblock-e2e
Sep 21, 2026
Merged

conatus merged 2 commits into
masterfrom
fix/pin-wordpress-env-to-unblock-e2e

Conversation

@conatus

@conatus conatus commented Sep 21, 2026

Copy link
Copy Markdown
Member

The e2e job has been failing during yarn install, before any test runs. Not a test failure and nothing to do with any open PR.

Cause

@wordpress/env 10.39.0 added a dependency on @wp-playground/cli, which pulls @php-wasm/node 3.1.55, which depends on @php-wasm/node-8-1. That package is not published on npm at any version, so yarn cannot resolve it and the install dies.

packages/join-e2e had @wordpress/env at ^10.0.0 with no yarn.lock of its own, so CI floated onto 10.39.0 the moment it was released. Last green e2e run was 4 September, before that version shipped.

Fix

Pin to ~10.38.0, the last line that does not reach @wp-playground. Verified resolving cleanly. Worth unpinning once upstream publish node-8-1 or drop the reference.

Why this is urgent rather than housekeeping

release-plugin.yml gates the WordPress.org deploy job on needs: [php-tests, jest-tests, e2e]. While e2e cannot install, no version of the plugin can be released at all.

🤖 Generated with Claude Code

conatus and others added 2 commits September 21, 2026 11:04
@wordpress/env 10.39.0 added a dependency on @wp-playground/cli, which
pulls @php-wasm/node 3.1.55, which in turn depends on @php-wasm/node-8-1.
That package is not published on npm, so yarn cannot resolve it and the
e2e job dies during install before a single test runs.

packages/join-e2e had @wordpress/env at ^10.0.0 and no yarn.lock of its
own, so CI floated onto 10.39.0 as soon as it was released. The last
green e2e run was 4 September, before that version shipped.

Pinned to ~10.38.0, the last line that does not reach @wp-playground.
Worth revisiting once upstream publish node-8-1 or drop the reference.

This matters beyond CI noise: release-plugin.yml has the WordPress.org
deploy job gated on e2e, so nothing can be released until it resolves.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The e2e job installs with npm ci, which refuses to run when the lock
file disagrees with package.json. Pinning the dependency without
regenerating the lock swapped one install failure for another.

Lock now resolves @wordpress/env to 10.38.0 and no longer reaches
@php-wasm/node-8-1.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@conatus
conatus merged commit ea1aff9 into master Sep 21, 2026
3 checks passed
@conatus
conatus deleted the fix/pin-wordpress-env-to-unblock-e2e branch September 21, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant