Skip to content

Build: Widen @wordpress/theme peer ranges to include 5.x - #86720

Merged
simison merged 2 commits into
trunkfrom
simison/peer-deps-ci-compat-2f9b2c
Nov 12, 2026
Merged

simison merged 2 commits into
trunkfrom
simison/peer-deps-ci-compat-2f9b2c

Conversation

@simison

@simison simison commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #85386 which added a CI script to catch missing peer deps.

What?

The unreleased @wordpress/theme breaking change added in #86584 will release as 5.0.0, which the stylelint-config, theme-build-tools and wp-build peer ranges did not admit, failing the peer range check now in trunk.

Why?

To turn CI linting green and ensure correct peer deps for future releases.

How?

Just bump versions up.

Testing Instructions

Testing Instructions for Keyboard

Use of AI Tools

claude

The unreleased @wordpress/theme breaking change will release as 5.0.0, which the stylelint-config, theme-build-tools and wp-build peer ranges did not admit, failing the peer range check.
@simison
simison requested a review from a team as a code owner November 12, 2026 08:14
@simison simison added [Type] Build Tooling Issues or PRs related to build tooling [Tool] stylelint config /packages/stylelint-config [Package] wp-build /packages/wp-build labels Nov 12, 2026
@simison
simison requested a review from jameskoster November 12, 2026 08:14

@Mamaduka Mamaduka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @simison!

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

🤖 PR meta 🤖

Preview in WordPress Playground Preview in Storybook

🎉 Props

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: simison <simison@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

Updated as activity occurs, without notifying anyone named here. Add the props-bot label to refresh.

📦 Bundle size

Size Change: 0 B

Total Size: 8.64 MB

fa230f7 Run

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric 57ffcde trunk % Change
timeToFirstByte 38.05 ms +8.94% -6.44% 34.15 ms +15.96% -2.34% 11.42%
largestContentfulPaint 64 ms +9.38% -12.5% 60 ms +3.33% -10% 6.67%
lcpMinusTtfb 22 ms +32.73% -5.45% 23.1 ms +11.9% -12.99% -4.76%
wpBeforeTemplate 19.22 ms +14.26% -3.95% 17.9 ms +19.27% -3.18% 7.37%
wpTemplate 14.72 ms +8.02% -5.16% 13.35 ms +5.39% -4.49% 10.26%
wpTotal 34.74 ms +9.15% -6.36% 31.1 ms +16.95% -2.19% 11.7%
wpMemoryUsage 7.72 MB +0% -0% 7.69 MB +0% -0% 0.43%
wpDbQueries 16 +0% -0% 16 +0% -0% 0%

front-end-classic-theme

Metric 57ffcde trunk % Change
timeToFirstByte 31.1 ms +7.23% -7.56% 28.25 ms +8.67% -3.54% 10.09%
largestContentfulPaint 60 ms +0% -6.67% 52 ms +7.69% -0% 15.38%
lcpMinusTtfb 26.8 ms +3.92% -3.92% 24.2 ms +2.48% -3.72% 10.74%
wpBeforeTemplate 16.73 ms +2.75% -5.14% 15.58 ms +2.95% -2.7% 7.38%
wpTemplate 10.86 ms +8.75% -5.34% 10.16 ms +3.84% -7.58% 6.89%
wpTotal 27.84 ms +9.27% -6.07% 25.74 ms +7.38% -4.08% 8.16%
wpMemoryUsage 6.41 MB +0% -0% 6.38 MB +0% -0% 0.53%
wpDbQueries 13 +0% -0% 13 +0% -0% 0%

media-processing

Metric 57ffcde trunk % Change
mediaProcessingJpeg 221.76 ms +5.18% -1.62% 222.03 ms +1.27% -0.35% -0.12%
mediaProcessingAvif 3636.29 ms +1.18% -1.04% 3648.33 ms +1.34% -2.48% -0.33%
mediaProcessingJpegToAvif 2492.71 ms +1.33% -0.15% 2491.39 ms +0.69% -0.37% 0.05%

media-upload

Metric 57ffcde trunk % Change
jpegUploadProcessing 1443.6 ms +0.65% -1.49% 1429 ms +2.87% -31.32% 1.02%
pngUploadProcessing 188.47 ms +4.72% -6.51% 190.36 ms +7.26% -4% -0.99%
largeJpegUploadProcessing 1433.99 ms +0.86% -1.34% 1440.36 ms +1.44% -0.92% -0.44%
multipleImageUploadProcessing 1490.33 ms +0.46% -1.02% 1499.74 ms +2.71% -1% -0.63%

post-editor

Metric 57ffcde trunk % Change
serverResponse 322.05 ms +1.14% -5.95% 306.37 ms +5.93% -6.8% 5.12%
firstPaint 345.43 ms +7.41% -3.6% 340.4 ms +6.57% -6.81% 1.48%
domContentLoaded 636.26 ms +2.67% -2.4% 632.52 ms +1.31% -0.96% 0.59%
loaded 637.01 ms +2.66% -2.37% 633.33 ms +1.32% -0.96% 0.58%
firstContentfulPaint 368.54 ms +8.67% -4.47% 361.15 ms +1.99% -2.58% 2.05%
firstBlock 1681.66 ms +3.27% -1.18% 1709.22 ms +2.69% -3.13% -1.61%
type 14.58 ms +9.74% -8.78% 15.65 ms +5.43% -12.78% -6.84%
typeWithoutInspector 14.6 ms +2.05% -7.33% 14.8 ms +3.92% -7.7% -1.35%
typeWithTopToolbar 19.16 ms +5.32% -3.91% 19.36 ms +5.01% -13.74% -1.03%
typeContainer 6.41 ms +12.32% -3.9% 7.07 ms +3.68% -4.38% -9.34%
focus 92.96 ms +1.08% -6.98% 97.12 ms +5.29% -6.11% -4.28%
firstFocus 201.24 ms +0% -0% 211.72 ms +0% -0% -4.95%
selectAll 307.59 ms +2.89% -1.17% 319.68 ms +3.01% -2.45% -3.78%
undo 22.89 ms +6.73% -3.01% 25.82 ms +5.03% -6.04% -11.35%
listViewOpen 61.21 ms +3.51% -3.51% 61.55 ms +5.96% -8.42% -0.55%
inserterOpen 33.58 ms +3.01% -6.79% 35.31 ms +2.29% -1.16% -4.9%
inserterHover 9.63 ms +9.03% -11.42% 9.04 ms +7.63% -5.97% 6.53%
inserterSearch 6.71 ms +2.38% -6.71% 6.78 ms +6.78% -8.7% -1.03%
loadPatterns 496.53 ms +4.6% -2.63% 523.18 ms +3.3% -0.89% -5.09%
wpTotal 313.49 ms +0.99% -6.17% 297.57 ms +6.11% -6.89% 5.35%
wpMemoryUsage 14.78 MB +0% -0% 14.74 MB +0% -0% 0.24%
wpDbQueries 55 +0% -0% 55 +0% -0% 0%

site-editor

Metric 57ffcde trunk % Change
serverResponse 317.96 ms +2.54% -7.14% 308.72 ms +4.73% -7.31% 2.99%
firstPaint 365.97 ms +11.15% -13.69% 325.62 ms +13.3% -4.64% 12.39%
domContentLoaded 663.03 ms +2.82% -2.94% 663.77 ms +0.56% -2.38% -0.11%
loaded 663.91 ms +2.81% -2.94% 664.57 ms +0.56% -2.39% -0.1%
firstContentfulPaint 369.21 ms +10.17% -1.77% 374.01 ms +1.63% -1.28% -1.28%
firstBlock 2009.91 ms +0.95% -0.74% 2009.7 ms +0.89% -1.15% 0.01%
type 15.44 ms +5.05% -8.55% 15.13 ms +4.82% -8.06% 2.05%
navigate 96.09 ms +16.74% -5.39% 105.26 ms +3.53% -7.38% -8.71%
loadPatterns 1194.34 ms +10.37% -20.46% 1140.32 ms +5.06% -3.99% 4.74%
loadPages 1004.27 ms +3.57% -0.62% 995.17 ms +1.05% -3.14% 0.91%
wpTotal 309.69 ms +2.63% -7.38% 300.06 ms +4.95% -7.44% 3.21%
wpMemoryUsage 12.79 MB +0% -0% 12.76 MB +0% -0% 0.24%
wpDbQueries 45 +0% -0% 45 +0% -0% 0%

fa230f7 Run

🏁 Flaky tests

Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

Undo restores the post selection when another synced entity is loaded in /test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 2
+ Received  + 2

  Object {
    "attributeKey": "content",
    "blockIndex": 0,
    "content": "abcdef",
-   "endOffset": 3,
-   "offset": 3,
+   "endOffset": 1,
+   "offset": 1,
  }

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts:363:5

fa230f7 Run

@simison
simison enabled auto-merge (squash) November 12, 2026 08:18
@simison
simison merged commit d1808e1 into trunk Nov 12, 2026
94 checks passed
@simison
simison deleted the simison/peer-deps-ci-compat-2f9b2c branch November 12, 2026 08:37
@github-actions github-actions Bot added this to the Gutenberg 24.5 milestone Nov 12, 2026
Vedant-Gandhi pushed a commit to Vedant-Gandhi/gutenberg that referenced this pull request Nov 30, 2026
…6720)

Co-authored-by: simison <simison@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Theme Build Tools [Package] wp-build /packages/wp-build [Tool] stylelint config /packages/stylelint-config [Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants