fix(docs): continue partial i18n batches after file errors#91642
Conversation
|
Codex review: passed. Reviewed June 9, 2026, 4:10 AM ET / 08:10 UTC. Summary PR surface: Source 0, Other +286. Total +286 across 3 files. Reproducibility: yes. at source level: current main returns from sequential doc mode on the first 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. Next step before merge
Security Review detailsBest possible solution: Land the scheduler change through the normal automerge and CI gates at the exact head, keeping Do we have a high-confidence way to reproduce the issue? Yes at source level: current main returns from sequential doc mode on the first Is this the best way to solve the issue? Yes; passing the existing flag into the two doc schedulers and centralizing the stop predicate is the narrow owner-boundary fix. Moving this into AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against c5171625369e. Label changesLabel justifications:
Evidence reviewedPR surface: Source 0, Other +286. Total +286 across 3 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:
|
8abebcb to
099006e
Compare
099006e to
b66c098
Compare
|
Post-merge verification for Result: expected.
Follow-up: this verifies the post-merge CI trigger behavior. The |
Summary: - This PR passes the existing docs-i18n `--allow-partial` flag into sequential and parallel doc-mode schedulin ... ion as terminal, adds regression tests, and removes one non-null assertion in Microsoft Foundry onboarding. - PR surface: Source 0, Other +286. Total +286 across 3 files. - Reproducibility: yes. at source level: current main returns from sequential doc mode on the first `processFi ... d not run Go tests because this review is read-only, but the PR adds direct regression cases for that path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(docs): continue partial i18n batches after file errors - PR branch already contained follow-up commit before automerge: fix(clawsweeper): address review for automerge-openclaw-openclaw-9164… Validation: - ClawSweeper review passed for head b66c0983b4943eebbfc09d911dfe02051f1637d4. - Required merge gates passed before the squash merge. Prepared head SHA: b66c0983b4943eebbfc09d911dfe02051f1637d4 Review: openclaw/openclaw#91642 (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>
…91642) Summary: - This PR passes the existing docs-i18n `--allow-partial` flag into sequential and parallel doc-mode schedulin ... ion as terminal, adds regression tests, and removes one non-null assertion in Microsoft Foundry onboarding. - PR surface: Source 0, Other +286. Total +286 across 3 files. - Reproducibility: yes. at source level: current main returns from sequential doc mode on the first `processFi ... d not run Go tests because this review is read-only, but the PR adds direct regression cases for that path. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(docs): continue partial i18n batches after file errors - PR branch already contained follow-up commit before automerge: fix(clawsweeper): address review for automerge-openclaw-openclaw-9164… Validation: - ClawSweeper review passed for head b66c098. - Required merge gates passed before the squash merge. Prepared head SHA: b66c098 Review: openclaw#91642 (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
--allow-partialso a per-file translation failure does not cancel the remaining docs queue.--allow-partialis disabled.--allow-partialstill stops instead of continuing through the rest of the queue.Root Cause
--allow-partialonly allowed already-written outputs to survive a later error. If a body translation failed early in the ordered docs list, sequential mode returned immediately and parallel mode canceled the worker context, so unrelated later docs never had a chance to regenerate.This matches the recent docs CI symptom: Translate All run https://github.com/openclaw/docs/actions/runs/27182895507 used the frontmatter fallback fix from #91578, then zh-CN hit
body translate failed for agent-runtime-architecture.md, finished withprocessed=0, and never reachedchannels/line.md. The publish repo therefore kept the stale localized LINE page even though the glossary and source sync were current.Verification
processed=0.cd scripts/docs-i18n && go test . -count=1 -run 'TestRunDocsI18NAllowPartial|TestRunDocsI18NRewritesLineTitle'cd scripts/docs-i18n && go test . -count=1git diff --check.agents/skills/autoreview/scripts/autoreview --mode localclean after fixing the cancellation finding