Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Python SDK tests when external package loading is enabled. #3347

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

dom96
Copy link
Collaborator

@dom96 dom96 commented Jan 16, 2025

Some explanation of the failure here: The internet outbound in workerd is the one that fetch targets, so since we fetch packages in workerd and this test points fetch at a custom Python server, it goes into an infinite loop due to the Python server attempting to load packages from ... itself.

Solution here is to create a JS proxy that either sends the requests onto the Python server or to the internet.

@dom96 dom96 requested review from a team as code owners January 16, 2025 17:32
@dom96 dom96 merged commit 9a2af70 into main Jan 17, 2025
15 checks passed
@dom96 dom96 deleted the dominik/EW-8976 branch January 17, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants