From 4975b4df4adeb87546939ab2f43dfcc16b5b55c3 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Fri, 20 Mar 2026 17:11:33 +0800 Subject: [PATCH 1/7] Add temp.md --- temp.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 temp.md diff --git a/temp.md b/temp.md new file mode 100644 index 000000000000..af27ff4986a7 --- /dev/null +++ b/temp.md @@ -0,0 +1 @@ +This is a test file. \ No newline at end of file From bd1f1dd82d89c1ff3cce94a4ca7839aec0ece8f9 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Fri, 20 Mar 2026 17:11:38 +0800 Subject: [PATCH 2/7] Delete temp.md --- temp.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 temp.md diff --git a/temp.md b/temp.md deleted file mode 100644 index af27ff4986a7..000000000000 --- a/temp.md +++ /dev/null @@ -1 +0,0 @@ -This is a test file. \ No newline at end of file From 9add8b1f7049563343e72c3b2e53a74e142a0dad Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 20 Mar 2026 09:12:49 +0000 Subject: [PATCH 3/7] Auto-sync: Update Chinese docs from English PR Synced from: https://github.com/pingcap/docs/pull/22601 Target PR: https://github.com/pingcap/docs-cn/pull/21453 AI Provider: gemini Co-authored-by: github-actions[bot] --- ai/integrations/vector-search-integrate-with-langchain.md | 6 +++--- ai/integrations/vector-search-integrate-with-llamaindex.md | 6 +++--- ticdc/ticdc-sink-to-kafka.md | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ai/integrations/vector-search-integrate-with-langchain.md b/ai/integrations/vector-search-integrate-with-langchain.md index 7618f1224be1..77803f22cf2a 100644 --- a/ai/integrations/vector-search-integrate-with-langchain.md +++ b/ai/integrations/vector-search-integrate-with-langchain.md @@ -15,7 +15,7 @@ aliases: ['/zh/tidb/stable/vector-search-integrate-with-langchain/','/zh/tidb/de > **提示** > -> 你可以在 Jupyter Notebook 中查看完整的 [示例代码](https://github.com/langchain-ai/langchain/blob/master/docs/docs/integrations/vectorstores/tidb_vector.ipynb),或直接在 [Colab](https://colab.research.google.com/github/langchain-ai/langchain/blob/master/docs/docs/integrations/vectorstores/tidb_vector.ipynb) 在线环境中运行。 +> 你可以在 LangChain Docs 上查看完整的 [示例代码](https://docs.langchain.com/oss/python/integrations/vectorstores/tidb_vector)。 ## 前置条件 @@ -148,11 +148,11 @@ TIDB_DATABASE_URL="mysql+pymysql://:@:/ **提示** > -> 你可以在 Jupyter Notebook 中查看完整的 [示例代码](https://github.com/run-llama/llama_index/blob/main/docs/docs/examples/vector_stores/TiDBVector.ipynb),或直接在 [Colab](https://colab.research.google.com/github/run-llama/llama_index/blob/main/docs/docs/examples/vector_stores/TiDBVector.ipynb) 在线环境中运行。 +> 你可以在 Jupyter Notebook 中查看完整的 [示例代码](https://github.com/run-llama/llama_index/blob/main/docs/examples/vector_stores/TiDBVector.ipynb),或直接在 [Colab](https://colab.research.google.com/github/run-llama/llama_index/blob/main/docs/examples/vector_stores/TiDBVector.ipynb) 在线环境中运行。 ## 前置条件 @@ -147,11 +147,11 @@ TIDB_DATABASE_URL="mysql+pymysql://:@:/ Date: Fri, 20 Mar 2026 17:14:32 +0800 Subject: [PATCH 4/7] Update ticdc/ticdc-sink-to-kafka.md --- ticdc/ticdc-sink-to-kafka.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ticdc/ticdc-sink-to-kafka.md b/ticdc/ticdc-sink-to-kafka.md index 4410aa2bc446..27591c2f0ca5 100644 --- a/ticdc/ticdc-sink-to-kafka.md +++ b/ticdc/ticdc-sink-to-kafka.md @@ -211,7 +211,7 @@ token="xxxx" 在以上配置中,`region` 和 `registry-name` 是必填项,`access-key`、`secret-access-key` 和 `token` 是可选项。最佳实践是将 AWS 连接凭证设置为环境变量或存储在 `~/.aws/credentials` 文件中,而不是将它们设置在 changefeed 的配置文件中。 -更多信息,请参阅 [AWS Go SDK V2 官方文档](https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/configure-gosdk.html#specifying-credentials)。 +更多信息,请参阅 [AWS Go SDK V2 官方文档](https://docs.aws.amazon.com/zh_cn/sdk-for-go/v2/developer-guide/configure-gosdk.html#specifying-credentials)。 ## 自定义 Kafka Sink 的 Topic 和 Partition 的分发规则 From b29d10ce01164699ff9b085524bacb7e0ce438cc Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Fri, 20 Mar 2026 18:00:21 +0800 Subject: [PATCH 5/7] Update ai/integrations/vector-search-integrate-with-langchain.md Co-authored-by: Grace Cai --- ai/integrations/vector-search-integrate-with-langchain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai/integrations/vector-search-integrate-with-langchain.md b/ai/integrations/vector-search-integrate-with-langchain.md index 77803f22cf2a..5fd5fed9da57 100644 --- a/ai/integrations/vector-search-integrate-with-langchain.md +++ b/ai/integrations/vector-search-integrate-with-langchain.md @@ -15,7 +15,7 @@ aliases: ['/zh/tidb/stable/vector-search-integrate-with-langchain/','/zh/tidb/de > **提示** > -> 你可以在 LangChain Docs 上查看完整的 [示例代码](https://docs.langchain.com/oss/python/integrations/vectorstores/tidb_vector)。 +> 你可以在 LangChain 文档中查看完整的[示例代码](https://docs.langchain.com/oss/python/integrations/vectorstores/tidb_vector)。 ## 前置条件 From 2632d01ea7dda5887d5c3ba3fdc8da70996a96a5 Mon Sep 17 00:00:00 2001 From: houfaxin Date: Fri, 20 Mar 2026 18:52:35 +0800 Subject: [PATCH 6/7] Update link checker workflows and add caching Upgrade GitHub Actions and lychee usage in link-check workflows. Bump actions/checkout to v6, add actions/cache to restore .lycheecache, and switch lycheeverse/lychee-action to v2. Enable lychee caching (--cache) with max-cache-age (1d for fast-fail, 8d for full run), add fail/failIfEmpty flags, adjust args and exclude-paths, and update peter-evans/create-issue-from-file to v6 with an always() condition. These changes improve performance and reliability of link checks. --- .github/workflows/link-fail-fast.yaml | 13 ++++++++++--- .github/workflows/link.yaml | 18 ++++++++++++++---- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/.github/workflows/link-fail-fast.yaml b/.github/workflows/link-fail-fast.yaml index 226c66716c94..ede0b16ba608 100644 --- a/.github/workflows/link-fail-fast.yaml +++ b/.github/workflows/link-fail-fast.yaml @@ -7,7 +7,7 @@ jobs: linkChecker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 2 @@ -17,12 +17,19 @@ jobs: CHANGED_FILES=$(git diff-tree --name-only --diff-filter 'AM' -r HEAD^1 HEAD -- "*.md" | sed -z "s/\n$//;s/\n/' '/g") echo "all_changed_files=${CHANGED_FILES}" >> $GITHUB_OUTPUT + - name: Restore lychee cache + uses: actions/cache@v4 + with: + path: .lycheecache + key: cache-lychee-${{ github.sha }} + restore-keys: cache-lychee- + - name: Link Checker if: ${{ steps.changed-files.outputs.all_changed_files }} - uses: lycheeverse/lychee-action@v2.3.0 + uses: lycheeverse/lychee-action@v2 with: fail: true failIfEmpty: false - args: --root-dir $(pwd) -E -i -n -t 45 -- '${{ steps.changed-files.outputs.all_changed_files }}' + args: --root-dir $(pwd) --cache --max-cache-age 1d -E -i -n -t 45 -- '${{ steps.changed-files.outputs.all_changed_files }}' env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/link.yaml b/.github/workflows/link.yaml index 6b3be2a3489e..c651b780013b 100644 --- a/.github/workflows/link.yaml +++ b/.github/workflows/link.yaml @@ -10,23 +10,33 @@ jobs: linkChecker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Download Exclude Path run: | curl https://raw.githubusercontent.com/pingcap/docs/master/.lycheeignore --output .lycheeignore + - name: Restore lychee cache + uses: actions/cache@v4 + with: + path: .lycheecache + key: cache-lychee-${{ github.sha }} + restore-keys: cache-lychee- + - name: Check Links - uses: lycheeverse/lychee-action@v1.6.1 + uses: lycheeverse/lychee-action@v2 with: # For parameter description, see https://github.com/lycheeverse/lychee#commandline-parameters - args: -E --exclude-mail -v -i -n -t 45 -- **/*.md *.md + fail: true + failIfEmpty: false + args: --root-dir $(pwd) --cache --max-cache-age 8d -E -i -n -t 45 --exclude-path '^releases/' --exclude-path '^tidb-cloud/releases/' -- **/*.md *.md output: out.md env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Create Issue From File - uses: peter-evans/create-issue-from-file@v4 + if: ${{ always() }} + uses: peter-evans/create-issue-from-file@v6 with: title: Broken Link Detected content-filepath: out.md From 3d2770ab7f33185eb26e3adcb7456f0a0f2b5e88 Mon Sep 17 00:00:00 2001 From: houfaxin Date: Fri, 20 Mar 2026 18:53:49 +0800 Subject: [PATCH 7/7] Update link.yaml --- .github/workflows/link.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/link.yaml b/.github/workflows/link.yaml index c651b780013b..d81de66aa472 100644 --- a/.github/workflows/link.yaml +++ b/.github/workflows/link.yaml @@ -35,7 +35,6 @@ jobs: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Create Issue From File - if: ${{ always() }} uses: peter-evans/create-issue-from-file@v6 with: title: Broken Link Detected