Skip to content

feat(studio): the permissions page speaks business wording; bulk buttons show on every row - #34914

Merged
objectstack-fleet[bot] merged 12 commits into
mainfrom
claude/issue-34795-studio-permissions-wording
Nov 17, 2026
Merged

objectstack-fleet[bot] merged 12 commits into
mainfrom
claude/issue-34795-studio-permissions-wording

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

Fixes #34795
Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:Studio 权限页改用业务说法。默认授予横幅只写一句「所有成员默认拥有这个权限集,新加入的人也会自动拥有。」,按钮改为「取消默认授予」;标题是「应用名 · 权限集显示名」;「记录共享模型(OWD)」改为「谁能看到哪些记录」;页签改为 对象权限 / 系统功能 / 数据范围规则 / 菜单可见;批量按钮「全选 · 只读 · 清空 · 增删改查」每行常显;对象行只显示名称,内部名放在悬停提示里。
  • 为什么改:搭应用的人读不懂横幅里的内部名和「Everyone 岗位」,批量按钮要悬停才出现,而且是缩写(卡 Studio 权限页:横幅和术语改成业务说法,批量按钮常显并用中文,对象不带内部名 #34795,epic 专题:控制台核心业务操作体验(详情、表单与子表、审批、通知、手机端、应用与 Studio 往返、云端入口) #34571)。
  • 风险与回滚:只改文案和展示,权限模型、ADR-0090 的建议与确认机制、所有请求都不变。Setup 的权限集页共用几条文案(批量按钮、共享取值、三个分区标题),会一起变,布局不变。回滚就是 revert 本 PR。
  • 先看:PermissionMatrixEditor.tsx(StudioObjectRow 的批量按钮和固定在右侧的批量列、renderStudio 的标题);namespaces/studio/zh.ts(engine.studio.access.suggest* 一组文案);StudioDesignSurface.tsx(AccessPillar 的左栏行和 appLabel)。
  • 两分钟验证:pnpm --dir ui exec vitest run packages/app-shell/src/views/studio-design/StudioDesignSurface.accessWording-34795.test.tsx,预期 12 个测试全部通过;或者用中文界面打开 Studio → 权限,预期每一行都能看到「全选 · 只读 · 清空 · 增删改查」,页面上不出现 OWD、CRUD 或权限集的内部名。
  • 需要你做的: 无,席位落地

What changes

The Studio Access pillar now reads in an app builder's words, in zh-CN and in English. It changes wording and presentation only. The permission model, the ADR-0090 D5/D9 suggestion and confirmation flow, and every request stay the same. ADR-0090 D4 holds: display labels change, stored sharingModel values do not.

  • Default-grant banner. The accepted state is one sentence and no longer names the set or the Everyone position. The button reads 取消默认授予 and calls the same handler as 撤销 did (dismissSuggestedBinding). The pending, not-in-force, dismissed, guest, confirm and toast lines use the same tone. Pending rows name the set by its label.
  • Title. The open set's header is appLabel · set label. AccessPillar passes the package's name as the new PermissionStudioChrome.appLabel. The machine name moves to the title's tooltip, and the provenance, default and lock labels move to the line under the title. The title is not truncated: measured live, scrollWidth == clientWidth.
  • Terms. 记录共享模型(OWD) becomes 谁能看到哪些记录. The values read 只有负责人能看 / 所有人能看 / 所有人都能看和改, and 受父级控制 → {master} becomes 跟随所属的{master}. The tabs read 对象权限 / 系统功能 / 数据范围规则 / 菜单可见.
  • Bulk buttons. Every row shows 全选 · 只读 · 清空, then the CRUD set as a fourth button (增删改查). Before, the strip appeared only on the row under the pointer or with focus. Each button writes exactly what All / R / None / CRUD wrote before. The footnote that explained the hidden strip is removed, along with its key engine.studio.access.bulkHint. The bulk column is pinned to the right edge of the scroll pane, the way the Object column is pinned to the left. Without that, the third and fourth buttons sat past the right edge at 1440 px (live reading below).
  • Object rows. The matrix and the package's 谁能看到哪些记录 overview show the object's label only. The machine name is the tooltip. The record-visibility chip now stays on one line: the new labels are longer and had wrapped inside its fixed-height box.
  • Rail. The access rail rows show the set's label, with the machine name as the tooltip, and the hard-coded English default tag now uses the localized perm.badge.default. The rail's OWD row and the pillar subtitle (对象 × CRUD) use the new terms. All of this falls under the card's acceptance line that the page shows no internal name, OWD or CRUD.

Wording, old → new

Key zh-CN old zh-CN new en old en new
engine.studio.access.suggestAcceptedState 「{set}」已为所有已登录用户(Everyone 岗位)接受。 所有成员默认拥有这个权限集,新加入的人也会自动拥有。 "{set}" was accepted for all signed-in users (Everyone). Every member has this permission set by default, and new members get it automatically.
engine.studio.access.suggestRevoke 撤销 取消默认授予 Revoke Stop granting by default
engine.studio.settings.sharing / access.colOwd / owd.railLabel 记录共享模型(OWD) / 记录共享模型 / 记录共享(OWD) 谁能看到哪些记录 Record sharing (OWD) / OWD Who can see which records
perm.owd.private · public_read · public_read_write 私有 · 公共只读 · 公共读写 只有负责人能看 · 所有人能看 · 所有人都能看和改 Private · Public read · Public read/write Only the owner can see · Everyone can see · Everyone can see and edit
engine.studio.owd.byParent 受父级控制 → {master} 跟随所属的{master} By parent → {master} Follows its {master}
engine.studio.access.tab.* 对象 / 系统能力 / 行级安全 / 标签页可见性 对象权限 / 系统功能 / 数据范围规则 / 菜单可见 Objects / System capabilities / Row-level security / Tab visibility Object permissions / System features / Record scope rules / Menu visibility
perm.bulk.read · perm.bulk.crud 读 · 增改删 只读 · 增删改查 R · CRUD Read only · Read & write
perm.rls.title · perm.tabs.title · perm.field.systemCapabilities 行级安全 · 标签页可见性 · 系统能力 数据范围规则 · 菜单可见 · 系统功能 Row-Level Security · Tab Visibility · System Capabilities Record Scope Rules · Menu Visibility · System Features
engine.studio.access.subtitle 对象 × CRUD · 字段级读写 对象权限 · 字段级读写 — Object permissions · field-level read/write
preview.changes.securityBlockWhere (eager packs, all 11) 请在对象的“设置 → 记录共享模型”中修改后重新发布。 请在对象的“设置 → 谁能看到哪些记录”中修改后重新发布。 Fix it on the object under Settings → Record sharing, then publish again. Fix it on the object under Settings → Who can see which records, then publish again.

perm.bulk.all / perm.bulk.none were already 全选 / 清空 (All / None) and are unchanged. Every changed key is a value edit. Most are in the lazy studio namespace (en and zh). One key was removed (bulkHint), and none was added. The only eager edit is securityBlockWhere, changed in all 11 packs, and the DraftChangesPanel default value was changed to match it (seat ruling A, claim amendment on #34795). The new label is translated in the other packs, the same way the old one was.

Reach: Setup's permission-set page

Setup reads some of the same keys, so it changes too, as the card expects: perm.bulk.read/crud, perm.owd.* values, perm.rls.title, perm.tabs.title and perm.field.systemCapabilities. Setup's layout is unchanged. The Setup-only perm.owd.chip / perm.owd.tip keys are untouched, so Setup's column chip still reads 记录共享模型:只有负责人能看(默认) in zh and OWD Only the owner can see (default) in en. engine.studio.settings.sharing* also feeds the Data pillar's object settings panel, which now offers the same four labels.

i18n budget

check-eager-closure-budget (pnpm --dir ui check:eager-closure) on a console built from fafc1d6260, which carries the hint edit, exited 0. It read: i18n-locale-en 60.4 KB / 60.5 KB ceiling (headroom 0.2 KB), and the whole closure 1896.8 KB gzipped across 103 of 2536 chunks (budget 2431.6 KB). The en value grew by 11 bytes raw. The ceiling is not edited.

Tests

New tests:

  • StudioDesignSurface.accessWording-34795.test.tsx (12 tests, zh-CN):
    • the accepted sentence and its button;
    • 取消默认授予 calls dismiss('sug_member') exactly once, with confirm and reopen never called;
    • a pending row names the label;
    • the title and its tooltip;
    • the tab texts;
    • the visible page text holds no set machine name, Everyone, OWD or CRUD, and the machine name stays reachable as the tooltip;
    • object rows show the label only;
    • the strip renders on every row without hover, in order;
    • one test per button: 全选 = the seven grants that All sets, 只读 = read only, 清空 = none, 增删改查 = the four CRUD columns.
  • PackageOwdOverviewPanel.objectName-34795.test.tsx (2 tests): the overview row shows the label with the machine name as tooltip, and an unlabelled object shows its name once.

Existing tests updated because they asserted the old wording or the old markup:

  • StudioDesignSurface.accessTabs-12456: the header tooltip; the always-shown strip replaces the hover tests; the button order.

  • StudioDesignSurface.accessGuard, StudioDesignSurface.pillarNavGuard: the renamed rail row; title lookups.

  • StudioDesignSurface.accessPairCopy-29674, accessRailLabels-11862, accessCreateTaken-26836: the rail and header tooltip.

  • ObjectSettingsPanel.test, ObjectSettingsPanel.designerRegistryMissing: the shared sharing labels.

  • PackageOwdOverviewPanel.test: the shared sharing labels.

  • DirectoryPage.stateVocabulary-29705: colOwd and perm.owd.private.

  • PermissionMatrixEditor.columnHeaders-29729, .scope: the Setup chip text with the new value.

  • PermissionMatrixEditor.rlsAddPolicyHold-13113, .serverVerdict-26858, .serverVerdictHold-27482, .packageDoorFacets: the renamed headings.

  • PermissionMatrixEditor.bulkMergeKeys, .exportColumn-26885, .artifactTier, .readonly, .objectGrantInherited-27010: the bulk labels.

  • PermissionMatrixEditor.gridChrome-27866: the object button's accessible name is now the label alone.

  • DraftChangesPanel.securityProblems, DraftChangesPanel.securityLink: the refusal hint's new en wording. What they pin is unchanged: the panel names where to fix it.

  • ui/e2e/permission-field-panel-scroll.spec.ts: the Studio row's expand button is found by its label-only name, ^Project$. The environment-host lookup still matches label plus name, because the Setup table still prints both. The scroll assertions are unchanged.

18 of these files gained module-top side-effect imports (@objectstack/lint, plus @objectstack/formula and @objectstack/spec/identity in the matrix files), as check:test-source-alias requires of an edited test file.

Acceptance notes

  • Accepted banner, live: NOT MEASURED. The self-built-app producer of a member-access suggestion lives in the cloud repo, and this session cannot read it (403). Stock objectstack dev boots the showcase set as the baseline, so the panel draws nothing. The banner is covered by the zh-CN unit test above.
  • The delegated-admin tab's facet pills still show set machine names. That tab is outside this card.
  • The explain-access sheet still uses OWD and CRUD in its own strings. It is a closed sheet, opened by its button, and outside this card.
  • The list endpoint does not carry bindingCreated. A row read back after a not-in-force confirmation therefore shows the in-force sentence. This behaviour is unchanged: only the wording is new.

Verification

All local readings below are on head 5ba8869eae, after merging origin/main at 189358f212. CI runs the full farm, and its check-runs are the authoritative readings. On 5ba8869eae, Build & E2E UI and Live E2E UI pass.

Derived families: node scripts/pm/dispatch-gates.mjs --commands, 40 families, each with its exit code; --ran reconciliation: 40 derived, 40 run, 0 NOT-MEASURED
  • node scripts/check-adr-0087-registration.mjs --base origin/main: exit 0
  • node scripts/check-adr-0087-registration.mjs --self-test: exit 0
  • node scripts/check-changeset-no-major.mjs --base origin/main: exit 0
  • node scripts/check-closing-keyword-parity.mjs: exit 0
  • node scripts/check-closing-keyword-parity.mjs --self-test: exit 0
  • node scripts/check-comment-mask-corpus.mjs: exit 0
  • node scripts/check-empty-changeset.mjs --base origin/main: exit 0
  • node scripts/check-empty-changeset.mjs --self-test: exit 0
  • node scripts/check-sdui-manifest.mjs: exit 0
  • node scripts/check-sdui-manifest.mjs --self-test: exit 0
  • node scripts/ci/snapshot-next.mjs --self-test: exit 0
  • node scripts/pm/check-governed-queue-guard.mjs --self-test: exit 0
  • node scripts/pm/release-rehearsal-clone.mjs --self-test: exit 0
  • node scripts/release-pending-publish.mjs --self-test: exit 0
  • pnpm --dir ui exec vitest run scripts/: exit 0
  • pnpm --filter @objectstack/spec run check:duration-unit-keys: exit 0
  • pnpm check:adr-anchors: exit 0
  • pnpm check:changeset-gate-self-tests: exit 0
  • pnpm check:closed-ceremony-text: exit 0
  • pnpm check:cross-package-test-inputs: exit 0
  • pnpm check:dispatcher-error-vocabulary: exit 0
  • pnpm check:driver-memory-census: exit 0
  • pnpm check:engine-double-contract: exit 0
  • pnpm check:gitlink-declared: exit 0
  • pnpm check:merge-driver: exit 0
  • pnpm check:nul-bytes: exit 0
  • pnpm check:published-files: exit 0
  • pnpm check:query-options-erasure: exit 0
  • pnpm check:refd-timer-probe: exit 0
  • pnpm check:registry-log-declared: exit 0
  • pnpm check:rest-log-spy-declared: exit 0
  • pnpm check:role-word: exit 0
  • pnpm check:skill-identifier-liveness: exit 0
  • pnpm check:test-source-alias: exit 0
  • pnpm check:tier-file-adoption: exit 0
  • pnpm check:type-check-coverage: exit 0
  • pnpm check:type-check-debt: exit 0
  • pnpm check:undeclared-dep-imports: exit 0
  • pnpm check:watch-hint-literal: exit 0
  • pnpm check:where-matcher: exit 0
Ablations: each new behaviour mutated on disk with scripts/ablation-replace.mjs, then restored with git diff HEAD empty
# Mutation Reading Restore
A1 Bulk strip gated on hover/focus again 1 failed / 12 (strip-on-every-row test) blob == HEAD, git diff HEAD empty
A2 Revoke button back to 撤销 1 failed / 12 blob == HEAD, git diff HEAD empty
A3 Object button text carries the machine name 1 failed / 12 (first attempt refused by the tool as a no-op: replacement contained the anchor; rerun with a disjoint replacement) blob == HEAD, git diff HEAD empty
A4 appLabel dropped from the chrome 1 failed / 12 (title test) blob == HEAD, git diff HEAD empty
A5 Overview row prints the machine name again 2 failed / 2 blob == HEAD (684612dff9b7), git diff HEAD empty
Live readings: zh-CN, Chromium, own objectstack dev backend (showcase) and console dev server

Studio → 权限 → 示例贡献者 (showcase_contributor):

  • Title: ObjectStack Showcase · 示例贡献者, with tooltip showcase_contributor. Not clipped at 1440 or 1920 px. The line under the title reads 包内置.
  • Tabs: 对象权限 / 系统功能 / 数据范围规则 / 菜单可见 / 委派管理.
  • Strip on every row: 24 of 24 rows show 全选 · 只读 · 清空 · 增删改查, disabled because the showcase package is read-only.
    • Before the right-pinned bulk column, at 1440 px, the buttons spanned x = 1333 → 1518, so 清空 and 增删改查 sat past the viewport.
    • After it, they span x = 1228 → 1413 at 1440 px and x = 1708 → 1893 at 1920 px.
  • Object row: Account (Success Overlay), with tooltip showcase_account. Rail row: 示例贡献者, with tooltip showcase_contributor.
  • Record-visibility chips: none taller than 24 px after the one-line fix. Before it, 所有人都能看和改 wrapped to two lines.
  • document.body.innerText holds 0 hits for OWD|CRUD|Everyone|showcase_|记录共享|受父级, both on the access page and on the 谁能看到哪些记录 overview.
  • Bulk-button clicks live: NOT MEASURED. The only package on stock dev is read-only, so the buttons are disabled. The writes are pinned by the four per-button unit tests.

Generated by Claude Code

…collection; changeset

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…ew names objects by label

The plain sharing labels are longer than the old ones and wrapped inside the
fixed-height chip. The package overview showed each object's machine name
under its label; the name is now the label's tooltip.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…deways

At 1440 px the Studio matrix is wider than its pane, so the always-shown
strip's third and fourth buttons sat past the right edge. The bulk column
is now pinned to the right edge, as the Object column is to the left.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
The hint shares its neighbourhood with an open flow-designer change, and
every other pack still names the old label; one follow-up renames it in all
packs and the Draft Changes default together.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 17, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz

CI red on 58be6ed · Build & E2E UI · this PR's

ui/e2e/permission-field-panel-scroll.spec.ts:280 waits for the object row's expand button by the name ^Project\W*a_project\W*$ (label plus machine name). This PR draws the object row with its label only and moves the machine name to a tooltip (card item 5), so the button's accessible name is now Project and all three cases (1000 px, 720 px, CONTROL) time out at 30 s. Fix: the spec matches the label-only name. It goes in the fix round this PR already owes (the seat's claim amendment adds the securityBlockWhere hint in every locale pack plus the DraftChangesPanel default), with ui/e2e/permission-field-panel-scroll.spec.ts added to the claim surface (amendment on #34795).

…ty setting

The Draft Changes refusal still sent the author to Settings → Record sharing,
a label this branch renamed. All 11 packs and the panel's default now name
Settings → Who can see which records. The permission e2e spec finds the Studio
row by its label alone, as the row now reads; the environment table keeps the
label-plus-name lookup.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB

L1 review · 2026-11-17T17:28Z

L1: REWORK
Head-sha: 5ba8869

This is the first L1 on this PR, a full read at this head:

Must-fix

M1. A platform-checklist clause this PR makes false. docs/qa/platform-checklist/areas/studio-authoring.json:1019 (the read-only Access item's verify) still says:

"the object row's bulk, which appears only on hover or keyboard focus (engine.studio.access.bulkHint), is disabled when it appears"

This PR draws the bulk strip on every row and deletes engine.studio.access.bulkHint. A QA runner following that clause hovers to make a strip appear that is now always there, and looks up a key that no longer exists. Restate it, for example: "every object row draws its bulk strip (All · Read only · None · Read & write), and in read-only Studio every button in it is disabled". Keep the FAIL condition (an operating bulk control), and add the file's own change record if its format asks for one.

check-platform-checklist --changed-from stays green because this item is anchored to no file in the diff, so only a text read finds it. The file sits outside the claimed surface and needs a one-line surface amendment from the seat. Line 1077, the historic change note, stays as it is.

Should-fix

None.

What holds (no action)

  • Shape: draft, Fixes #34795. Clause-②: no and Metadata-protocol: none appear in the body and the changeset. The claim predicted yes (widening — locale keys only). The PR ships value edits plus the removal of one key that nothing reads (check:i18n-keys 0), and seat amendment 6953806876 confirms "Clause-②: no holds". So the line matches the claim as amended.
  • Scope: every code path is in the claim plus the two amendments.
    • The DraftChangesPanel.securityLink / .securityProblems test edits (one assertion each, reading the renamed hint) are judged acceptable. They are readers of the amended default text.
    • ObjectSettingsPanel* and DirectoryPage.stateVocabulary-29705 tests assert shared keys; the round-1 report declares them.
  • Changeset: app-shell, i18n and console patches. Its text matches the diff, including the Setup reach through shared keys and the 11-pack hint.
  • Wording: zh and en move together, value for value, across the OWD values, the four tabs, the suggestion lines, the overview and settings labels, and the bulk labels. The stored sharingModel values and every call are unchanged: the bulk buttons still call onBulkSet with the same four actions, and suggestRevoke keeps its handler. securityBlockWhere is moved in all 11 packs plus the default, and en grows +11 bytes against a 0.2 KB headroom.
  • e2e: permission-field-panel-scroll.spec.ts matches ^Project$ on the Studio host only, and the Setup host keeps label-plus-name. The old-regex control reproduces the CI timeout.
  • Tests: real commands with exit codes; 5 ablations, each red on its own case.

Notes / nits

  • N1 (nit, pre-existing): each row's bulk buttons are named only "All", "Read only" and so on, with no object in the accessible name. Now that every row draws them, a screen-reader user tabbing the matrix hears the same four names per row. An aria-label that carries the object's label would fix it. The names were the same before this PR, which only changes when the strip draws.
  • N2 (note, pre-existing): the studio namespace exists only in en/zh, so a de/fr/… user sees the English "Who can see which records" in Settings, while the hint in their pack names a translated label. That mismatch predates this PR ("Datensatzfreigabe" vs "Record sharing (OWD)").
  • N3 (note): suggestConfirmedToast no longer uses {anchor} ("Every member now has …"). That is safe because a guest suggestion cannot be confirmed here (suggestGuestUnsupported). If guest confirmation is ever added, the toast needs its guest twin.

CI at review time

There are 61 check-runs on this sha, 0 failed. Build & E2E UI, Live E2E UI, Lint UI, Type Check UI and Test UI 1–8 and 10–16 are green. Test UI 9/16 is re-running after a checkout timeout. A second Check Changeset run started at 17:26Z, after the body edit. Landing needs every run on the landing head green.

Routing

REWORK on M1 only, a single docs/qa clause. The seat amends the surface, the fix round edits the clause, and the delta L1 reads that commit. No L2 is owed (Clause-② no) and the PR is not governed.

…trip

The studio-authoring checklist's read-only Access verify still said the
object row's bulk appears only on hover or keyboard focus and cited
engine.studio.access.bulkHint. Every object row now draws its bulk strip
and that key is gone, so the clause says every row draws the strip and
every button in it is disabled in read-only Studio. The FAIL condition
(an operating bulk control) is unchanged.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB

L1 delta review · 2026-11-17T17:34Z

L1: ACCEPT
Head-sha: f68ccf6

This supersedes REWORK 6955723311 at 5ba8869. The delta is one commit, f68ccf6, touching only docs/qa/platform-checklist/areas/studio-authoring.json (+8/−2). The seat amended the surface on #34795 for it.

M1 is closed

The permission-matrix-editor-ux item's acceptance[5].verify now reads "…and every object row draws its bulk strip, every button of which is disabled in read-only Studio; an operating bulk control is the FAIL."

  • The hover/focus wording is gone from the clause.
  • engine.studio.access.bulkHint is cited only in the new history entry, which records its removal.
  • The FAIL condition is unchanged, and the rest of the verify (field bulk absent, the four gates) is untouched.
  • The revision goes 11 → 12, with a history entry dated 2026-11-17 and ref #34795, in the file's existing shape. The historic note for revision 6 (old line 1077) is untouched.
  • The file parses as JSON at this head.

Every other finding of 6955723311 stands as written. "What holds" is unchanged, and the nits N1–N3 stay optional.

Must-fix

None.

Should-fix

None.

CI at review time

The run on this sha just started: 23 check-runs registered, 6 skipped, 17 in progress, 0 failed. The UI lanes have not registered yet. On 5ba8869 everything was green except Test UI 9/16, which was re-running. Landing needs every run on the landing head green.

Routing

L1 ACCEPT. No L2 is owed (Clause-② no) and the PR is not governed. The area lands it once CI is fully green.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz

Landing · area o3-C · head f68ccf6

Probe Reading
check-governed-merges.mjs --pr 34914 NOT governed; 993 changed lines (+736/−257) ≤ 3000 → Tier S
Review L1 delta ACCEPT 6955863136 at this head (supersedes REWORK 6955723311, whose one must-fix, the platform-checklist clause, is closed); no contract review owed (Clause-②: no, confirmed by the seat amendment on #34795)
Open findings nits only (merge standard 「只对 nit 级采用」): N1 (each row's bulk buttons carry no object in their accessible name, pre-existing, routed to the seat), N2 (studio namespace en/zh only, pre-existing), N3 (toast anchor)
CI K = 10 (< 15, no branch update); on f68ccf6: 50 success, 11 skipped, 0 failed; mergeable clean. The one red on 5ba8869 (Test UI 9/16) was a runner checkout timeout, re-run green

State: ready + auto-merge now; on MERGED, #34795 closes via Fixes and its pm:* state label comes off.

@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 44142383288 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Test UI (10/16) — 失败步骤: Fetch this commit's history and the base branch(日志不可读,点进 job 看)

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

  • ⚠️ 本次没有可用的聚合签名(日志里没有能解析出测试文件名的 FAIL 行)—— 这不是「没有同签名的其他 PR」,是这一轮没测到。跨 PR 聚合本次不可用,请手工比对其他 PR 的同类评论。
  • ⚠️ 24h 评论账本没读完(超过 5 页仍未读到窗口尽头),所以上面的「不同 PR 数」是下界,不是全量。

历史信号:

  • 本 PR 过去 24h 无队列失败记录(首次)。
  • 过去 24h 队列共有 34 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 17, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz

Re-queue · head f68ccf6

The queue removed this PR at 18:18Z. Its group's CI run 44142383288 failed only on Test UI (10/16), at "Fetch this commit's history and the base branch" (timed out after 14 minutes, before any test ran); shards 1 and 6 were cancelled with it. That is runner infra, not this diff, and the same step timed out on this PR's own run earlier (re-run green). Head, reviews and PR-head CI are unchanged from landing comment 6956349769, so this is the one re-queue.

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/l tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Studio 权限页:横幅和术语改成业务说法,批量按钮常显并用中文,对象不带内部名

2 participants