Skip to content

ci: update translation tool to 40b4d30 - #24799

Merged
ti-chi-bot[bot] merged 1 commit into
pingcap:masterfrom
qiancai:ci/update-translator-ref-40b4d30
Dec 4, 2026
Merged

ti-chi-bot[bot] merged 1 commit into
pingcap:masterfrom
qiancai:ci/update-translator-ref-40b4d30

Conversation

@qiancai

@qiancai qiancai commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

What is changed, added, or deleted? (Required)

Update all GitHub Actions references to qiancai/ai-markdown-translator from c52e9188383f8a2d7056a072da63310e8346a001 to 40b4d30eac28c1089e045696f026a3bfd1f50a3e.

The new revision fixes retries for existing translated files, deletion-only section updates, introduction deletion boundaries, and matching localized headings by stable anchors. It also rejects missing language configuration instead of silently choosing a target language.

Validation: the translator revision passed all 722 tests; workflow diffs contain only the pinned SHA replacement, and YAML parsing and git diff --check pass.

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)

What is the related PR or file link(s)?

AI agent involvement

  • The changes in this PR were primarily made by an AI agent on behalf of the PR author.

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

Summary by CodeRabbit

  • Chores
    • Updated behind-the-scenes automation supporting documentation translation. The translation workflows continue to operate as before, with no changes to their visible results or to product features and behavior. No user action is required.

@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 4, 2026
@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Three translation workflows now pin ai-markdown-translator to commit 40b4d30eac28c1089e045696f026a3bfd1f50a3e. Their other behavior is unchanged.

Changes: Translation workflow revision

Layer / File(s) Summary
Update translator commit pin
.github/workflows/sync-doc-pr-zh-to-en.yml, .github/workflows/translation-cron.yml, .github/workflows/translation-zh.yaml
All three workflows replace the previous ai-markdown-translator commit pin with 40b4d30eac28c1089e045696f026a3bfd1f50a3e.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Possibly related PRs

  • pingcap/docs#24711: Changes the Python version for translation jobs; its package compatibility claim refers to ai-markdown-translator at the pinned revision.

Suggested reviewers: lilin90, shhdgit

Merge Risk: Minimal · up to a4b3b

This updates the pinned translation tool revision in three workflows and changes nothing else. No concrete merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "ci: update translation tool to 40b4d30" matches the changeset, which pins the ai-markdown-translator reference from c52e918 to 40b4d30 in three workflow files. It is specific and follows co…
Description check Passed The description fills the required sections: what changed (the SHA update in all GitHub Actions references, with the translator's fixes), the affected version (master is ticked), related reference lin…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "ci: update translation tool to 40b4d30" matches the changeset, which pins the ai-markdown-translator reference from c52e918 to 40b4d30 in three workflow files. It is specific and follows conventional commit style. It does not name the tool repository, but the change is still clearly summarized.

Full details: Description check

Explanation

The description fills the required sections: what changed (the SHA update in all GitHub Actions references, with the translator's fixes), the affected version (master is ticked), related reference link to the translator commit, and AI agent involvement. Template items such as the contributor checklist and related code PR links are left blank, but these are non-critical. The description also omits the 'What is the related PR' entry for 'This PR is translated from', which is acceptable for a CI pin update.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingcap/docs
  • Branch: master
  • File: .coderabbit.yaml
  • Commit: aff3f03
  • Layers: Repository YAML
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: e7c08b34-4931-4cd5-a8f0-0cdfb3ed9d9d
Commits

Reviewing files that changed from the base of the PR and between aff3f03 and a4b3bb8.

Files selected for processing: 3

  • .github/workflows/sync-doc-pr-zh-to-en.yml
  • .github/workflows/translation-cron.yml
  • .github/workflows/translation-zh.yaml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@qiancai qiancai self-assigned this Dec 4, 2026
@qiancai qiancai added translation/no-need No need to translate this PR. lgtm and removed missing-translation-status This PR does not have translation status info. labels Dec 4, 2026
@qiancai

qiancai commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator Author

/approve

@ti-chi-bot

ti-chi-bot Bot commented Dec 4, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added the approved label Dec 4, 2026
@ti-chi-bot
ti-chi-bot Bot merged commit d81c95d into pingcap:master Dec 4, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant