Consider implementing a Fuzz test for `wit-bindgen-go wit`

Open
#180 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions, go, wasm
Domain
ci-cd, testing-qa

Research direction

Start by reading the wit-bindgen-go wit command and the referenced Go fuzzing guidance, then inspect the wit-smith command in wasm-tools. The work is done when a GitHub Action continuously generates valid WIT packages and verifies the WIT → JSON → WIT roundtrip.

Written by the indexing model from the issue text.

Description

Please consider adding a GitHub Action that continuously generate valid WIT packages and verify the roundtrip from WIT -> JSON -> WIT in wit-bindgen-go wit works. There is a wit-smith command in wasm-tools that generates a valid WIT package which could be useful.

Reference:

  1. https://go.dev/doc/security/fuzz/
  2. https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-smith
Dominant language
Go
Stars
148
Forks
20
PR merge metrics
No merged PRs in 30d

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.

More from bytecodealliance/go-modules

All issues in bytecodealliance/go-modules

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.