Skip to content

chore(i18n): web 296 + desktop 966 死键清理 + 死键机器门禁 - #2170

Merged
DeliciousBuding merged 1 commit into
masterfrom
chore/cleanup-round-27
Sep 1, 2026
Merged

chore(i18n): web 296 + desktop 966 死键清理 + 死键机器门禁#2170
DeliciousBuding merged 1 commit into
masterfrom
chore/cleanup-round-27

Conversation

@DeliciousBuding

Copy link
Copy Markdown
Collaborator

范围(UIUX 探索 lane 死键项,round-27)

  • 死键清理:web common.json 391→95;desktop en/zh.json 1131→165。保守判据:键字面量全仓(含测试/e2e)不出现、且不属动态前缀;zh/en 键面 parity 保持;settings.dataCategory.* 运行时键与 [PM/客户体验] 用户可见错误面审计与改进切片清单 #2072 error UX P1 键等测试消费键全部保留。
  • 机器门禁:新增 verify-i18n-deadkeys.py(fail-closed)——扫描 web/desktop 两 bundle,动态前缀 t(\auth.error.oidc.${x}`)/t(prefix.+x)保护,例外进i18n-deadkeys-baseline.json(当前空)。checks.yml` validate 接入。
  • 变异自测:注入 zz.deadKey → 立即 FAIL ✅。

验证(本地已跑)

  • vitest:web 32/258、desktop 64/588、workbench 162/1659 全绿(workbench 3 例并发超时,隔离重跑 3 文件 43/43 通过)
  • web/desktop/workbench tsc --noEmit 全绿
  • verify-ci-gates.py / verify-doc-ssot.py 全过;git diff --check 干净

UIUX 探索 lane 死键项收口(保守判据:键字面量全仓不出现 + 非动态前缀):

- web common.json 391→95;desktop en/zh.json 1131→165(zh/en 键面 parity 保持;settings.dataCategory 运行时键与 error UX P1 键等测试消费键全部保留)
- 新增 verify-i18n-deadkeys.py fail-closed 门禁:扫描 web/desktop 两 bundle,动态前缀(t(`auth.error.oidc.${x}`) 与 t('prefix.'+x))保护,基线 i18n-deadkeys-baseline.json(当前空)
- checks.yml validate 接入新步骤;变异自测(注入 zz.deadKey)立即 FAIL
- 验证:web 258 / desktop 588 / workbench 1659 全绿(workbench 3 例并发超时隔离重跑 43/43 通过);web/desktop/workbench tsc 全绿;verify-ci-gates/doc-ssot 全过

Co-authored-by: Cursor <cursor@vectorcontrol.tech>
@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 93638d88-7a69-44d4-899b-136511f8c242

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@DeliciousBuding
DeliciousBuding merged commit bc33f6b into master Sep 1, 2026
45 checks passed
@DeliciousBuding
DeliciousBuding deleted the chore/cleanup-round-27 branch September 1, 2026 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant