If you ship to a global audience, there is one failure mode your CI never catches: the site works in every region you test from, and does not work from mainland China.
I put a real mainland-China residential probe behind a small REST endpoint and wrapped it in a composite GitHub Action. You can now assert China reachability in the same pipeline that runs your tests.
Usage
- id: cn uses: lsl17625394467/china-reachability-api@v1.0.0 with: url: https://your-domain.com fail-on-blocked: true - run: echo "${{ steps.cn.outputs.verdict }} ${{ steps.cn.outputs.ms }}" It emits a job summary with the five stages (DNS, TCP, TLS, TTFB, total), so a failed run tells you which layer broke instead of just "timeout".
Why five stages and not one number
- DNS resolves, TCP never connects: IP-level blackhole. Change the edge, not the DNS.
- TCP connects, TLS is 0ms: handshake reset at the SNI/IP layer. A new certificate does nothing; a new landing does.
- Everything connects and numbers are just big: it is not blocked, it is slow. Shorter timeouts plus a fallback CDN beats moving the server.
"Blocked in China" and "slow in China" have different fixes and very different costs.
Free tier
curl "https://china-reach-audit.2390098382-380.workers.dev/audit?url=https://example.com" returns five timings, an edge IP, a verdict and a shareable report id. 120 requests/hour, no key.
There is an MCP server at /mcp for agents, and the underlying dataset (88 services measured from Shanghai Telecom residential broadband) is public: https://lsl17625394467.github.io/china-reachability-api/services.html