Skip to content

feat: add deterministic Faker library - #1

Merged
vitalics merged 1 commit into
mainfrom
feat/initial-faker
Oct 26, 2026
Merged

vitalics merged 1 commit into
mainfrom
feat/initial-faker

Conversation

@vitalics

Copy link
Copy Markdown
Contributor

Summary

  • Add the initial Rust/WASM Faker library with internet, address, and payment generator functions.
  • Support optional with.language (en, the default) and with.encoding (plain, the default, or url).
  • Use only the Perfscale SDK seeded PRNG; no external faker crate, filesystem, WASI random/clock, network, or capability grants.
  • Generate reserved-domain emails, synthetic addresses, a Visa test number, expiration dates, and CVV values.
  • Document the API, URL encoding for HTML forms, determinism, limitations, and Docker consumption.
  • Add CI with a local SQLite e2e and a release pipeline publishing faker.wasm, its checksum, and a multi-arch artifact-only GHCR image.

This uses the stable Library SDK and does not change the engine or implement the draft custom-step RFC.

Validation performed locally

  • cargo fmt --all -- --check
  • cargo test — 9 tests passed
  • cargo clippy --all-targets -- -D warnings
  • cargo clippy --target wasm32-wasip2 -- -D warnings
  • cargo build --release --target wasm32-wasip2
  • Official Perfscale v0.28.0 Docker image: lint and real e2e passed with E2E_OK, one iteration, and zero database/library errors
  • actionlint for CI and release workflows
  • Scratch artifact image build, including linux/amd64 + linux/arm64 buildx validation

@vitalics
vitalics merged commit 9f9648c into main Oct 26, 2026
3 checks passed
@vitalics
vitalics deleted the feat/initial-faker branch October 26, 2026 18:30
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