Skip to content

Automated Testing: Rename review routing team field to reviewer - #86611

Merged
aduth merged 1 commit into
trunkfrom
update/review-routing-reviewer
Nov 11, 2026
Merged

aduth merged 1 commit into
trunkfrom
update/review-routing-reviewer

Conversation

@aduth

@aduth aduth commented Nov 10, 2026

Copy link
Copy Markdown
Member

What?

Simple update to replace "team" verbiage with "reviewer" in review routing tooling added in #86325.

Why?

"Team" fits the use-case as described for how this was initially implemented for the benefit of @WordPress/gutenberg-components's role in reviewing design system changes, but nothing should prevent an individual from taking part in this review routing. Just the same as we use both individuals and teams in CODEOWNERS entries, the review routing can and should support anyone who wants to be a reviewer.

Testing Instructions

Repeat Testing Instructions from #86325 to verify no regressions in behavior.

Use of AI Tools

Implemented in coordination with Claude Code + Opus 5.5.

@github-actions

github-actions Bot commented Nov 10, 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: aduth <aduth@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.63 MB

d4730c5 Run

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric ee8ff4b trunk % Change
timeToFirstByte 47.9 ms +7.1% -5.01% 46.05 ms +4.99% -4.34% 4.02%
largestContentfulPaint 76 ms +10.53% -5.26% 74 ms +2.7% -2.7% 2.7%
lcpMinusTtfb 29 ms +14.66% -13.1% 27 ms +17.41% -7.78% 7.41%
wpBeforeTemplate 24.64 ms +12.01% -4.5% 23.86 ms +9.6% -2.64% 3.27%
wpTemplate 19.06 ms +4.3% -3.67% 17.8 ms +6.46% -4.55% 7.08%
wpTotal 44.03 ms +8.18% -4.7% 42.73 ms +2.81% -4.94% 3.04%
wpMemoryUsage 7.72 MB +0% -0% 7.68 MB +0% -0% 0.43%
wpDbQueries 16 +0% -0% 16 +0% -0% 0%

front-end-classic-theme

Metric ee8ff4b trunk % Change
timeToFirstByte 38.7 ms +11.24% -3.1% 38.3 ms +3% -2.35% 1.04%
largestContentfulPaint 72 ms +5.56% -5.56% 68 ms +0% -0% 5.88%
lcpMinusTtfb 30.5 ms +8.03% -3.11% 29.7 ms +3.03% -3.87% 2.69%
wpBeforeTemplate 20.9 ms +9.86% -1.77% 20.7 ms +1.21% -1.26% 0.97%
wpTemplate 14.63 ms +6.15% -2.39% 14.13 ms +3.33% -5.66% 3.54%
wpTotal 35.58 ms +10.37% -2.28% 35.33 ms +2.24% -2.66% 0.71%
wpMemoryUsage 6.41 MB +0% -0% 6.37 MB +0% -0% 0.53%
wpDbQueries 13 +0% -0% 13 +0% -0% 0%

media-processing

Metric ee8ff4b trunk % Change
mediaProcessingJpeg 331.4 ms +1.3% -0.88% 335.48 ms +0.54% -0.63% -1.22%
mediaProcessingAvif 4905.92 ms +0.71% -0.52% 4918.25 ms +0.46% -0.14% -0.25%
mediaProcessingJpegToAvif 3408.18 ms +0.68% -0.27% 3408.26 ms +0.32% -0.13% 0%

media-upload

Metric ee8ff4b trunk % Change
jpegUploadProcessing 1485.84 ms +0.73% -0.6% 1475.86 ms +1.52% -0.74% 0.68%
pngUploadProcessing 261.23 ms +7.14% -2.87% 254.79 ms +3.34% -3.1% 2.53%
largeJpegUploadProcessing 1450.69 ms +0.48% -0.15% 1459.86 ms +0.3% -0.22% -0.63%
multipleImageUploadProcessing 1521.96 ms +1.05% -0.51% 1528.33 ms +0.69% -1.43% -0.42%

post-editor

Metric ee8ff4b trunk % Change
serverResponse 473.67 ms +1.37% -8.77% 487.69 ms +1.09% -6.38% -2.87%
firstPaint 417.89 ms +10.31% -6.22% 406.47 ms +2.98% -4.72% 2.81%
domContentLoaded 824.59 ms +5.56% -2.03% 811.77 ms +1.28% -1.4% 1.58%
loaded 825.73 ms +5.57% -2.06% 812.81 ms +1.29% -1.37% 1.59%
firstContentfulPaint 470.64 ms +9.79% -2.81% 458.67 ms +1.6% -1.96% 2.61%
firstBlock 2174.63 ms +1.53% -2.09% 2183.92 ms +1.49% -3.14% -0.43%
type 15.9 ms +2.45% -6.16% 16.94 ms +6.02% -5.96% -6.14%
typeWithoutInspector 17.43 ms +4.82% -11.47% 16.13 ms +11.9% -7.87% 8.06%
typeWithTopToolbar 22.71 ms +4.49% -7.57% 21.89 ms +2.56% -6.9% 3.75%
typeContainer 8.56 ms +7.94% -13.9% 8.65 ms +6.47% -10.52% -1.04%
focus 118.5 ms +6.26% -7.13% 117.78 ms +5.63% -6.91% 0.61%
firstFocus 255.91 ms +0% -0% 266.4 ms +0% -0% -3.94%
selectAll 399.51 ms +0.2% -2.8% 404.21 ms +0.24% -1.24% -1.16%
undo 28.14 ms +7.46% -4.83% 28.63 ms +11.21% -5.73% -1.71%
listViewOpen 80.57 ms +5.47% -8.77% 78.95 ms +5.35% -7.03% 2.05%
inserterOpen 39.54 ms +7.64% -5.08% 42.51 ms +11.43% -11.55% -6.99%
inserterHover 11.41 ms +7.1% -9.03% 11.57 ms +15.64% -8.82% -1.38%
inserterSearch 7.64 ms +11.91% -5.5% 8.2 ms +4.51% -14.88% -6.83%
loadPatterns 644.52 ms +6% -5.14% 645.62 ms +4.06% -5.48% -0.17%
wpTotal 463.99 ms +1.43% -8.91% 477.93 ms +1.09% -6.47% -2.92%
wpMemoryUsage 14.77 MB +0% -0% 14.73 MB +0% -0% 0.24%
wpDbQueries 55 +0% -0% 55 +0% -0% 0%

site-editor

Metric ee8ff4b trunk % Change
serverResponse 478.13 ms +2.3% -6.89% 477.17 ms +0.23% -1.3% 0.2%
firstPaint 429.72 ms +11.55% -9.05% 417.33 ms +14.7% -3.6% 2.97%
domContentLoaded 858.92 ms +4.12% -1.16% 843.97 ms +0.89% -0.88% 1.77%
loaded 859.88 ms +4.12% -1.15% 845.15 ms +0.86% -0.88% 1.74%
firstContentfulPaint 476.05 ms +10.44% -3.5% 480.51 ms +1.07% -1.44% -0.93%
firstBlock 2625.33 ms +3.29% -1.86% 2588.41 ms +0.97% -0.4% 1.43%
type 17.42 ms +7.35% -3.44% 17.52 ms +14.73% -9.36% -0.57%
navigate 125.19 ms +1.04% -8.35% 111.89 ms +5.29% -0.58% 11.89%
loadPatterns 1369.98 ms +5.98% -1.52% 1386.7 ms +2.67% -9.19% -1.21%
loadPages 954.46 ms +2.67% -0.62% 954.42 ms +4.04% -1.11% 0%
wpTotal 468.59 ms +2.21% -7.06% 467.61 ms +0.24% -1.29% 0.21%
wpMemoryUsage 12.78 MB +0% -0% 12.75 MB +0% -0% 0.27%
wpDbQueries 45 +0% -0% 45 +0% -0% 0%

d4730c5 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.

Page List converts to Navigation Links with entity bindings in /test/e2e/specs/editor/blocks/navigation.spec.js, passed after 1 failed attempt.
Error: expect(locator).toContainText(expected) failed

Locator: getByRole('region', { name: 'Editor settings' }).getByRole('tabpanel', { name: 'Content' }).getByRole('button', { name: /Link to:/ })
Expected substring: "test-page-1"
Received string:    "Link to:Cat/catPagePublished"
Timeout: 5000ms

Call log:
  - Expect "toContainText" getByRole('region', { name: 'Editor settings' }).getByRole('tabpanel', { name: 'Content' }).getByRole('button', { name: /Link to:/ }) with timeout 5000ms
  - waiting for getByRole('region', { name: 'Editor settings' }).getByRole('tabpanel', { name: 'Content' }).getByRole('button', { name: /Link to:/ })
    14 × locator resolved to <button type="button" aria-expanded="false" aria-haspopup="dialog" class="components-button link-preview-button is-next-40px-default-size is-secondary">…</button>
       - unexpected value "Link to:Cat/catPagePublished"

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1949:31
Undo restores the post selection when another synced entity is loaded (RTC WebSocket) 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": 2,
+   "offset": 2,
  }

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
inserts synced patterns by dragging and dropping from the global inserter in /test/e2e/specs/editor/various/inserting-blocks.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  -  3
+ Received  + 21

  Array [
    Object {
      "attributes": Object {
-       "content": "Dummy text",
+       "layout": Object {
+         "flexWrap": "nowrap",
+         "type": "flex",
        },
-     "name": "core/paragraph",
+       "tagName": "div",
      },
+     "innerBlocks": Array [
        Object {
          "attributes": Object {
-       "ref": Any<Number>,
+           "content": Array [],
+           "ref": 289,
          },
+         "innerBlocks": Array [],
          "name": "core/block",
+       },
+       Object {
+         "attributes": Object {
+           "content": "Dummy text",
+           "dropCap": false,
          },
+         "innerBlocks": Array [],
+         "name": "core/paragraph",
+       },
+     ],
+     "name": "core/group",
+   },
    Object {
      "attributes": Object {
+       "content": Array [],
        "ref": Any<Number>,
      },
+     "innerBlocks": Array [],
      "name": "core/block",
    },
  ]

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:353:41

d4730c5 Run

@aduth aduth added the [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. label Nov 10, 2026
@aduth
aduth requested a balanced review from Copilot November 10, 2026 20:17
@aduth
aduth force-pushed the update/review-routing-reviewer branch from 0af4650 to d4730c5 Compare November 10, 2026 20:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues block the change to support both individual reviewers and teams in review routing.

No open issues 🎉

What changed in this PR

Renames team to reviewer in the internal review-routing tool, making its configuration and output describe both individual GitHub users and teams.

Changes:

  • Updates the routing-rule type, parser, report column, and CLI JSON field to use reviewer.
  • Migrates all seven existing routing configurations and test fixtures.
  • Documents individual reviewers and updates the package description.
File Description
tools/​review-routing/​src/​routing-rules.ts Renames the field and updates validation.
tools/​review-routing/​src/​report.ts Uses reviewer in report rows and headings.
tools/​review-routing/​src/​cli.ts Emits reviewer in JSON output.
tools/​review-routing/​src/​__tests__/​routing-rules.test.ts Updates parser fixtures and expectations.
tools/​review-routing/​src/​__tests__/​decision-api.test.ts Updates the routing-rule fixture.
tools/​review-routing/​README.md Documents reviewer syntax and individual participation.
tools/​review-routing/​package.json Broadens the package description beyond teams.
.github/​review-routing/​design-system-tokens.md Migrates token routing to reviewer.
.github/​review-routing/​design-system-style-sync.md Migrates style-sync routing to reviewer.
.github/​review-routing/​design-system-patterns.md Migrates pattern routing to reviewer.
.github/​review-routing/​design-system-migration.md Migrates component-migration routing to reviewer.
.github/​review-routing/​design-system-docs.md Migrates documentation routing to reviewer.
.github/​review-routing/​design-system-bespoke-ui.md Migrates bespoke-UI routing to reviewer.
.github/​review-routing/​design-system-api.md Migrates public-API routing to reviewer.

Review effort: Balanced

@aduth

aduth commented Nov 11, 2026

Copy link
Copy Markdown
Member Author

Since this should be a relatively safe rename and it blocks further iteration on the review routing, I'm going to merge this without further review.

@aduth
aduth merged commit d4c56db into trunk Nov 11, 2026
116 of 120 checks passed
@aduth
aduth deleted the update/review-routing-reviewer branch November 11, 2026 13:37
@github-actions github-actions Bot added this to the Gutenberg 24.5 milestone Nov 11, 2026
Vedant-Gandhi pushed a commit to Vedant-Gandhi/gutenberg that referenced this pull request Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants