Skip to content

ci: include TiDB Cloud Lake in zh translation workflow - #23762

Open
qiancai wants to merge 1 commit into
pingcap:masterfrom
qiancai:lake-support-zh-translation
Open

ci: include TiDB Cloud Lake in zh translation workflow#23762
qiancai wants to merge 1 commit into
pingcap:masterfrom
qiancai:lake-support-zh-translation

Conversation

@qiancai

@qiancai qiancai commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

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

  • Include TOC-tidb-cloud-lake.md and tidb-cloud-lake/_index.md in the Cloud English-to-Chinese translation scope.
  • Pass the target docs checkout to the source-file resolver so it can identify newly introduced TOCs.
  • Pass the resolved full-translation file list to the commit-sync translator, allowing files newly entering the translation scope to be bootstrapped from their latest source versions.

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

  • 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

  • Bug Fixes
    • Updated translation workflows to include Cloud Lake table-of-contents and index documentation.
    • Improved source-file resolution for targeted documentation paths.
    • Ensured resolved file paths are synchronized correctly during translation commits.

@ti-chi-bot

ti-chi-bot Bot commented Sep 7, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign breezewish for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found 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 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 Sep 7, 2026
@qiancai qiancai self-assigned this Sep 7, 2026
@qiancai qiancai added the translation/no-need No need to translate this PR. label Sep 7, 2026
@ti-chi-bot ti-chi-bot Bot removed the missing-translation-status This PR does not have translation status info. label Sep 7, 2026
@coderabbitai

coderabbitai Bot commented Sep 7, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Team

Run ID: e43cf16c-a69d-4387-a2f5-fd65c205bbb5

📥 Commits

Reviewing files that changed from the base of the PR and between 1b0fd93 and ab16c0f.

📒 Files selected for processing (1)
  • .github/workflows/translation-zh.yaml

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


📝 Walkthrough

Walkthrough

The Chinese translation workflow now includes Cloud Lake documentation files. It passes the target documentation path to source-file resolution and passes resolved full paths to commit synchronization.

Changes

Translation workflow

Layer / File(s) Summary
Cloud file selection and path propagation
.github/workflows/translation-zh.yaml
The workflow adds the Cloud Lake TOC and index files. It passes DOCS_TARGET_PATH to source-file resolution and SOURCE_FULL_FILES to commit synchronization.

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

Merge Risk: ⚪ Minimal · up to ab16c

The workflow adds Cloud Lake documentation to the Chinese translation scope and propagates the needed paths between existing steps. No actionable merge risk is identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the main change: adding TiDB Cloud Lake to the Chinese translation workflow.
Description check ✅ Passed The description includes the required change summary, affected version, related link, AI involvement, and change-category sections. It provides sufficient detail about the workflow updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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