Skip to content

feat(vindex/mapfn): add WASM guest SDK, wazero sandbox host, examples, and CLI - #180

Open
mhutchinson wants to merge 2 commits into
transparency-dev:mainfrom
mhutchinson:vindex/mapfn
Open

mhutchinson wants to merge 2 commits into
transparency-dev:mainfrom
mhutchinson:vindex/mapfn

Conversation

@mhutchinson

@mhutchinson mhutchinson commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor
  • Add zero-allocation WASM guest SDK (vindex/mapfn/sdk) and zero-I/O WASI preview1 Wazero sandbox host (vindex/internal/wasmhost).
  • Add canonical MapFn plugins for Starter, Go SumDB, and Certificate Transparency (vindex/mapfn/examples).
  • Add offline vindex-wasm CLI for inspecting, testing, determinism-checking, and benchmarking WASM mappers (vindex/cmd/vindex-wasm).

…, and CLI

- Add zero-allocation WASM guest SDK (vindex/mapfn/sdk) and zero-I/O WASI preview1 Wazero sandbox host (vindex/internal/wasmhost).
- Add canonical MapFn plugins for Starter, Go SumDB, and Certificate Transparency (vindex/mapfn/examples).
- Add offline vindex-wasm CLI for inspecting, testing, determinism-checking, and benchmarking WASM mappers (vindex/cmd/vindex-wasm).
… CLI

- Drop unused github.com/google/go-cmp dependency in favor of stdlib slices.EqualFunc.
- Move test fixture builder into internal/wasmhost/wasmtest so production wasmhost avoids os/exec and unused TestWASMHost.
- Remove duplicate wasmhost tests, dead decodeBundleOutput wrapper, and duplicate benchmark; wire DefaultBundleSize across wasmhost and vindex-wasm.
- Require --wasm uniformly across vindex-wasm subcommands instead of positional-arg heuristics.
- Consolidate mapfn/sdk into a single file and compute KeyHash after key deduplication.
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.

1 participant