Skip to content

Update dependencies, restore CI test discovery - #246

Open
KevinBatdorf wants to merge 7 commits into
mainfrom
update/packages
Open

Update dependencies, restore CI test discovery#246
KevinBatdorf wants to merge 7 commits into
mainfrom
update/packages

Conversation

@KevinBatdorf

Copy link
Copy Markdown
Owner

Two finds beyond the version bumps:

  • CI has been running 3 of 13 tests since the shared blueprint moved to tests/ — the local runner and both workflow discover jobs still required a same-dir blueprint.json while only playwright.config.ts got the walk-up. All three discovery sites now walk up identically.
  • The at-rules suite (silently skipped until now) asserted on the whole page, which always contains Twenty Twenty-Five's own @font-face — it now asserts on the plugin's style#pcss-block-* element.

Deps: ncu honoring the repo's own reject list — shiki 0.14.7 (v1+ removed setCDN/setWasm and the vendored build/shiki assets) and tailwindcss 3.4 (v4 removed tailwindcss/nesting) stay. Everything else moves: wp-scripts 34, typescript 7, block-editor 16, lightningcss 1.33, biome 2.5, playwright 1.62. The stricter zustand types surfaced string defaults in number-typed store state — now numbers.

13/13 e2e on latest and nightly. Stacks on #245 — merge that first.

🤖 Generated with Claude Code

KevinBatdorf and others added 7 commits August 3, 2026 18:34
WP Playground intermittently 500s or crashes mid-test in CI across
the sibling block repos, sending false-alarm failure emails while the
rest of the matrix passes. One CI retry absorbs those one-offs; a real
regression still fails after the retry. Local runs keep retries: 0 to
fail fast while iterating. Update the testing rules, which previously
banned retries outright, to match.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Moving the shared blueprint to tests/ (bb14f1e) updated
playwright.config.ts to walk up from each spec, but the local runner
and both workflow discover jobs still required blueprint.json in the
spec's own directory. Since that commit they silently dropped the
at-rules and default suites — CI has been running 3 of 13 tests while
reporting green. All three discovery sites now implement the same
walk-up as the config.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The front-end check ran against page.content(), but Twenty
Twenty-Five inlines its own @font-face for Manrope and Fira Code, so
the not-toContain assertion could never pass (and toContain('@media')
passed vacuously from theme CSS). The rewrite landed while discovery
was dropping this suite, so it never actually ran. Assert on the
style#pcss-block-* element the plugin registers instead.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
ncu with the repo's own reject list honored: shiki stays on 0.14.7
(setCDN/setWasm and the vendored build/shiki assets don't exist in
shiki 1+; migrating is its own project) and tailwindcss stays on 3.4
(v4 removed tailwindcss/nesting from exports, which postcss.config.js
loads). Everything else moves: wp-scripts 34, typescript 7,
block-editor 16, lightningcss 1.33, biome 2.5, playwright 1.62,
playground CLI 3.1.48. Removed the deprecated @types/wordpress__blocks
stub and its tsconfig types entry.

typescript 7 removed moduleResolution node (now bundler) and requires
declarations for side-effect CSS imports (src/types/css.d.ts). The
stricter zustand types surfaced string defaults sitting in
number-typed state in both stores — now numbers.

Build, lint, tsc pass; 13/13 e2e on latest and nightly (with
discovery fixed in the previous commit).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The formatter update rewraps a handful of expressions; without this
biome check fails on a clean tree.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Locks written by npm 11.6 fail npm ci validation on CI's newer npm
(wasm-variant optional deps resolve differently) — regenerated from
scratch and verified npm ci passes. Biome $schema now points at the
installed package, and actions/cache v5 clears the runner's node20
deprecation warning.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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