Skip to content

ai/ti: document GCP and Azure Filesystem regions - #24457

Merged
ti-chi-bot[bot] merged 3 commits into
release-8.5from
codex/ti-gcp-azure-regions
Oct 15, 2026
Merged

ti-chi-bot[bot] merged 3 commits into
release-8.5from
codex/ti-gcp-azure-regions

Conversation

@siddontang

@siddontang siddontang commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

What is changed, added or deleted? (Required)

Add the Google Cloud gcp-us-east1 and Microsoft Azure azure-centralus placements to the TiDB Cloud CLI region table. Both support Filesystem operations; neither is listed as a supported Starter database placement.

The Azure CLI implementation and regression tests are in tidbcloud/ti-cli#76. Validate the region table against the built-in CLI endpoint mapping.

Validation: ./scripts/markdownlint ai/ti/reference/ti-regions-security-and-limitations.md 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)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.2 (TiDB 8.2 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

  • Documentation
    • Updated the supported-regions table to include Microsoft Azure Central US (azure-centralus). TiDB Cloud Filesystem is supported in this region; TiDB Cloud Starter is not.

Signed-off-by: siddon <siddontang@gmail.com>
@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 Oct 14, 2026
@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: pingcap/docs/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 21a199ea-e377-4c5a-87d0-dce8d060a162
📥 Commits

Reviewing files that changed from the base of the PR and between 97b9ca7 and e1794c7.

📒 Files selected for processing: 2
  • ai/ti/reference/ti-regions-security-and-limitations.md
  • tidb-cloud-filesystem/filesystem-regions-and-limitations.md

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

📝 Walkthrough

The supported-regions tables add Microsoft Azure Central US (azure-centralus). The TiDB Cloud Filesystem table marks the region as supported, and the TiDB Cloud Starter table marks it as not supported.

Changes: Region availability

Layer / File(s) Summary
Supported region availability
ai/ti/reference/ti-regions-security-and-limitations.md, tidb-cloud-filesystem/filesystem-regions-and-limitations.md
Both tables add Microsoft Azure Central US (azure-centralus). The TiDB Cloud Filesystem table marks it supported; the TiDB Cloud Starter table marks it unsupported.

Priority: ⬇️ Low

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

Change: Other

Suggested reviewers: icemap

Merge Risk: 🔵 Low · up to e1794

The documented region has a matching SDK endpoint, but ti v0.2.9 users may still receive unsupported-endpoint errors for Filesystem commands there. This is limited to that CLI and region; coordinate the CLI mapping or clarify its availability before relying on the documentation.

### Architecture Summary

Architecture risk: 🔵 Low · up to e1794

The change affects 2 systems.

Changed systems: ai, tidb-cloud-filesystem

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — ai (service) was modified; 1 changed file maps to changed impact.
  • observed — tidb-cloud-filesystem (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in ai/ti/reference/ti-regions-security-and-limitations.md: The supported-regions table adds Microsoft Azure Central US (azure-centralus), with TiDB Cloud Filesystem supported and TiDB Cloud Starter not supported.
  • observed — Modified behavior in tidb-cloud-filesystem/filesystem-regions-and-limitations.md: The supported regions table adds Microsoft Azure Central US (azure-centralus).
Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Title check Passed The title clearly identifies the documentation update for GCP and Azure Filesystem regions, which matches the pull request objective and changed region tables.
Description check Passed The description includes the required change summary, affected TiDB version, related PR link, AI involvement, and validation results. Optional checklist items are appropriately omitted or completed.
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)
  • Commit to this branch
  • 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

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository: pingcap/docs/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 397bed41-470a-4858-8193-b16c33bd4122
📥 Commits

Reviewing files that changed from the base of the PR and between 1b1d01f and 97b9ca7.

📒 Files selected for processing: 1
  • ai/ti/reference/ti-regions-security-and-limitations.md

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

| AWS | Tokyo | `aws-ap-northeast-1` | Supported | Not supported |
| Alibaba Cloud | Singapore | `alicloud-ap-southeast-1` | Supported | Supported |
| Google Cloud | South Carolina | `gcp-us-east1` | Not supported | Supported |
| Microsoft Azure | Central US | `azure-centralus` | Not supported | Supported |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🔎 Supported by static analysis

🏁 Script executed:

sed -n '20,38p' ai/ti/reference/ti-regions-security-and-limitations.md
rg -n -i 'azure-centralus|drive9|region.*ti release|filesystem region|--region' ai/ti scripts

Repository: pingcap/docs

Length of output: 5194


🌐 Web query:

tidbcloud ti-cli v0.2.9 azure-centralus endpoint mapping release

💡 Result:

I couldn’t verify an **Azure `centralus` endpoint mapping** in **ti-cli v0.2.9**. The release notes identify v0.2.9 as a mount-readiness patch and don’t mention Azure regions or endpoint mappings. ([github.com](https://github.com/tidbcloud/ti-cli/releases/tag/v0.2.9))

The available repository guidance describes endpoint resolution from canonical region codes and lists supported MVP placements—but no Azure region. That guidance is for the repository’s current state, not necessarily the v0.2.9 tag, so it doesn’t establish the exact mapping in that release. ([github.com](https://github.com/tidbcloud/ti-cli/blob/main/AGENTS.md?utm_source=openai))

**Unresolved:** whether v0.2.9 maps `azure-centralus` to any endpoint. The closest source is the [v0.2.9 release page](https://github.com/tidbcloud/ti-cli/releases/tag/v0.2.9); its published notes don’t answer that mapping question.

Citations:

- 1: https://github.com/tidbcloud/ti-cli/releases/tag/v0.2.9
- 2: https://github.com/tidbcloud/ti-cli/blob/main/AGENTS.md?utm_source=openai

🏁 Script executed:

set -eu
python3 - <<'PY'
import json
import urllib.request

base = "https://api.github.com/repos/tidbcloud/ti-cli"
headers = {"Accept": "application/vnd.github+json", "User-Agent": "review-inspection"}
def get(url):
    req = urllib.request.Request(url, headers=headers)
    with urllib.request.urlopen(req) as r:
        return json.load(r)

tree = get(base + "/git/trees/v0.2.9?recursive=1")
paths = [
    item["path"] for item in tree.get("tree", [])
    if item.get("type") == "blob"
    and any(term in item["path"].lower() for term in ("region", "endpoint", "drive9", "filesystem", "fs"))
]
print("candidate paths:")
for path in paths:
    print(path)

print("\nmatching source excerpts:")
for path in paths:
    url = f"https://raw.githubusercontent.com/tidbcloud/ti-cli/v0.2.9/{path}"
    try:
        req = urllib.request.Request(url, headers={"User-Agent": "review-inspection"})
        with urllib.request.urlopen(req) as r:
            text = r.read().decode("utf-8", "replace")
    except Exception:
        continue
    lines = text.splitlines()
    hits = [
        (i + 1, line) for i, line in enumerate(lines)
        if any(term in line.lower() for term in ("azure-centralus", "gcp-us-east1", "drive9.ai", "endpoint"))
    ]
    if hits:
        print(f"\n--- {path} ---")
        for number, line in hits:
            start = max(1, number - 3)
            end = min(len(lines), number + 3)
            for n in range(start, end + 1):
                print(f"{n}: {lines[n-1]}")
PY

Repository: pingcap/docs

Length of output: 42387


🏁 Script executed:

set -eu
python3 - <<'PY'
import urllib.request

base = "https://raw.githubusercontent.com/tidbcloud/ti-cli/v0.2.9/"
for path in ("internal/api/endpoints/endpoints.go", "internal/config/region/region.go", "internal/fswrap/runner.go"):
    url = base + path
    req = urllib.request.Request(url, headers={"User-Agent": "review-inspection"})
    with urllib.request.urlopen(req) as response:
        lines = response.read().decode("utf-8", "replace").splitlines()
    print(f"\n--- {path} ---")
    for i, line in enumerate(lines, 1):
        low = line.lower()
        if any(term in low for term in ("azure", "centralus", "gcp-us-east1", "drive9.ai", "unsupported", "resolvefs", "fsbaseurls", "fallback")):
            for n in range(max(1, i - 3), min(len(lines), i + 5) + 1):
                print(f"{n}: {lines[n-1]}")
            print()
PY

Repository: pingcap/docs

Length of output: 9245


🏁 Script executed:

set -eu
python3 - <<'PY'
import json
import urllib.request

base = "https://raw.githubusercontent.com/tidbcloud/ti-cli/v0.2.9/"
path = "internal/api/endpoints/endpoints.go"
req = urllib.request.Request(base + path, headers={"User-Agent": "review-inspection"})
with urllib.request.urlopen(req) as response:
    lines = response.read().decode("utf-8", "replace").splitlines()
print(f"--- {path} ---")
for start, end in ((1, 75), (135, 235), (253, 325)):
    print(f"\n[{start}-{end}]")
    for n in range(start, min(end, len(lines)) + 1):
        print(f"{n}: {lines[n-1]}")

print("\n--- hosted manifest ---")
manifest_url = "https://drive9.ai/manifest/regions/drive9-regions.json"
req = urllib.request.Request(manifest_url, headers={"User-Agent": "review-inspection"})
with urllib.request.urlopen(req) as response:
    manifest = json.load(response)
print(json.dumps(manifest, indent=2, sort_keys=True))
PY

Repository: pingcap/docs

Length of output: 10587


Remove azure-centralus until a released CLI includes its mapping.

ti v0.2.9 uses its built-in Filesystem manifest by default. That manifest includes gcp-us-east1, but not azure-centralus. Filesystem commands therefore return api.fs_endpoint_unsupported instead of using the documented region. The manifest URL override is limited to test endpoints and is not a supported user configuration.

Suggested fix
--- "a/ai/ti/reference/ti-regions-security-and-limitations.md"
+++ "b/ai/ti/reference/ti-regions-security-and-limitations.md"
@@ -26,7 +26,6 @@
 | AWS | Tokyo | `aws-ap-northeast-1` | Supported | Not supported |
 | Alibaba Cloud | Singapore | `alicloud-ap-southeast-1` | Supported | Supported |
 | Google Cloud | South Carolina | `gcp-us-east1` | Not supported | Supported |
-| Microsoft Azure | Central US | `azure-centralus` | Not supported | Supported |
 
 If your configured region supports TiDB Cloud Starter but not TiDB Cloud Filesystem, you can manage Starter instances in that region. File system commands fail with an `unsupported endpoint` error.
 
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
| Microsoft Azure | Central US | `azure-centralus` | Not supported | Supported |

@qiancai qiancai added translation/no-need No need to translate this PR. area/tidb-cloud This PR relates to the area of TiDB Cloud. and removed missing-translation-status This PR does not have translation status info. labels Oct 15, 2026
@qiancai

qiancai commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

Let's hold this PR until tidbcloud/ti-cli#76 is merged and built. Btw, the GCP support was also included in edff78c (this PR is supposed to be merged later today along with the public preview of the Filesystem console part).

@qiancai qiancai self-assigned this Oct 15, 2026
@qiancai

qiancai commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

/approve

@qiancai qiancai added the lgtm label Oct 15, 2026
@ti-chi-bot

ti-chi-bot Bot commented Oct 15, 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 Oct 15, 2026
@ti-chi-bot
ti-chi-bot Bot merged commit 4da9a61 into release-8.5 Oct 15, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/tidb-cloud This PR relates to the area of TiDB Cloud. 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.

2 participants