Skip to content

macOS integration binaries script often falls back due to GitHub API rate limits #3960

@wlwilliamx

Description

@wlwilliamx

tests/scripts/download-integration-test-binaries-macos.sh resolves the latest TiDB version via the GitHub REST API (/repos/pingcap/tidb/releases/latest).

In environments where many developers/CI share the same egress IP, anonymous GitHub API requests frequently hit the rate limit (HTTP 403), causing the script to fall back to the hard-coded version (currently v8.5.2). This makes the “default: latest” behavior unreliable.

Proposed fix: resolve the latest tag by following the redirect from https://github.com/pingcap/tidb/releases/latest and extracting the tag from the final URL, which avoids REST API rate limiting.

Metadata

Metadata

Assignees

Labels

type/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions