fix: make docs i18n frontmatter translation resilient#91578
Conversation
|
Codex review: passed. Reviewed June 8, 2026, 11:42 PM ET / 03:42 UTC. Summary PR surface: Other +201. Total +201 across 4 files. Reproducibility: yes. Current main source shows the relevant paths: exact glossary scalars still go through Codex, frontmatter translator errors fail the page, and Codex non-zero exits ignore the last-message file; the PR body also describes a real translator smoke run that hit the failure mode. Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the script fix with the publish-finalizer tightening treated as the required companion if maintainers want CI to fail incomplete translation output; otherwise record source fallback as accepted docs-i18n behavior. Do we have a high-confidence way to reproduce the issue? Yes. Current main source shows the relevant paths: exact glossary scalars still go through Codex, frontmatter translator errors fail the page, and Codex non-zero exits ignore the last-message file; the PR body also describes a real translator smoke run that hit the failure mode. Is this the best way to solve the issue? Yes, with one maintainer decision. The exact glossary bypass and non-empty last-message recovery are the narrow local fixes; the source fallback for frontmatter translator errors is maintainable if paired with the publish-finalizer policy maintainers want. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 84acb74a6a77. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Other +201. Total +201 across 4 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
|
@clawsweeper automerge |
|
🦞✅ Source: What merged:
Automerge notes:
The automerge loop is complete. Automerge progress:
|
29bdfb1 to
efd98bb
Compare
Summary: - The PR updates the docs i18n Go translator to bypass exact glossary matches, recover non-empty Codex last-me ... r a non-zero exit, fall back to source frontmatter scalars on translation errors, and add regression tests. - PR surface: Other +201. Total +201 across 4 files. - Reproducibility: yes. Current main source shows the relevant paths: exact glossary scalars still go through ... re the last-message file; the PR body also describes a real translator smoke run that hit the failure mode. Automerge notes: - PR branch already contained follow-up commit before automerge: fix: make docs i18n frontmatter translation resilient Validation: - ClawSweeper review passed for head efd98bb. - Required merge gates passed before the squash merge. Prepared head SHA: efd98bb Review: openclaw#91578 (comment) Co-authored-by: Mason Huang <masonxhuang@tencent.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Summary: - The PR updates the docs i18n Go translator to bypass exact glossary matches, recover non-empty Codex last-me ... r a non-zero exit, fall back to source frontmatter scalars on translation errors, and add regression tests. - PR surface: Other +201. Total +201 across 4 files. - Reproducibility: yes. Current main source shows the relevant paths: exact glossary scalars still go through ... re the last-message file; the PR body also describes a real translator smoke run that hit the failure mode. Automerge notes: - PR branch already contained follow-up commit before automerge: fix: make docs i18n frontmatter translation resilient Validation: - ClawSweeper review passed for head efd98bba14fd6d83b6ae76a354780a7afcba0cd6. - Required merge gates passed before the squash merge. Prepared head SHA: efd98bba14fd6d83b6ae76a354780a7afcba0cd6 Review: openclaw/openclaw#91578 (comment) Co-authored-by: Mason Huang <masonxhuang@tencent.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Summary
LINE -> LINEdo not call Codex--output-last-messagewhen Codex produced a translation but exits non-zerochannels/linelocalized titles acrosszh-CN,zh-TW,de, andesVerification
cd scripts/docs-i18n && go test ./...git diff --check.agents/skills/autoreview/scripts/autoreview --mode localchannels/line.md,OPENCLAW_DOCS_I18N_MODEL=gpt-5.3-codex-spark,--thinking low --parallel 1 --overwrite; Codex failed onesummaryfrontmatter call with exit 1, the script fell back for that scalar, completed generation, and rewrote staletitle: 行totitle: LINENotes