Skip to content

test(e2e): pin @wp-playground/cli to 3.1.40 to escape upstream regression#64

Merged
dknauss merged 1 commit into
mainfrom
ci/pin-playground-cli
Jun 23, 2026
Merged

test(e2e): pin @wp-playground/cli to 3.1.40 to escape upstream regression#64
dknauss merged 1 commit into
mainfrom
ci/pin-playground-cli

Conversation

@dknauss

@dknauss dknauss commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Problem

The Playwright Playground smoke job has failed for ~7+ hours across main and every branch. The Playground server boots, but wp-admin pages time out (ensurePluginActivated → "Plugins" h1, and editor/inserter), failing different tests each run — a hallmark of an unstable environment, not repo code. Runtime-matrix Docker jobs + PHPUnit stayed green throughout.

Root cause

The E2E harness boots the Playground via floating @wp-playground/cli@latest. 3.1.41 published 2026-06-22 11:32 UTC and has been flaky/failing ever since; the prior 3.1.40 ran green on main earlier the same day (runs at 02:19 and 03:34 UTC). Floating @latest silently pulled the regressed release into every CI run, with no signal that anything in the repo changed.

Fix

Pin the CLI to 3.1.40 across all four E2E scripts:

  • scripts/test-playground-e2e.sh
  • scripts/test-a11y.sh
  • scripts/test-lifecycle-e2e.sh (×2)
  • scripts/test-smoke-e2e.sh

This makes CI deterministic and escapes the bad release. This PR's own CI run is the experiment: if the Playground smoke job goes green here, it both unblocks CI and confirms 3.1.41 as the regression.

The @latest references in .github/skills/wp-playground/ docs are intentionally left as general usage examples.

Temporary

This is a deliberate pin to dodge a bad upstream release. Once a fixed @wp-playground/cli ships past 3.1.41, follow up to bump or return to floating so the scripts don't rot on an old version.

🤖 Generated with Claude Code

…sion

The Playwright Playground smoke job has failed for hours across main and every
branch: the Playground server boots but wp-admin times out, failing different
tests each run. @wp-playground/cli@3.1.41 published 2026-06-22 11:32 UTC and has
been flaky/failing since; 3.1.40 ran green on main earlier the same day. The
floating @latest in the E2E harness pulled the regressed release into every run.

Pin the CLI to 3.1.40 across all four E2E scripts so CI is deterministic and
escapes the bad release. Temporary: revert to @latest (or bump) once a fixed
Playground CLI ships past 3.1.41. Skill-doc @latest examples are left as-is.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@dknauss dknauss merged commit 4918807 into main Jun 23, 2026
13 checks passed
@dknauss dknauss deleted the ci/pin-playground-cli branch June 23, 2026 01:09
@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.80%. Comparing base (acefe8c) to head (b21054a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #64   +/-   ##
=======================================
  Coverage   80.80%   80.80%           
=======================================
  Files          44       44           
  Lines        3084     3084           
  Branches      523      523           
=======================================
  Hits         2492     2492           
  Misses        185      185           
  Partials      407      407           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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