HydraCache 0.50.0
HydraCache 0.50.0
0.50.0 adds the interactive cluster simulator demo: a seed-reproducible browser
experience built on the 0.44 hydracache-sim engine. The demo lets users
partition, heal, crash, and restart simulated nodes while watching leader/term
state, committed-log agreement, consistency outcomes, convergence, and the real
invariant-checker verdict.
This is a DevRel and onboarding artifact. It does not replace the deterministic
simulation testing gate, and it does not add production cluster behavior.
Highlights
- Added
hydracache-sim-wasmbrowser bindings over the simulator engine. - Added a stable
SimSnapshotJSON schema for browser rendering and shared
replay state. - Added the static web UI for topology controls, node/link state, invariant
verdicts, seed replay, and scenario presets. - Added seed sharing so a demo run can be reproduced by URL or copied seed.
- Added curated presets for normal convergence and honest failure scenarios.
- Added guardrails so the UI displays simulator verdicts rather than painting a
synthetic green state. - Added an optional sandbox-backed
/sim/*route path for server-driven demos. - Closed pre-0.50 documentation debt around COMPAT entries, dangling plan links,
ADR numbering, and deferred technical-debt homes.
Verification
Focused gates:
cargo xtask doc-check
cargo test -p xtask --locked
cargo test -p hydracache-sim --locked snapshot_schema
cargo test -p hydracache-sim --locked scenarios
cargo test -p hydracache-sim --locked demo_scenarios_match
cargo test -p hydracache-sandbox --locked sim_routesFull gate:
cargo xtask verifyThe browser/WASM smoke and static-site packaging run as the DevRel tier outside
the core cargo xtask verify path.
Scope Boundary
The simulator demo is a truthful teaching surface over the deterministic model,
not a production operator console or a correctness gate. The authoritative gate
remains the simulator/VOPR test stack and cargo xtask verify.
Release Status
Published as 0.50.0 after the simulator, doc-check, and demo packaging gates.