Repository navigation
Revert the mainland zone trial (#102, #103) - #104
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
website2markdown | 8346226 | Nov 21 2026, 12:49 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts #102 and #103. The tree is identical to #101 (
git diff e197ea3 HEADis empty).Why
#102 and #103 were a trial: retry a mainland China host through the general proxy with a mainland zone in the username. The trial failed in production.
After #103 deployed, four mainland URLs were requested. All four returned 504, and
provider_attempts_dailyshowsproxy_pool_mainlandat 4 attempts, 4 failures. The Worker logs show every attempt ending one of two ways:Proxy CONNECT tunnel rejected with status 407: HTTP/1.1 407 Proxy Authentication RequiredProxy response timed out after 9000msSo the username with the appended zone is not accepted. Either the format is wrong or the account has no mainland exit; neither can be established from here.
Effect
PROXY_POOL_MAINLANDunset, a mainland host that times out gets the "only answer visitors inside mainland China" 504 at once, and the mainland pool is used as soon as one is configured.Checks
npx tsc --noEmit -p . && npx tsc --noEmit -p web/tsconfig.jsonnpx vitest run: 949 pass (the two tests added by Reach mainland China hosts through the general proxy's mainland zone #102 and Append the mainland zone to a proxy username that names no zone #103 are removed with them).