Skip to content

fix(i18n): verify R2 publish before full translation batches#67

Merged
hxy91819 merged 5 commits into
openclaw:mainfrom
hxy91819:feature/i18n-full-translation-repair-review
Jun 27, 2026
Merged

fix(i18n): verify R2 publish before full translation batches#67
hxy91819 merged 5 commits into
openclaw:mainfrom
hxy91819:feature/i18n-full-translation-repair-review

Conversation

@hxy91819

Copy link
Copy Markdown
Member

Summary

  • replace async docs deploy dispatches in translation finalizers with a helper that dispatches r2-pages.yml, resolves the run, waits for completion, and fails on non-success
  • make the full-translation canary commit/publish a one-page channels/line.md probe and live-smoke /zh-CN/channels/line for <h1>LINE</h1> before later full batches can run
  • add workflow_dispatch canary_only=true so we can validate the canary publish path from this branch without starting the full translation batches
  • guard canary artifacts/commits to the sampled page plus locale translation memory so stale pruned deletes cannot leak into the probe

Validation

  • python .github/scripts/i18n/tests/test_i18n_scripts.py
  • python .github/scripts/i18n/workflow_shell_check.py --workflows-dir .github/workflows --check-bash
  • python .github/scripts/i18n/budget_check.py --workflow .github/workflows/translate-all.yml
  • git diff --cached --check
  • autoreview --mode local --engine codex --prompt-file I18N_CANARY_DEPLOY_FINDINGS_2026-06-27.md reported no accepted/actionable findings

Canary plan

After this PR is open, run Translate Full from this branch with target_locale=zh-cn and canary_only=true only. The expected proof is that the canary waits for r2-pages.yml and the live page https://docs.openclaw.ai/zh-CN/channels/line reports <h1>LINE</h1>.

@hxy91819 hxy91819 requested a review from a team as a code owner June 27, 2026 05:33
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@hxy91819 hxy91819 force-pushed the feature/i18n-full-translation-repair-review branch 3 times, most recently from 38a8845 to e4548da Compare June 27, 2026 06:26
@hxy91819 hxy91819 force-pushed the feature/i18n-full-translation-repair-review branch from 8fd6432 to bcf2a81 Compare June 27, 2026 09:00
@hxy91819 hxy91819 merged commit f1f3fdf into openclaw:main Jun 27, 2026
7 checks passed
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