Skip to content

Support supplied HTTP clients under TinyGo - #89

Merged
andrew merged 2 commits into
mainfrom
tinygo-transport
Sep 26, 2026
Merged

andrew merged 2 commits into
mainfrom
tinygo-transport

Conversation

@andrew

@andrew andrew commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

Separate native DNS caching and transport setup so fetch and registry clients compile under TinyGo while retaining native behavior and APIs.

TinyGo artifact fetching requires a client supplied through WithHTTPClient. The default fetch transport and clients created by safehttp.New return errors.ErrUnsupported, since TinyGo cannot enforce their dial-time address checks. Document the host's responsibility for address and redirect restrictions, and add public API coverage plus WebAssembly and WASI build checks.

Copilot AI lite review requested due to automatic review settings September 26, 2026 09:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@andrew
andrew merged commit a5ff48a into main Sep 26, 2026
8 checks passed
@andrew
andrew deleted the tinygo-transport branch September 26, 2026 20:19
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.

2 participants