Repository navigation
Automated Testing: Rename review routing team field to reviewer - #86611
Conversation
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: 0 B Total Size: 8.63 MB
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome 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
|
0af4650 to
d4730c5
Compare
There was a problem hiding this comment.
🟢 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
|
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. |
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.