Skip to content

chore(ui): refresh control ui locales - #132380

Merged
openclaw-mantis[bot] merged 1 commit into
mainfrom
automation/control-ui-locale-refresh
Aug 29, 2026
Merged

openclaw-mantis[bot] merged 1 commit into
mainfrom
automation/control-ui-locale-refresh

Conversation

@openclaw-mantis

Copy link
Copy Markdown
Contributor

What Problem This Solves

Keeps generated Control UI locales synchronized without bypassing protected-branch checks.

Why This Change Was Made

The Control UI Locale Refresh workflow generated this update from d3947503aca232dca027a4fddc5235a21de17ba5 and published it through a reviewable automation branch.

User Impact

No direct user-facing change beyond refreshed translations.

Evidence

@clawsweeper

clawsweeper Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) August 29, 2026 05:05
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 29, 2026
@clawsweeper

clawsweeper Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 29, 2026, 1:11 AM ET / 05:11 UTC.

ClawSweeper review

What this changes

The PR updates generated Control UI translation-memory and metadata files for the new localized “Co-authored by {logins}” hovercard label.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open: this is the repository’s canonical isolated generated-locale refresh, and static inspection found its 20 records match the current English source catalog and runtime consumption path.

Priority: P3
Reviewed head: 278c731b06810c17ba439895ec00d50652ce83ee

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A normal good generated update: source, hash, runtime consumer, and publication workflow all align, with no actionable patch defect found.
Proof confidence 🌊 off-meta tidepool Not applicable: This bot-authored generated-data PR updates the locale artifacts consumed by the build; source/hash and workflow inspection provide the applicable review evidence, while the linked workflow run could not be fetched from the unavailable GitHub endpoint.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This bot-authored generated-data PR updates the locale artifacts consumed by the build; source/hash and workflow inspection provide the applicable review evidence, while the linked workflow run could not be fetched from the unavailable GitHub endpoint.
Evidence reviewed 7 items Source and consumer: The English catalog defines the co-author label, and the GitHub hovercard passes it through the translation function when rendering co-author avatars.
Runtime locale owner: The Vite locale module loads each locale’s translation memory and materializes it against the merged English source catalog.
Generated output matches source: The four canonical English source files hash to e41ede…b6e9, matching all 20 updated locale metadata files; each of the 20 translation-memory files contains one record for githubPreview.coAuthors.
Findings None None.
Security None None.

How this fits together

The Control UI’s GitHub preview renders localized labels from the English source catalog. A post-merge workflow generates translation memory for each supported locale, which the UI build materializes into its lazy locale modules.

flowchart LR
  A[English Control UI strings] --> B[Locale refresh workflow]
  B --> C[Translation memory]
  C --> D[Locale build module]
  D --> E[Localized GitHub preview]
Loading

Before merge

  • Resolve merge risk (P1) - GitHub endpoints were unavailable during review, so the linked workflow run and the latest filtered ClawSweeper comment could not be independently read; captured exact-head checks were still in progress.
  • Complete next step (P2) - No repair is warranted; this is the expected workflow-generated PR awaiting normal exact-head validation.
Agent review details

Security

None.

PR surface

Source +20. Total +20 across 41 files.

View PR surface stats
Area Files Added Removed Net
Source 41 101 81 +20
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 41 101 81 +20

Review metrics

Metric Value Why it matters
Production vs test delta generated runtime locale data +20 net lines; tests 0 The only net additions are one generated translation-memory record per supported non-English locale; no executable runtime or test code changes.

Stored data model

Persistent data-model change detected: persistent cache schema: ui/src/i18n/.i18n/ar.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/de.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/es.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/fa.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/fr.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/hi.tm.jsonl, and 14 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep the workflow-owned output isolated from source changes and allow normal exact-head checks and generated-PR auto-merge gates to complete.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep the workflow-owned output isolated from source changes and allow normal exact-head checks and generated-PR auto-merge gates to complete.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR does not report a runtime defect; it synchronizes generated locale artifacts with an existing source key.

Is this the best way to solve the issue?

Yes. The dedicated post-merge refresh flow is the documented canonical path; mixing generated memory with the original source change would violate the Control UI locale ownership boundary.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 89c004fc5ff1.

Labels

Label changes:

  • add P3: This is routine generated translation maintenance with no new feature, configuration, or behavioral policy.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This bot-authored generated-data PR updates the locale artifacts consumed by the build; source/hash and workflow inspection provide the applicable review evidence, while the linked workflow run could not be fetched from the unavailable GitHub endpoint.

Label justifications:

  • P3: This is routine generated translation maintenance with no new feature, configuration, or behavioral policy.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This bot-authored generated-data PR updates the locale artifacts consumed by the build; source/hash and workflow inspection provide the applicable review evidence, while the linked workflow run could not be fetched from the unavailable GitHub endpoint.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Recent merged history includes the GitHub hovercard co-author feature and the canonical translation-memory refactor that owns this generated-data flow. (role: feature and recent area contributor; confidence: high; commits: 4f1cd5aca2fb, 7e78de747b8a; files: ui/src/components/github-link-hovercard.runtime.ts, ui/config/control-ui-locales.ts, scripts/control-ui-i18n.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@openclaw-mantis
openclaw-mantis Bot merged commit 5b7485f into main Aug 29, 2026
162 checks passed
@openclaw-mantis
openclaw-mantis Bot deleted the automation/control-ui-locale-refresh branch August 29, 2026 05:13
github-actions Bot added a commit to Desicool/openclaw that referenced this pull request Aug 30, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants