Reproduce local verification

Run the full acceptance suite, inspect the receipt, and replay the benchmark fixtures.

Markdown

The local verifier builds the native engine, the WebAssembly artifact, and the console. It verifies 48 specification requirements with SQL, driver, browser, CLI, recovery, and storage fixtures.

Run the acceptance suite

Install PostgreSQL 18 with server programs, libpq, and SSL-enabled psql. The two corpus replays use PostgreSQL 18.7. Install desktop Google Chrome for the browser journey. Run these commands from your checkout:

make setup
make verify

The verifier writes a JSON receipt and per-command logs under .local/verification. The versioned receipt in verification/local.json records the reference tool versions, artifact hashes, suites, and the requirement-to-fixture mapping. Browser, CLI, and SQL tests use isolated local state.

For a shorter scale run use PGD_QUAL_ROWS=60000 make verify. For the browser-to-database flow alone, run python3 tests/management.py after building the app.

Reproduce the benchmark workloads

sh runtime/build-wasm.sh
PGD_QUAL_CASE="Indexed ordinary writes" PGD_QUAL_ROWS=300000 node qualification/worker.mjs
node qualification/paired-storage.mjs

The first command builds the Wasm artifact. The next two measure warm point reads and compare physical write publication under identical local workerd workloads. Exact wall times depend on the machine and load. The benchmark page describes the workload, sample size, and scope for the published run.

Local benchmarks · Compatibility results