Skip to content

v0.2.0

Choose a tag to compare

@rawphp rawphp released this 08 Jul 13:04
· 437 commits to main since this release

Golden-snapshot DB provisioning (S2) — opt-in per-worker MySQL isolation for warm-mode test runs.

Highlights

  • S2 — golden-snapshot DB provisioning (WARP_DB=1): per-worker copy-on-write clones of a content-addressed golden MySQL datadir, served by throwaway mysqld instances on private unix sockets. Replaces the ~14.4s per-worker migrate/seed fixed cost with a ~2s clone+boot; parallel-safe by construction.
  • WarpMode::databaseEnabled(), SnapshotDatabaseManager (apply/recycle/shutdown), warpRecycleDatabase() test helper, warp.db.* config surface, WARP_DB_MYSQLD / WARP_DB_SNAPSHOT_DIR / WARP_DB_RUNTIME_DIR env overrides.
  • bench/db-provision.sh — S2 gate harness (fixed-cost delta + 4-way multi-mysqld PoC).

No breaking changes since v0.1.0.

See CHANGELOG.md for full details.