WebAssembly / WebAssembly/WASI

Inconsistency with wasi:http@0.2.0 snapshots

Open
#589 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P-http S-inactive
Dominant language
Rust
Stars
5.8k
Forks
333
Avg merge
2d 13h
Merged PRs (30d)
3

Description

It looks like the wasi:http@0.2.0 package in this repository only provides the proxy world, but the wasi:http@0.2.0 package over in https://github.com/WebAssembly/wasi-http/blob/main/wit/proxy.wit#L5 also provides the imports world.

This can confuse some tooling (and humans) because both (the same?) packages are versioned as 0.2.0 but don't supply the same worlds.

It'd be great if we could sync them now and then implement a way to ensure they stay in sync with future updates.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare preview2/http/proxy.wit in the WASI repository with wit/proxy.wit in the wasi-http repository, focusing on the worlds exposed by the wasi:http@0.2.0 package. Determine how the definitions should be synchronized and how future divergence could be detected. Done means the 0.2.0 snapshots agree and a maintainable synchronization check or process is established.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
api, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.