Skip to content

Support TinyGo readers and opt-in synchronization - #2

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

Move the native HTTP transport setup behind a build tag so the readers and synchronization API compile under TinyGo without changing native behavior.

TinyGo cannot enforce the connection-time public-address policy, so synchronization returns ErrUnprotectedTransport unless the caller enables AllowPrivateAddresses. Callers can supply a host-compatible HTTP client and enforce address and redirect restrictions there. Add coverage for policy refusal and a complete fixture import, plus WebAssembly and WASI build checks.

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

Copilot AI left a comment

Copy link
Copy Markdown

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 fe5a039 into main Sep 26, 2026
8 checks passed
@andrew
andrew deleted the tinygo-transport branch September 26, 2026 19:44
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