Skip to content

test(platform-objects): regression guard for the ADR-0057 BU rename (i18n)#2130

Merged
xuyushun441-sys merged 1 commit into
mainfrom
test/bu-rename-consistency-guard
Jun 21, 2026
Merged

test(platform-objects): regression guard for the ADR-0057 BU rename (i18n)#2130
xuyushun441-sys merged 1 commit into
mainfrom
test/bu-rename-consistency-guard

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

Follow-up to #2129. The BU rename once half-landed (object label "业务单元" but field labels still "上级部门"). This adds a vitest that asserts the sys_business_unit / sys_business_unit_member object + field labels across en/zh/ja/es carry no stale "department" term — so the next rename can't silently leave field labels behind.

Scope is labels only (intentionally not field descriptions/help, the kind enum value department, or the multi-concept node descriptions — those keep the word legitimately). Test-only; empty changeset.

🤖 Generated with Claude Code

…abels)

Asserts sys_business_unit / sys_business_unit_member object + field labels across
all locales no longer retain the old 'department' term (the regression that the
prior PR fixed). Labels only — field descriptions, the `kind` enum value
'department', and the multi-concept node descriptions are intentionally in scope-out.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 21, 2026 2:28pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests tooling size/s labels Jun 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/platform-objects.

3 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:

  • content/docs/concepts/packages.mdx (via @objectstack/platform-objects)
  • content/docs/concepts/setup-app.mdx (via @objectstack/platform-objects)
  • content/docs/guides/packages.mdx (via @objectstack/platform-objects)

Advisory only. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs origin/main → pass the list as args.docs.

@xuyushun441-sys
xuyushun441-sys merged commit fc970c9 into main Jun 21, 2026
16 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the test/bu-rename-consistency-guard branch June 21, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tests tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants