Skip to content

docs(service): translate the busy-lease guidance on every locale page - #6626

Merged
lidge-jun merged 1 commit into
lidge-jun:devfrom
lcxhh521:docs/translate-busy-lease-guidance
Oct 5, 2026
Merged

lidge-jun merged 1 commit into
lidge-jun:devfrom
lcxhh521:docs/translate-busy-lease-guidance

Conversation

@lcxhh521

@lcxhh521 lcxhh521 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

#6512 added a busy-lease paragraph to the CLI lifecycle reference. It covers what another process owns the runtime mutation lease and Runtime mutation lease busy mean, and what to do about them. On the seven localized pages (fr, ja, ko, ru, tr, zh-cn, zh-tw) that paragraph is still in English. This translates it on each page.

  • Both error strings stay verbatim, so a reader can match them against the CLI output.
  • Each translation keeps the full content: the fields in the message (lock path, recorded PID, liveness, executable name, lease age); the warning that the PID may have been reused, so neither the lock nor the process should be removed on its basis; the advice to wait and retry; and the 30-second stale-lease reclaim rule, which only a later mutation attempt applies and status does not.
  • The English page is unchanged. Its paragraph is the same text these translations were made from.

This is the commit I pushed to the #6512 branch a few minutes after that PR merged, so it never reached dev. It is reapplied here on current dev.

Verification

  • On this head, off dev fe09557cb: bun run structure:check and bun run privacy:scan pass.
  • The 15 test files that read docs-site/src/content/docs (locale parity, links and reference checks): 278 pass, 0 fail.
  • The diff is the replaced paragraph only, in seven files: 7 insertions and 56 deletions, one translated line per eight English lines.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed. (This is the docs change.)
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults. (Docs only.)

Review readiness checklist

This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:

  • Required local validation passed; commands, results, and any full-suite exception are documented.

  • I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).

  • I resolved all correct Codex and CodeRabbit findings.

  • My PR is ready for review.

Summary by CodeRabbit

  • Documentation
    • Translated the runtime mutation lease guidance in the CLI lifecycle reference into French, Japanese, Korean, Russian, Turkish, Simplified Chinese, and Traditional Chinese. The guidance covers blocked operations, diagnostic details, PID identity cautions, retrying and stale-lease recovery, and the status command’s read-only check.

The seven localized lifecycle pages carried the busy-lease paragraph in
English. Each now has it in its own language, keeping both error strings
verbatim, the PID-reuse caveat and the 30-second reclaim rule.
@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: lidge-jun/opencodex/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 50e39fbb-5aad-4196-85ff-4196fbb19614
📥 Commits

Reviewing files that changed from the base of the PR and between aa10846 and 4d6aa1d.

📒 Files selected for processing (7)
  • docs-site/src/content/docs/fr/reference/cli/lifecycle.md
  • docs-site/src/content/docs/ja/reference/cli/lifecycle.md
  • docs-site/src/content/docs/ko/reference/cli/lifecycle.md
  • docs-site/src/content/docs/ru/reference/cli/lifecycle.md
  • docs-site/src/content/docs/tr/reference/cli/lifecycle.md
  • docs-site/src/content/docs/zh-cn/reference/cli/lifecycle.md
  • docs-site/src/content/docs/zh-tw/reference/cli/lifecycle.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.


📝 Walkthrough

Walkthrough

The runtime mutation lease guidance in seven CLI lifecycle guides was translated into French, Japanese, Korean, Russian, Turkish, Simplified Chinese, and Traditional Chinese. The translated text retains the documented lease conditions, diagnostics, cautions, recovery rules, and status behavior.

Changes

Runtime mutation lease documentation

Layer / File(s) Summary
Translate lease guidance
docs-site/src/content/docs/{fr,ja,ko,ru,tr,zh-cn,zh-tw}/reference/cli/lifecycle.md
The seven guides now describe runtime mutation lease conflicts in their respective languages. They retain the documented blocking conditions, diagnostic information, PID identity cautions, retry guidance, stale lease recovery conditions, and ocx service status behavior.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 4d6aa

This change localizes the existing lease guidance without changing runtime behavior; the translations preserve the key warnings and recovery conditions.

Architecture Summary

Architecture risk: 🔵 Low · up to 4d6aa

The change affects 1 system.

Changed systems: docs-site

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — docs-site (service) was modified; 7 changed files map to changed impact.

Before / after behavior

  • observed — Modified behavior in docs-site/src/content/docs/fr/reference/cli/lifecycle.md: Le paragraphe décrivant le bail de mutation d’exécution a été traduit de l’anglais au français ; ses conditions de blocage, informations de diagnostic, consignes et seuils de récupération restent inchangés.
  • observed — Modified behavior in docs-site/src/content/docs/ja/reference/cli/lifecycle.md: サービス起動時または ocx service status でランタイム変更リースの競合が示された場合の説明を英語から日本語に置き換えました。ロックのパス、記録された PID の生存状態、取得できる場合の実行ファイル名、リース経過時間を報告すること、PID の同一性は未検証で再利用の可能性があること、処理完了後に再試行すること、PID だけを根拠にロック削除やプロセス停止をしないことを記載しています。経過時間が30秒を超え、記録された PID が生存していない場合は後続の変更処理が古いリースを回収でき、status は確認のみを行うという条件も維持しています。
  • observed — Modified behavior in docs-site/src/content/docs/ko/reference/cli/lifecycle.md: 런타임 변경 리스가 시작이나 서비스 변경을 차단하는 조건과 진단 정보, PID 재사용 주의사항, 오래된 리스 회수 조건 및 ocx service status의 확인 전용 동작을 설명하던 문장을 영어에서 한국어로 번역했습니다.
  • observed — Modified behavior in docs-site/src/content/docs/ru/reference/cli/lifecycle.md: Добавлено русское описание занятой runtime mutation lease: перечислены сведения в сообщении, предупреждение о непроверенной идентичности процесса и условия освобождения устаревшей аренды при последующей операции изменения.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: translating busy-lease guidance across all locale pages.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ READY

  • all PR quality gates passed; the review readiness checklist is complete.

Review readiness checklist

  • ✅ Required local validation passed; commands, results, and any full-suite exception are documented.
  • ✅ I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
  • ✅ I resolved all correct Codex and CodeRabbit findings.
  • ✅ My PR is ready for review.

✅ 4/4 boxes ticked.

This pull request is already Ready for Review.
The review-ready label marks this PR as ready; review automation runs independently.
Maintainers: @lidge-jun @Ingwannu

@github-actions
github-actions Bot marked this pull request as draft October 5, 2026 06:11
@github-actions
github-actions Bot marked this pull request as ready for review October 5, 2026 06:12
@lidge-jun

Copy link
Copy Markdown
Owner

Lane review (maintainer side) at 4d6aa1dcb09b76ee82ceaca67718fd5fe834b303. No local tests were run by the reviewer, per the owner's instruction for this round; evidence is the hosted CI at this head.

An independent pass compared each translated paragraph with the English busy-lease paragraph, which is unchanged on current dev. fr, ja, ko, tr, zh-cn and zh-tw are faithful: both error strings stay verbatim, all five message fields are present, and each keeps the PID-reuse warning, the wait-and-retry advice, and the rule that only a later mutation attempt reclaims a lease older than 30 seconds with a dead PID while status only inspects it.

One optional wording suggestion for ru (docs-site/src/content/docs/ru/reference/cli/lifecycle.md, the busy-lease paragraph). "Подлинность процесса не проверяется" reads as "the process's authenticity is not checked". The English point is that nothing confirms the PID still belongs to the process that wrote the lease. A closer phrasing:

Не проверяется, что процесс с этим PID — тот же, что записал аренду: PID мог быть переиспользован, …

This is not blocking. I did not push it, because a new head would reset this PR's completed readiness checklist.

CI at this head: Cross-platform CI success (docs-only scope: changes, docs site build, privacy gate, aggregate ci) and React Doctor success.

@lidge-jun

Copy link
Copy Markdown
Owner

Maintainer integration (lidge-jun, dev only) — 2026-10-05 bug triage round 2, lane B3.

  • Head: 4d6aa1d
  • CI at this head: PR CI 37271046188 (docs build, privacy gate, ci), 37271046326; every executed job passed.
  • Review: docs-only: busy-lease guidance translated on all seven locale lifecycle pages; independent review found the locales faithful (one optional Russian wording note).
  • No local tests were run, per owner instruction; hosted CI is the evidence.
  • scripts/ci/assert-mergeable-review.sh --maintainer-integration: OK.

@lidge-jun
lidge-jun merged commit bdcfa23 into lidge-jun:dev Oct 5, 2026
34 checks passed
@lcxhh521
lcxhh521 deleted the docs/translate-busy-lease-guidance branch October 5, 2026 16:36
@lidge-jun lidge-jun mentioned this pull request Oct 6, 2026
4 tasks done
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 review-ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants