Skip to content

fix(docs): prevent fenced code from blocking translation retries - #115204

Merged
vincentkoc merged 1 commit into
mainfrom
fix/docs-i18n-inline-code
Jul 28, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/docs-i18n-inline-code

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Jul 28, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where full docs translation runs could repeatedly fail when translated prose inside an indented fenced code block contained backticks. The validator treated those code-fence values as protected inline code, so valid translated comments and template strings were rejected.

Why This Change Was Made

Pure literal fenced chunks now bypass Markdown inline-code extraction. Mixed chunks still use the existing validator, so protected inline code after a fence remains immutable.

User Impact

Docs translation retries can complete for pages containing translated comments or template strings inside fenced examples without weakening inline-code checks elsewhere.

Evidence

  • Production failure: Translate Full run 30187722394 failed affected locale shards on inline-code validation.
  • Regression coverage accepts translated comments and template strings inside an indented TypeScript fence.
  • Regression coverage preserves validation for trailing inline code and rejects a changed openclaw doctor command.
  • go test ./...
  • go vet ./...
  • git diff --check
  • Mandatory autoreview passed after narrowing the implementation to the pure-fence case.

Companion workflow recovery PR: openclaw/docs#119

@vincentkoc vincentkoc self-assigned this Jul 28, 2026
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Jul 28, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review July 28, 2026 13:14
@vincentkoc vincentkoc reopened this Jul 28, 2026
@vincentkoc
vincentkoc merged commit 285cee7 into main Jul 28, 2026
247 of 252 checks passed
@vincentkoc
vincentkoc deleted the fix/docs-i18n-inline-code branch July 28, 2026 13:40
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit to christian-lallo/openclaw that referenced this pull request Jul 28, 2026
* origin/main: (150 commits)
  fix: preserve skill proposals across apply crashes and workspace moves (openclaw#114535)
  fix(qa): run maturity Docker scenarios through the aggregate scheduler (openclaw#114447)
  refactor(cli): unify configured model rows onto the shared row pipeline (openclaw#115239)
  fix(ui): stop modal autofocus steal after the open animation (openclaw#115168)
  fix(process): preserve long supervisor timeout deadlines (openclaw#115230)
  fix(slack): preserve pasted inbound tables (openclaw#115163)
  fix(codex): restore trajectory capture for canonical session targets (openclaw#115220)
  refactor(qa): make scenario selection taxonomy-owned (openclaw#114055)
  feat(plugins): match shared models across vendor-namespaced catalog ids (openclaw#115210)
  fix(ios): forgetting a paired gateway does nothing (openclaw#114083)
  test(ui): share pauseVirtualClock e2e helper and de-flake marquee hover-delay asserts (openclaw#115203)
  fix(docs): preserve pure fenced translation chunks (openclaw#115204)
  fix: keep shared web and TUI chats synchronized under load (openclaw#115191)
  fix(auto-reply): require a directed turn for the no-visible-reply fallback
  fix(auto-reply): attest source-routed message-tool sends via the dedupe route matcher
  fix(auto-reply): attest message-tool source replies in every delivery mode and gate eligibility on resolved settlement
  fix(auto-reply): bound turn-ledger settlement and treat started sends as conservatively visible
  fix(auto-reply): abort-aware fallback settlement and straggler drain in turn ledger
  fix(auto-reply): keep turn-ledger types module-local
  test(auto-reply): fix type-check errors in turn-ledger corner tests
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant