Repository navigation
Drop the Pyodide test that resolved a real host name - #8936
Merged
Merged
Conversation
an_unresolvable_host_names_the_request looked up pyodide-bundle.invalid through the system resolver. How long that takes depends on the machine's DNS configuration, not on workerd: about 1 s on some CI hosts, and on others long enough to use up the crate test's whole 15 s timeout, retrying search domains before the resolver gave up. Every case after it was then left unrun. A failed lookup and a refused connection reach the Pyodide code the same way, as the error of kj_hyper::client::connect_allowed(), which download() wraps with request_error(). a_refused_connection_names_the_request already checks that wrapping, without leaving the machine, so this drops the lookup test rather than replacing it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
an_unresolvable_host_names_the_requestlooked uppyodide-bundle.invalidthrough the system resolver. How long that takes depends on the machine's DNS configuration, not on workerd. On some CI hosts it took about 1 s, which was nearly the wholeworkerd-server_testrun. On others the resolver retried search domains for long enough to use up the crate test's 15 s timeout. The cases after it never ran, because libtest runs them one at a time in name order.A failed lookup and a refused connection reach the Pyodide code the same way: as the error of
kj_hyper::client::connect_allowed(), whichdownload()wraps withrequest_error().a_refused_connection_names_the_requestalready checks that wrapping without leaving the machine, so this drops the lookup test instead of replacing it.workerd-server_test, five runs each: debug max 0.2 s (was 1.2 s), ASan max 0.6 s.🤖 Generated with Claude Code