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.
tests/scripts/download-integration-test-binaries-macos.shresolves 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/latestand extracting the tag from the final URL, which avoids REST API rate limiting.