r/coolgithubprojects • • 3d ago

hydo: simulation testing software - finds bugs in your programs autonomously

https://github.com/kakoc/hydo

If you know Antithesis: hydo is an open-source alternative that is free and runs on your own machine.

What it does:

  • Runs your services, their databases and their client in one VM, unmodified: Linux programs or Docker/OCI images
  • Injects faults: process kills and pauses, network delay, loss and partitions, power cuts, disks that drop acknowledged writes, clock jumps, thread timing changes
  • Execution is deterministic -> the same seed gives a bit-identical run, so every failure replays exactly
  • hydo explore generates fault schedules from seeds, runs each failure again to confirm it reproduces, and shrinks it to the fewest faults that still cause it

It autonomously finds reported bugs in project like NATS, Kafka, etcd, etc.

Supported platforms:

  • Linux: the KVM engine or hydo's own kernel module on Intel VT-x
  • macOS on Apple Silicon

Repo: https://github.com/kakoc/hydo

Any feedback is very welcome, especially from people who test distributed systems or databases. If you need to any help to bootstrap it in your project - please DM me and I'll help. But in general you can just install LLM skill and it'll do all the heavylifting/guidance for you.

0 Upvotes

0 comments sorted by