Repository navigation
Merged
Conversation
… a down host (#2412) Root cause: build_https_fetch_source (lib/std/build.w), the fetch program every download action compiles, opened one TCP connection to the host and returned 3 on the first failure (`no connection to {host}:{port}`); only the download after a successful probe retried. A resolver blip on the release host failed all four corpus downloads at once, while the same servers answered minutes later. The probe now makes ATTEMPTS (5) tries, pausing 1, 2, 3 and 4 s between them (ten seconds in all, inside the 20 s download budget the source-cache test gives a fetch), and names the count when it gives up. Test: build/source_fetch.w's source-cache `no-cache` case (a source on 127.0.0.1:1) now also requires `no connection to 127.0.0.1:1 after 5 attempts`; the old program printed `no connection to 127.0.0.1:1 (waited at most N s)`.
ehartford
marked this pull request as ready for review
October 25, 2026 21:59
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.
Root cause: build_https_fetch_source (lib/std/build.w), the fetch program
every download action compiles, opened one TCP connection to the host and
returned 3 on the first failure (
no connection to {host}:{port}); onlythe download after a successful probe retried. A resolver blip on the
release host failed all four corpus downloads at once, while the same
servers answered minutes later.
The probe now makes ATTEMPTS (5) tries, pausing 1, 2, 3 and 4 s between
them (ten seconds in all, inside the 20 s download budget the source-cache
test gives a fetch), and names the count when it gives up.
Test: build/source_fetch.w's source-cache
no-cachecase (a source on127.0.0.1:1) now also requires
no connection to 127.0.0.1:1 after 5 attempts; the old program printedno connection to 127.0.0.1:1 (waited at most N s).Closes #2412