Repository navigation
Releases
hydo 0.5.0
hydo 0.5.0
hydo runs your whole system (its services, their disks and network) in a virtual machine,
breaks it with faults, and replays every failure exactly. This release gives each image a new
fingerprint epoch with fixes inside the guest, makes explorations faster and easier to judge,
adds faults of a disk's blocks and a kill at the exact moment of an event, and ships the
onboarding skill inside hydo's own release. Projects that pin hydo_version: "0.3" keep
working.
Before you upgrade
- From 0.4.1, run
hydo updatetwice.hydo updateof 0.4.1 updates hydo only. Run
hydo updateonce more with 0.5.0 to bring every copy of the skill to 0.5.0. hydo 0.4.1
reads the skill from the oldskill-vreleases only. From 0.4.0 or older, upgrade by hand as
docs/INSTALL.md, section "Upgrading", says, then runhydo updatewith 0.5.0 for the skill. - Build your images again: they get new fingerprints. An image that 0.5.0 builds is at the
fingerprint epoch 5. An image built by 0.4.x keeps its epoch, its bytes and its fingerprints
under 0.5.0, so a saved fingerprint stays valid until you build again. Fingerprints of
different epochs are not compared;hydo reprothen compares the verdicts. - What epoch 5 changes inside an image:
- An image service (a service from a Docker or OCI image) binds its system folders and its
mounts:once per boot under one lock. Before, a readiness check that started with the
service could bind/deva second time over the service's/dev/shmtmpfs. - Each image service has a
/tmpof its own, as a container has, and/sysis bound
recursively, so it finds the cgroup2 files. A program that shared files in/tmpwith
another service or with the workload no longer sees them; use a folder ofmounts:. - On hvx, an x86_64 image keeps time with its TSC (
guest.exact_tick): the guest's clock
follows the virtual TSC at every uptime. Before, a busy guest's clock nearly stopped after
some minutes, and long runs endedTIMEOUT workload. A verdict that depends on the guest's
timeouts can change. - On the Mac, an image's root keeps its hard links, so an image with many hard links takes
much less guest RAM. - A timed pause of threads (
P=workload/<thread>) takes the workload's largest session and
leaves out a thread that ended.
- An image service (a service from a Docker or OCI image) binds its system folders and its
- Drawn schedules have new texts. The explorer writes
dseed=0where the disk's seed
decides nothing, so an exploration of the same seeds prints other schedule strings than 0.4.x.
A saved regression keeps its text and its run. - On Linux with hvx, keep the kernel module you have. It did not change since 0.3.1.
- The onboarding skill has hydo's version, 0.5.0. It comes in this release as
hydo-skill-0.5.0.tar.gz; the old skill releases 1.0.0 to 2.4.0 count as older.
New
- Explorations.
- A schedule that ran once runs once: a first run or a shrink candidate whose schedule the
exploration already ran takes the earlier result without a VM (--rerun-repeatsruns them
all). stats.jsonandhydo stats: the curve of new behaviour with a judgement, the cost by
role and by worker, the faults drawn againstfaults:, and how many runs fit in a budget.
hydo reportand its web page show it.hydo explore --shard I/Nandhydo explore --merge DIR... --out DIRsplit one exploration
over many machines and merge the parts without a VM. The workflow
.github/workflows/explore.ymlruns up to 20 parts on GitHub's KVM runners.- The explorer shrinks a service that does not start again and a workload that does not end.
The system's detection of damage is shrunk only with--shrink-detected-damage. - On the Mac, workers of one exploration share their guest RAM: a worker holds only the pages
it writes, so more workers fit. - Each problem of
hydo reportnames thehydo runcommand that makes its run directory, and
hydo inspect diagnose <explore dir> --problem Nreads it.
- A schedule that ran once runs once: a first run or a shrink candidate whose schedule the
- Faults.
- Faults of the disk's blocks on the Mac and KVM engines: a torn write at a power cut
(torn=), a misdirected write (mis=), bad sectors (lse=, andG=<svc>@<at>:bad|rot
under a file), and a request without an answer (hang=);hydo explore --block-faults. kill-now-<svc>kills a service at the moment of a console event, before any of its
threads runs on;hydo explore --kill-now.
- Faults of the disk's blocks on the Mac and KVM engines: a torn write at a power cut
- Checks and evidence.
- Which error paths ran (
error_paths: true, the Mac engine):hydo report --pathslists the
error-handling places that only faults reached and those that never ran. - Walks through a web app keep a filmstrip of every action, and a failing run keeps the
Playwright trace of every step, also across a power cut.browser.read_backchecks that
the pages show every object the server acknowledged. - The shell assertion SDK
hydo/sdk/hydo_assert.shis in both releases (hydo guide hydo_assert.sh).
- Which error paths ran (
- Onboarding.
hydo compose,hydo k8sandhydo-fetch-imageread the credential thatdocker login
saved, for images in private registries, andhydo compose --from-dockersaves an image
from the local Docker.hydo buildestimates whether an image's roots fit into the Mac's guest RAM and hvx's disk,
and warns before the build.hydo composewritesroot.share_images: truefor services of one image.- The clock audit leaves out test code and ranks first the code of the programs that the
services run. hydo update,hydo skill updateandhydo doctorwork under GitHub's rate limit: they
sendGH_TOKEN,GITHUB_TOKENorgh auth tokento GitHub's API only, and say when the
limit resets.
- Function fuzzing (
hydo fuzz). Enumerations, trait methods and values built by a
constructor; generic containers, private error fields, constructors without arguments and
fallible constructors; clearer reports when a test module does not build.
Fixed
- The s3 emulator's proxy keeps the service's
Content-Lengthand whole bodies, so uploads
through it no longer vanish. rclone answers conditional writes with 412 as S3 does. hydo exploreandhydo runexit with status 5 when they refuse before any run, with a JSON
line under--json.- A root too big for the guest's RAM, and a run that used up the engine's exit budget, get
verdicts of their own. - The quickstarts were checked against the release candidates (release step 6a): the Linux page
names the fingerprint epoch 5, both pages say which failureshydo exploreshrinks since this
release, and their exploration results, minimal schedules and fingerprints are this release's.
Known and deferred
- On KVM, a fingerprint on Intel differs from the one on AMD; the verdicts are the same.
- The deferred findings of 0.4.0's docs review stay deferred (0.4.0's release notes).
- The README's animation shows an exploration of 30 runs, not the quickstart's 20 (deferred since
0.4.0: the animation is drawn from a recorded run and does not change hydo's behaviour). - On hvx, the guest's clock of an image built by 0.4.x keeps the old timer tick; build the image
again with 0.5.0 to get the clock that follows the virtual TSC.
Downloads
Every file below is built from the release commit 4d43a6bd2a7bb0e3a2da54597c625cbeffd128e7, the commit of the tag v0.5.0;
hydo --version names it.
hydo-linux-0.5.0.tar.gz(x86_64 Linux: Intel VT-x with hydo's kernel module, or KVM) and
hydo-mac-0.5.0.tar.gz(Apple Silicon Mac, signed and notarized).hydo-linux-0.5.0-sources.tar.gzandhydo-mac-0.5.0-sources.tar.gz: the corresponding source
of the third-party software in each tarball (THIRD-PARTY.md in each tarball lists it).hydo-mac-0.5.0-signatures.tar.gz: the Mac programs' signatures. The published Mac tarball is
the unsigned build of this tag with these signatures attached
(hydo/dist/mac/attach-signatures.sh, docs/design/signing.md).hydo-skill-0.5.0.tar.gz: the onboarding skill, the plugin folder ashydo/.hydo skill updateandhydo updateinstall it after they check its line inSHA256SUMS.SHA256SUMSlists all six files.
hydo 0.4.1
hydo 0.4.1
hydo runs your whole system (its services, their disks and network) in a virtual machine,
breaks it with faults, and replays every failure exactly. This release adds hydo update, one
command that updates hydo and every copy of its onboarding skill, and fixes five problems that a
user met while onboarding a project with 0.4.0 on a Mac. It comes early so that the manual
upgrade from 0.4.0 is the last one. Projects that pin hydo_version: "0.3" keep working.
Before you upgrade
-
This is the release with
hydo update. hydo 0.4.0 and older do not have the command, so
you upgrade to 0.4.1 by hand, for the last time, the way you installed hydo:- Homebrew:
brew update && brew upgrade kakoc/tap/hydo. - cargo:
cargo install hydo --locked, thenhydo setup. - The release archive: download only your platform's
hydo-<mac|linux>-0.4.1.tar.gzand
SHA256SUMS, check the archive (shasum -a 256 -c --ignore-missing SHA256SUMS, on Linux
sha256sum -c --ignore-missing SHA256SUMS), unpack it and run itsinstall.sh(on Linux
with--no-modulewhen you use the KVM engine). You do not need the-sources.tar.gz
archives: they hold the sources of the third-party software, not hydo.
Then update the onboarding skill once by hand:
hydo skill updatefor its copies, and
claude plugin marketplace update hydoandclaude plugin update hydo@hydofor Claude Code's
plugin. docs/INSTALL.md, section "Upgrading", has the same steps. From 0.4.1 on,hydo update --checkshows what is newer andhydo update --yesdoes all of it. - Homebrew:
-
hydo doctorlooks for a newer release. It asks GitHub's release list at most once a day,
waits at most 3 seconds, keeps the answer in~/.hydo/update-check.json, and prints one line
when a newer hydo exists.HYDO_UPDATE_CHECK=0orHYDO_OFFLINE=1turns the look off. hydo
also records each copy of the skill that it installs in~/.hydo/skill-copies.txt, so that
hydo updatefinds it later. -
Your images keep their fingerprints. The fingerprint epoch stays 4, and no engine, guest
kernel or guest agent changed: an image built by 0.4.0 gives the same fingerprints and verdicts
under 0.4.1. When you build an image again, only an image with fakes, proxies or generated gRPC
drivers gets new bytes, because hydo's own guest programs (hydo-world,hydo-world-tls,
hydo-grpc) carry the version. -
On Linux with hvx, keep the kernel module you have. It did not change since 0.3.1.
-
The onboarding skill is 2.4.0. Its first step runs
hydo update --checkand offers the
update. With a hydo older than 0.4.1 it offers the manual upgrade above instead.
New
hydo update [--check] [--yes] [--version V]updates hydo the way it was installed: with
Homebrew (brew upgrade kakoc/tap/hydo), with cargo (cargo install hydo --locked --version V
into the same folder, thenhydo setup), from the release archive (it downloads only this
platform's archive andSHA256SUMS, installs the archive only when its sha256 is the listed
one, and runs itsinstall.sh), or in the install cache (hydo setup --get). A hydo built in
a checkout changes nothing and prints the commands. It then updates every copy of the
onboarding skill that it finds: the copies in.claude/skills/hydoand
.agents/skills/onboard, theskills/hydofolder of each Claude Code configuration folder,
every copy that hydo recorded, and Claude Code's pluginhydo@hydothroughclaude plugin update.--checkchanges nothing and exits with status 3 when something is newer. Without
--yes, a terminal is asked once; an AI tool's shell gets the plan and the exit status 3.
hydo guide updateis the reference.
Fixed
- YAML anchors in
hydo.yaml. A manifest withx-common: &commonand<<: *commonstopped
withunexpected indentation. hydo now reads anchors, aliases and<<merge keys as PyYAML's
safe_loaddoes, and drops a top-levelx-key, as Compose does. - FIFOs of an image service. A FIFO in an image's layers (one that
mkfifomade) was left
out of the image, so a service that reads it did not start. It is now a FIFO in the service's
root, with its owner and mode. Device nodes are still left out. - Emulators with
network: bridge. A manifest withemulators:andnetwork: bridgewas
refused (addr: required). The emulator's service now gets the entry's newaddr:key or a
free address of 10.89.1.x, listens where its proxy reaches it, and a manifest's own
/etc/hostsgets lines for the emulator and its proxy. - The diagnosis of a service that did not start in its recovery boot. When the service's
last log lines name a cause in its environment (permission denied, a read-only file system,
memory, an address in use, a program that cannot run) and none names damaged or missing data,
the diagnosis now says so and quotes the line, instead of letting "committed data
unrecoverable" stand alone. The verdict is the same. hydo explore's memory warning on the Mac and on KVM counted the image beside the guest's
RAM and warned about runs that fit. A worker is now counted as its guest RAM and 256 MiB, the
warning says what to do (--workers), and the Mac's free memory counts the speculative pages.- MANIFEST.md said that
hydo composeon a Mac passes--no-addr. On a Mac too it writes
network: bridgeand the addresses;--no-addris for a guest kernel without network
namespaces. - The README, docs/INSTALL.md "Upgrading",
hydo guide updateand MANIFEST.md's changed sections
were checked by a fresh reader against the release candidates (release step 6a):hydo guide updatenow names the folders whose copies it updates without "this repository", and the
upgrade notes say which images get new fingerprints from which version.
Known and deferred
hydo updateran against a fake release and fakebrew,cargoandclaudeprograms in the
tests, and its--checkagainst GitHub's real release list. No realbrew upgrade,cargo install,install.shorclaude plugin updateran through it yet; 0.4.1 is the first release
it can update from.- The service launcher's race that can hide a service's
/dev/shmtmpfs in a recovery boot is
understood, but its fix changes the bytes of every image with an image service, so it waits for
0.5.0. 0.4.1 fixes only the diagnosis that blamed lost data. - The deferred findings of 0.4.0's docs review stay deferred (0.4.0's release notes).
- On KVM, a fingerprint on Intel differs from the one on AMD; the verdicts are the same.
Downloads
Every file below is built from the release commit 14e098736a19814f3e4e56f9c5a5e0d0ce54fc05, the commit of the tag v0.4.1;
hydo --version names it.
hydo-linux-0.4.1.tar.gz(x86_64 Linux: Intel VT-x with hydo's kernel module, or KVM) and
hydo-mac-0.4.1.tar.gz(Apple Silicon Mac, signed and notarized).hydo-linux-0.4.1-sources.tar.gzandhydo-mac-0.4.1-sources.tar.gz: the corresponding source
of the third-party software in each tarball (THIRD-PARTY.md in each tarball lists it).hydo-mac-0.4.1-signatures.tar.gz: the Mac programs' signatures. The published Mac tarball is
the unsigned build of this tag with these signatures attached
(hydo/dist/mac/attach-signatures.sh, docs/design/signing.md).SHA256SUMSlists all five files.
hydo 0.4.0
hydo 0.4.0
hydo runs your whole system (its services, their disks and network) in a virtual machine,
breaks it with faults, and replays every failure exactly. This release walks through a web app's
pages by itself, also on a Mac, records chosen values at every call and checks rules over them,
fuzzes single Rust functions, compares two versions of a system, and explores configuration
settings. Projects that pin hydo_version: "0.3" keep working.
Before you upgrade
- Images built by 0.4.0 get new bytes and new fingerprints on every engine. The fingerprint
epoch is 4 now. A saved regression is no longer inside the image:hydo buildwrites the
regressions beside it as<image>.regressions.json, so saving or editing one leaves the image's
bytes as they were. The guest mounts cgroup2 on/sys/fs/cgroupat every boot
(guest.cgroup2: falseturns it off). On the Mac and on KVM a fingerprint hashes the disk and
the RAM as trees of 4 KiB blocks, so a fingerprint of a 4 GiB guest takes about 43 ms instead
of about 1 s. A timing-dependent verdict can change too: of the examples' recorded schedules,
four on hvx, one on the Mac and two on KVM gave another verdict at epoch 4 and were replaced
(docs/REBASELINE.md section 26). On KVM the quickstart's lost write isdisk=cut | run C=12 R=everysecagain, as on the other engines. An image built before keeps its bytes, its
fingerprints and its verdicts. - Copy
<image>.regressions.jsonwith an image.hydo repro --regressionsandhydo ci run
read the saved regressions from that file. - Rebuilt images with fakes, proxies or generated gRPC drivers get new bytes. hydo's own guest
programs (hydo-world,hydo-world-tls,hydo-grpc) carry the version. - On Linux with hvx, keep the kernel module you have. It did not change since 0.3.1.
- The onboarding skill is 2.3.3. Claude Code offers the update (
claude plugin update hydo@hydo). For other AI tools, runhydo skill update.
New
- Walks through a web app's pages.
browser.exploreneeds no test. hydo clicks, types, and
saves through the pages from a seed (the tokenI=), watches each page for uncaught errors,
spinners that stay, and failed requests the page never shows, and shrinks a failing walk to a
few actions. Every run leaves the walk as a Playwright test,screens/repro.spec.ts, and a
recording replay adds a video and a trace of the run that failed. Screenshots go to the run
folder, andbrowser.screens: comparecompares each page with a recorded reference. - Web apps on the Mac.
browser:andbrowser.explorerun on an Apple Silicon Mac. Such an
image's root is a read-only file system on its disk (guest.root: disk). - Value history and value properties.
// hydo: keyand// hydo: recordlines next to a
function record chosen values at every call, andhydo inspect valuesshows each key's values
in the run's order. A// hydo: keepline says what must hold along each key's history, and a
run that breaks it fails with a finding that names the line. On the Blnk example the run without
faults, where every business rule held, fails on the overdraft limit. Mac engine first. - Function fuzzing.
hydo fuzztests one Rust function at a time, with inputs generated from
itsrequiresandinputlines, judges each call by itsensures, and shrinks a failure to an
input that replays. Each function ends with one verdict, alsovacuouswhen nothing was
tested.hydo fuzz --vmruns the calls inside the virtual machine under power cuts, disk
errors, clock steps and pauses, and// hydo: durablechecks each call again after a cut. - Faults inside a call. A named call (
E=) reports its start, and a reaction cuts the power,
steps the clock, pauses the call or its thread, or kills it a few milliseconds later. - Two versions side by side.
hydo compare-versionsruns the same schedules on two versions
and reports where the verdicts, the client's outcomes, or the stored state differ
(services[].compare). It writescompare.json. - Configuration settings.
configs:lists a build parameter's values, andhydo explore --configsexplores one image per combination with the same seeds. Its table names the values
each failure needs, and a setting's documented trade-off. - hydo in CI.
hydo ci pagewrites the history store as one web page that loads nothing. The
pull-request comment shows only what the change did and is edited in place. Aworkflow_run
recorder handles pull requests from forks, andseeds_from: historyturns a time budget into a
seed count. - Devices.
guest.rebootlets a guest program ask for a real reboot (the console line
HYDO-REBOOT), andguest.disksadds up to four disks with write caches of their own (Mac and
KVM). Acf=power cut comes at the first stop after its flush. - Containers in the guest.
guest.kernel: containersboots a guest kernel with what runc and
Kubernetes need, on the Mac and on KVM. - Loops without VM exits. On KVM,
guest.branch_tickstops a loop that makes no VM exits after
a fixed count of the guest's branches, on Intel hosts whose counters count a guest. On the Mac,
TigerBeetle's single replica boots. - Function contracts read more types (Rust strings, vectors,
Option,Result; Go strings
and slices) and run on KVM too. hydo guide strategieslists the testing techniques that found bugs with hydo, what each
needs, and what each misses, with a first table from a type of system to the techniques.- Examples for TiKV, Restate, Dragonfly, Redpanda, SurrealDB, Meilisearch, Vikunja, Memos,
RAUC, SWUpdate and Mender, each with its findings in itsRESULTS.md.
Fixed
- On KVM, boots on some hosts stopped as
SPINin the guest kernel's early boot. A 4 GiB boot now
takes 5 s instead of 25 s. - The step numbers of a report, a finding and
repro.spec.tsnow follow the schedule's own
numbers, from 0. - The CI history page's headline counts the open findings of every branch it lists, and each run
shows the time it started. hydo explorelists the fault kinds that its options draw, and prints a progress line every
30 s when its output is not a terminal.- A busy element of a page that the walk left no longer stays open until the test ends.
hydo setupof a hydo built from a checkout names the guest files that the release lacks,
instead of calling the release damaged.hydo doctoron a machine where another user loaded the kernel module nameshydo module build
first, so that following its advice never reloads that module.- The report of a run that passed says that the run repeats, not that a failure repeats.
- The
hydo_version:comment thathydo initwrites says that"0.3"builds on 0.3 and every
newer 0.x. - The README, docs/INSTALL.md, docs/ONBOARD.md and both quickstarts were checked by two fresh
readers against release candidates (release step 6a), on a Mac and on Linux with hydo's kernel
module, and corrected: the fingerprint epoch, the rebuild beforehydo repro --regressions,
hydo report --detailsfor a messages check's claims, whathydo exploreprints outside a
terminal, the accept keys of a problem that failed in several ways, and the terms the pages
used before their definition.
Known and deferred
- From the docs review, deferred to a later release:
hydo repro --regressionsexits with status 0 when the image has no saved regressions beside
it. A failing exit would break every CI job of a project without regressions; the message
names the file, and docs/ONBOARD.md now builds again before the replay.hydo exploreon a freshhydo initfolder reports the placeholders' failures as problems
without naming the placeholders. The quickstarts now say to explore only afterhydo build --checkwarns about no placeholder.- The README's animation shows an exploration of 30 schedules with 13 failures; the quickstart's
has 20 and 11.
- On KVM, a fingerprint on Intel differs from the one on AMD; the verdicts are the same.
guest.disks, value history andbrowser.exploreon the Mac are new and were proven on one or
two engines each.
Downloads
Every file below is built from the release commit 75db9ff93b1608181cd5ad8d9a8eaf004eacd052, the commit of the tag v0.4.0;
hydo --version names it.
hydo-linux-0.4.0.tar.gz(x86_64 Linux: Intel VT-x with hydo's kernel module, or KVM) and
hydo-mac-0.4.0.tar.gz(Apple Silicon Mac, signed and notarized).hydo-linux-0.4.0-sources.tar.gzandhydo-mac-0.4.0-sources.tar.gz: the corresponding source
of the third-party software in each tarball (THIRD-PARTY.md in each tarball lists it).hydo-mac-0.4.0-signatures.tar.gz: the Mac programs' signatures. The published Mac tarball is
the unsigned build of this tag with these signatures attached
(hydo/dist/mac/attach-signatures.sh, docs/design/signing.md).SHA256SUMSlists all five files.
hydo 0.3.4
hydo 0.3.4
hydo runs your whole system (its services, their disks and network) in a virtual machine,
breaks it with faults, and replays every failure exactly. This release tests what happens during
an upgrade, pauses single threads on every engine, and helps you find the rules your system
promises and the outside services it calls. Projects that pin hydo_version: "0.3" keep working.
Before you upgrade
- Images built by 0.3.4 get new fingerprints on the Mac and on KVM. The fingerprint epoch is
3 now. An image built by 0.3.4 boots a guest kernel with cgroups on the Mac engine and on KVM
(Image-explore-cg,bzImage-kvm-cg), so its runs have other timing and other fingerprints
than the same image built by 0.3.3. A timing-dependent verdict can change too: on KVM the
quickstart's lost write now shows withdisk=cut | run C=11 R=everysec. An image built before
keeps its kernel, its fingerprints and its verdicts. With hydo's kernel module (hvx) a rebuilt
image has new bytes, and its fingerprints and verdicts stay. - On Intel, KVM fingerprints no longer depend on the CPU model for images built by 0.3.4. They
still differ from the fingerprints on AMD. The verdicts are the same on both. - Rebuilt images with fakes, proxies or generated gRPC drivers get new bytes. hydo's own guest
programs (hydo-world,hydo-world-tls,hydo-grpc) carry the version, andhydo-world
gained features. - On Linux with hvx, keep the kernel module you have. It did not change since 0.3.1.
- The onboarding skill is 2.3.1. Claude Code offers the update (
claude plugin update hydo@hydo). For other AI tools, runhydo skill update.
New
- Upgrades. A service can list its versions (
services[].versions), and the tokenU=
switches it to another version during a run, one member of a cluster at a time, with an
optional rollback.hydo explore --upgradesdraws such switches. The example
hydo/onboard/examples/etcd-upgradereaches etcd issue 19557 with one token. - Pauses of single threads on every engine.
P=workload/<thread>@...stops only the named
threads of your test program. Before, only hvx could do it. - Rules your system promises.
hydo rules scanlists what your project promises in its
schema, API, documentation and tests.hydo rules checkruns candidate rules on runs without
faults and keeps only the ones that hold.hydo rules scan --kind clockfinds code that
measures time with the wall clock and proposes clock steps for it. The onboarding skill uses
both. - Outside services.
emulators:runs a pinned Stripe, SMTP or S3 emulator behind a fault
proxy.hydo fake from-openapiwrites a fake from an OpenAPI description, with error answers
(errors:). A proxy route can beidempotent: true. - Faults aimed at outside services.
hydo explore --protocol-covergives each schedule one
fault of a fake or proxy (H=), walking over its routes, steps and fault kinds, with the routes
the system really called first. On the web-shop example it found the double order at seed 3
instead of seed 120. - Kubernetes manifests.
hydo k8swrites a startinghydo.yamlfrom Kubernetes manifests, a
Helm chart or a Kustomize folder.hydo onboardruns it when it finds one. - Web apps.
browser:runs your own Playwright tests unchanged against the system in the
virtual machine and reports uncaught page errors, spinners that never stop, and failed requests
the page never shows. - Performance changes.
perf:runs each step on its own, andhydo perf comparesays in
words which step does more or less work than before. On hvx the count is the guest's retired
branches, so an unchanged build compares as 0.000 %. - Storage faults on several services.
G=takes a list or a group,hydo explore --corrupt-severaldraws it, andL=<service>@...:strictis a power loss that also stops the
disk's periodic writeback. - Function contracts (a prototype, Mac engine only).
// hydo: requiresandensures
comments next to a function are checked at every call without changing the run. - Reports.
hydo report <run dir>prints the plain summary. A problem in an exploration's
report has numbered steps, its ownhydo ci acceptline and the failing service's last log
lines.hydo explorenames its fault kinds in words.
Fixed
- A messages check gave wrong results across clock steps and power cuts, and ended a run with
ERRORwhen aduplicatesclaim had nothing acknowledged. - A service that did not start again was listed as two problems.
hydo buildrefused a whole OCI image when one file name in its layers had a backslash, a
quote or a newline (Ubuntu's systemd units have such names). It now leaves out those files and
names them in the image record.hydo build --checkrun beforesh hydo/fetch-images.shnow says to run that script, instead
of sending you todocker save.hydo onboardwith a Compose file prints one list of next steps, starting from the two
placeholders the import wrote.- A power cut in a report reads "after 20 steps"; before, a cut after the last step named a 21st
step that does not exist. - A problem's
hydo ci acceptline now says which other problem takes the same key and why. hydo module build --dry-runbuilds nothing, andhydo module --helplists every subcommand.- The README, docs/INSTALL.md, docs/ONBOARD.md and both quickstarts were checked by two fresh
readers against release candidates (release step 6a), on a Mac and on Linux with hydo's kernel
module, and corrected: the fingerprint epoch, which engine runs several virtual CPUs, the terms
the reports use, and how to delete outputs that root wrote.
Known and deferred
- From the docs review, deferred to a later release:
- A
hydo ci acceptkey names the failing check, not the cause, so a relaxed setting and a
faulty disk that lose the same write share one key. Changing it would change the key format
ofhydo ciand of everyhydo/known-findings.yaml. The report now says when two problems
share a key. - A problem made of runs that failed in two ways can show one schedule in its summary and the
other in its web page's details. - For a failed check, the run page's "Why it failed" still shows the process table and the
kernel log, which matter only for a run that stopped with an error. - The web page's property table can list one check twice, once as an invariant and once as an
assertion. - Without the udev rule, each run leaves root-owned agent logs in
hydo-out/; the Linux
quickstart says how to delete them.
- A
- On KVM, a fingerprint on Intel differs from the one on AMD; the verdicts are the same.
- Function contracts and
browser:are new and were proven on one engine each (contracts on
the Mac,browser:on hvx).
Downloads
Every file below is built from the release commit dee7da6800ad9f48242fd8e65f135cede95aedbf, the commit of the tag v0.3.4;
hydo --version names it.
hydo-linux-0.3.4.tar.gz(x86_64 Linux: Intel VT-x with hydo's kernel module, or KVM) and
hydo-mac-0.3.4.tar.gz(Apple Silicon Mac, signed and notarized).hydo-linux-0.3.4-sources.tar.gzandhydo-mac-0.3.4-sources.tar.gz: the corresponding source
of the third-party software in each tarball (THIRD-PARTY.md in each tarball lists it).hydo-mac-0.3.4-signatures.tar.gz: the Mac programs' signatures. The published Mac tarball is
the unsigned build of this tag with these signatures attached
(hydo/dist/mac/attach-signatures.sh, docs/design/signing.md).SHA256SUMSlists all five files.
hydo 0.3.3
hydo 0.3.3
hydo runs your whole system (its services, their disks and network) in a virtual machine,
breaks it with faults, and replays every failure exactly. This release makes the first hour
easier: one command starts the onboarding, the reports say in plain words what broke, and a
system built from your own binaries needs fewer workarounds. Projects that pin
hydo_version: "0.3" keep working.
Before you upgrade
- Nothing recorded moves. The fingerprint epoch stays 2. An image built by 0.3.0, 0.3.1 or
0.3.2 gives the same verdicts and fingerprints under 0.3.3. - Rebuilt images with fakes, proxies or generated gRPC drivers get new bytes. The version is
part of hydo's own guest programs (hydo-world,hydo-world-tls,hydo-grpc), so such an
image has a new sha256 and new fingerprints after a rebuild. The verdicts stay. - On Linux with hvx, keep the kernel module you have. The module did not change since 0.3.1.
- The onboarding skill has a new name. The Claude Code plugin is
hydo, and its command is
/hydo:onboard(skill 2.0.2). If you installed the old pluginhydo-onboard@hydo, remove it in
Claude Code's/pluginpanel and run/plugin install hydo@hydo. For other AI tools, run
hydo skill install --agent <tool>again.
New
hydo onboard. Run it in your repository. It says what it found, starts thehydo/
folder (from your Docker Compose file, or withTODOmarks when there is none), installs the
onboarding skill for the AI coding tools it finds, and prints the next step. It never changes a
hydo/folder that exists. docs/ONBOARD.md walks through a small message queue from an empty
folder to a lost message.- Reports in plain words.
hydo reportandhydo report --htmlnow say what broke in your
system, when it happens, whether it is a bug, what hydo saw, and the one command that shows it
again. The technical report ishydo report --details.hydo explorein a terminal ends with
how many runs failed and in how many different ways. - Your own binaries without a Compose file.
ready: tcp:<port>waits until a service
accepts connections. Each service's log is in the run directory (logs/<service>.log), and the
diagnosis quotes whole lines.hydo run --memoryprints each service's peak memory, so you can
sizeguest.ram_mib.hydo build --checkwarns when a file that the manifest copies into the image is missing.
hydo guide minimum-pathis the shortest path, andhydo guide workflowhas the recipe for a
static Rust build on a Mac. - Message queues.
hydo guide messagesexplains a drain that outlasts leases and recovery,
and which values a record may hold. Aneventually_command retries by itself. A long clock
step can be written in hours and minutes.
Fixed
hydo save, run inside thehydo/folder, wrote into a nestedhydo/hydo/regressions/.
It now writes intohydo/regressions/.hydo build --checkwarns about the placeholders thathydo composewrites (the workload and
the TODO invariant), as it does for those ofhydo init. Every run fails while they are there.hydo onboardwith a Compose file prints its next steps as one ordered list, and the imported
hydo.yamlnames its commands from the repository's root (hydo build hydo/hydo.yaml).hydo reportsays when a command is not shrunk: hydo shrinks failed checks, not runs that stop
with an error, so such a command repeats the whole failing run.- The README, docs/INSTALL.md, docs/ONBOARD.md and both quickstarts were checked by two fresh
readers against release candidates (release step 6a), on a Mac and on Linux with hydo's kernel
module, and corrected: thehydo: VERDICTline, the terms the program prints, the order of the
first steps, and how to delete outputs that root wrote.
Known and deferred
- From the docs review, deferred to a later release:
hydo reportof a single run's directory prints the technical summary; the plain summary
is only on its web page (hydo report --html).- The exploration's report does not yet show a failing service's last log lines for a run that
stopped with an error, and its timelines include hydo's own setup events.hydo runof the
command it prints shows the log. - One problem can be listed under two signatures, for example a service that did not restart.
hydo exploreprints its fault space as JSON before the runs.
- On Intel, a KVM fingerprint holds for one CPU model; the verdicts are the same on every model.
The AMD EPYC models measured share their fingerprints. - The pause of single threads runs on hvx only.
hydo runexits with status 0 whatever the verdict. Useverdict.kindinresult.json, or
hydo ci run, which exits 1 on new findings.
Downloads
Every file below is built from the release commit dad45fc9806e47d9f73b58680d521db58e9ad264, the commit of the tag v0.3.3;
hydo --version names it.
hydo-linux-0.3.3.tar.gz(x86_64 Linux: Intel VT-x with hydo's kernel module, or KVM) and
hydo-mac-0.3.3.tar.gz(Apple Silicon Mac, signed and notarized).hydo-linux-0.3.3-sources.tar.gzandhydo-mac-0.3.3-sources.tar.gz: the corresponding source
of the third-party software in each tarball (THIRD-PARTY.md in each tarball lists it).hydo-mac-0.3.3-signatures.tar.gz: the Mac programs' signatures. The published Mac tarball is
the unsigned build of this tag with these signatures attached
(hydo/dist/mac/attach-signatures.sh, docs/design/signing.md).SHA256SUMSlists all five files.
hydo 0.3.2
hydo 0.3.2
hydo runs a whole system (your services, their disks and network) in a deterministic virtual
machine, injects faults, and replays every failure bit for bit. This release runs several vCPUs
on the KVM engine, pauses the workload or single threads of it, writes a failure as one web page,
finds the versions of your system that have a finding, takes hydo in CI further, and fixes what
the onboardings of Formance Ledger, TigerBeetle, Lago and Blnk found. Projects that pin
hydo_version: "0.3" keep working.
Before you upgrade
- Nothing recorded moves. The fingerprint epoch stays 2. Images built by 0.3.0 or 0.3.1 give
the same verdicts and fingerprints under 0.3.2. An image that contains one of hydo's own guest
programs (hydo-worldforfakes:andproxies:,hydo-world-tls,hydo-grpc) gets new
bytes when you rebuild it, because the version is part of those programs; its verdicts stay. - On Linux with hvx, keep the kernel module of 0.3.1. The module did not change.
New
- Several vCPUs on the KVM engine.
hydo run --backend kvm --vcpus N(2 to 8) runs N vCPUs
that take turns of VM exits, with one deterministic clock;q=sets the turn length.
hydo explore --backend kvm --vcpus N --turnsdraws turn lengths, and--sweep turns
searches them for the length where a verdict changes. The Linux release now ships the guest
kernel for several CPUs,guest/bzImage-kvm-smp, andhydo doctor --backend kvmchecks it.
Each schedule gave one fingerprint on AMD and on Intel hosts.hydo guide flaky-testshas the
details. - Pauses of the workload and of single threads.
P=workload@<at>~<off>:<dur>stops the
workload's whole process tree for some guest time, as a container's CPU limit does, and
hydo explore --pause-workloaddraws such pauses.P=workload/<thread>[#<k>]@<at>~<off>:<dur>
freezes the named threads while the others run on (hvx;hydo explore --pause-thread). With
them, etcd's flaky testTestCacheCompactionResyncand Qdrant's
test_wal_replay_loads_pending_to_queuefail on every run of one schedule. - A failure as one web page.
hydo report --html [DIR]writes one self-contained HTML file
for a run, an exploration or ahydo ci run: the verdict, the failing run's timeline, and its
first difference from a passing neighbour. It loads nothing from elsewhere, so it works as a
CI artifact or an attachment. - Which versions have a finding.
hydo versionsbuilds an image of each version of your
system, replays a finding's minimal schedule on each, and says where the finding was introduced
and whether the newest version still has it (hydo guide workflow). - hydo in CI, stage 2. Accepted findings in
hydo/known-findings.yaml(hydo ci accept),
time budgets (budget:inhydo/ci.yaml,hydo explore --time-limit), shards
(hydo ci run --shard I/N,hydo ci merge), and a history store (hydo ci record,
hydo ci run --history).hydo guide cisections 9 to 12. - Compose services with
build:.hydo composebuilds their images with Docker or Podman
and pins each file's digest in one import;fetch-images.shrebuilds a missing file and stops
when a build gives other bytes. - For tests with eventual results: the
eventuallychecks can wait for theeventually
commands (after: commands),test.first_records: truekeeps thefirstcommands' records,
a failing check's last output lines are inresult.json,hydo explore --shrink-causes N
shrinks a signature's other fault kinds too,services[].job: truekeeps a one-shot job out
of the fault targets, and a clock step can go to a time. - Experimental, opt-in:
hydo explore --search stateexplores from snapshots taken in the
middle of runs. It did not find failures sooner on the systems it was measured on.
Fixed
-
hydo <command> --helpand-hprint the command's options for every command, without an
image or a project, and end with status 0. (0.3.1 listedhydo explore --helpas a known
defect.) -
cargo install hydofollowed byhydo setupworks on Linux; the README offers it there. -
The KVM and Mac engines no longer drop the records a power cut carries into the recovery boot
when they are larger than the guest's receive queue, and a run can hold 65,536 messages
instead of 1,024. -
The error-log template turns request and trace ids into
<id>, andknown-errors.yamlno
longer records the login name of the user who wrote it. -
A service that stops in a run without faults gets a verdict that names it.
-
hydo build --checkwarns about the two placeholder files thathydo initwrites: the
check passes them, and every run fails with them. -
The explorer's report points to
hydo guide sdks, not to a file the release does not carry. -
The README and both quickstarts were checked by fresh readers against release candidates
(release step 6a), on a Mac and on Linux with hydo's kernel module, and corrected: one install
block per method, whathydo initwrites, the terms the program prints, the module lock, and
how to delete a build's outputs.
Known and deferred
-
From the docs review, deferred: the header comment of the Redis example's
hydo.yamlnames
old paths. The file is copied into the example's image, so changing it moves every quickstart
value on all three engines; it changes with the next re-recording.hydo buildends with the
hinthydo explore --seeds 1-20, which is the same for every project; the quickstarts say why
the example adds--strategy swarm. The Mac quickstart names service networks, fakes and
proxies without an example, because those examples are in the repository, not in the release. -
Several vCPUs on KVM: a race window without a VM exit stays out of reach, because turns end
only at exits. -
On Intel, a KVM fingerprint holds for one CPU model: the release's checks on GitHub's runners
gave other fingerprints on a Xeon Platinum 8370C and a Xeon 6975P-C than on the Core i7-13700HX
that the quickstart's values come from, each run deterministic and with the same verdicts. The
AMD EPYC models measured share their fingerprints. Earlier pages said one CPU vendor; they are
corrected, and the cause is not known yet. -
The pause of single threads runs on hvx only; the Mac and KVM guest kernels have no cgroups.
-
The items 0.3.0 deferred stay:
hydo runexits with status 0 whatever the verdict (use
verdict.kindinresult.json, orhydo ci run, which exits 1 on new findings), and the
report keeps its property table for projects without SDK assertions.
Downloads
Every file below is built from the release commit fbee09d41f1bf4e9c2e1fc3dc85b1991886abbe4, the commit of the tag v0.3.2;
hydo --version names it.
hydo-linux-0.3.2.tar.gz(x86_64 Linux: Intel VT-x with hydo's kernel module, or KVM) and
hydo-mac-0.3.2.tar.gz(Apple Silicon Mac, signed and notarized).hydo-linux-0.3.2-sources.tar.gzandhydo-mac-0.3.2-sources.tar.gz: the corresponding source
of the third-party software in each tarball (THIRD-PARTY.md in each tarball lists it).hydo-mac-0.3.2-signatures.tar.gz: the Mac programs' signatures. The published Mac tarball is
the unsigned build of this tag with these signatures attached
(hydo/dist/mac/attach-signatures.sh, docs/design/signing.md).SHA256SUMSlists all five files.
hydo 0.3.1
hydo 0.3.1
hydo runs a whole system (your services, their disks and network) in a deterministic virtual
machine, injects faults, and replays every failure bit for bit. This release runs a project's own
test program as the workload and finds flaky tests, aims faults at groups of services, checks
message queues, runs hydo in a team's continuous integration, and makes five fixes the default
(fingerprint epoch 2). Projects that pin hydo_version: "0.3" keep working.
Before you upgrade
- Images you build with 0.3.1 get new fingerprints; images you built before replay unchanged.
The fingerprint epoch is now 2 (it was 1). An image records the epoch it was built at, and
hydo applies that epoch's defaults when it runs the image, so an image built by 0.3.0 gives
the same verdicts and fingerprints under 0.3.1. An image built by 0.3.1 has new bytes and new
fingerprints.hydo reprocompares fingerprints only within one epoch; across epochs it
compares verdicts and says so. - On Linux with hvx, load this release's kernel module. Images built at epoch 2 ask the
module for the CPU cache description (guest.cpu_cache, below). A module of 0.3.0 or older
does not have it, and the run stops with a message that says so.hydo module install
builds and loads the module of this release. KVM and the Mac need nothing.
New
- Test programs as the workload, and flaky tests.
workload.kind: testruns a project's own
test program (for example a Go or Rust test binary) once per run and checks that it passes.
hydo guide flaky-testsshows how to find a schedule on which a flaky test fails and a
neighbour on which it passes. Two examples reproduce known flaky tests: nats-server issue 8363
on hvx with two vCPUs (hydo/onboard/examples/nats-flaky-8363) and Qdrant issue 10200 on the
KVM engine (hydo/onboard/examples/qdrant-flaky-10200). - Several vCPUs from the command line.
hydo run,hydo reproandhydo explaintake
--vcpus N(hvx), andhydo explore --vcpus N --sweep turnstries the vCPU turn lengths and
narrows down where a verdict changes. Several vCPUs now work with the host-call port. - Faults aimed at several services or a role.
K=,P=andX=take a list
(K=n1,n2,n3@5+2) or a selector over a group of the manifest's newgroups:key
(<group>.one,.minority,.majority,.all,.primary).N=takes partitions
(n1/n2,n3) and shapes (halves,isolate,primary,bridge,ring).
hydo explore --cluster-faultsdraws them. - Messaging checks. A
checks:entry oftype: messageschecks what producers sent and
consumers received on queues, logs and publish-subscribe systems (lost, duplicated and
reordered messages). The Rust SDK records the operations with its new cargo feature
messages.hydo guide messagesexplains it. - hydo in continuous integration.
hydo ci runruns a project's explorations and saved
regressions on a pull request, compares them with the base commit, and fails only on new
findings;hydo ci comparecompares two result sets. Its settings are inhydo/ci.yaml. The
repository has a GitHub Action (action/) and a GitLab template.hydo guide ciexplains it. - Services that start together:
services[].start_afternames what a service waits for, so
services that need each other start side by side.hydo composeimports Compose's
depends_oninto it. - A service's own log files:
services[].logsnames them, and the failure diagnosis reads
them. - The CPU's caches in CPUID:
guest.cpu_cachegives the guest a fixed cache hierarchy (hvx
and KVM), on by default for images built at epoch 2. Some programs, for example AlmaLinux 8's
glibc, need it atguest.cpu: v3. - Python bytecode:
root.fix_pyc(on by default at epoch 2) rewrites the time stamps of a
root's.pycfiles, so that Python does not ignore them. - On KVM and the Mac,
HYDO_PREEMPT_RECORD=1records where each forced preemption point fired,
andhydo diffnames the first point where two runs differ.
Fixed
-
On Linux,
hydo run,hydo repro,hydo exploreandhydo doctortake the engine the machine
has when neither--backendnorHYDO_BACKENDnames one: hvx when/dev/hvxis there, else
the KVM engine when/dev/kvmis usable. Before, a machine with only KVM fell to hvx, and the
run ended at sudo's password prompt with "the run produced no RESULT line". A run on hvx without
/dev/hvxnow stops at once and says what to do. -
hydo doctor: a failed or warning check prints the state it found (for example
"kvm_intel is loaded"), not the state it wanted, and each of the release's guest files says
what it is. -
hydo runprints when a run ended at a busy-wait loop and ran again in the engine's rewind
mode; before, onlyengine.logsaid so. -
hydo compose: the generated file's header and the printed next step say the same as
hydo guide workflow(delete the placeholderworkload.runandTODOinvariant, keep
workload.stepsandworkload.timeout, write the test as commands), and the header's commands
name the file's folder (hydo build hydo/hydo.yaml). -
hydo reproof an exploration shows each minimal schedule's whole failure signature. -
hydo explore --timing --preempton hvx no longer draws tick jitter that the module refuses
with a shorter tick period. Engines refuse a schedule they cannot arm before any VM starts, and
the explorer never counts a refused run as a failure. -
hydo explore --scheduleaccepts a schedule withoutdseed=. -
The failure diagnosis names a service that does not come back after a power cut, and a failing
.sqlcheck keeps the rows it found. -
The recovery boot's clock after a power cut at the k-th flush (
cf=) carries on from the first
boot underguest.clock_after_cut. -
hydo inspectcalls do the same work in the guest every time, so a call does not change what
later calls see. -
New projects get an explicit
clock_start. The header of a hydo.yaml thathydo compose
writes names today's commands, and it writes an image fetch script per architecture. -
Restart policies hold from a service's start (epoch 2).
-
KVM: full-state cycles are on by default, so guest code that loops without VM exits is
resolved in more cases, and the fingerprint no longer includes event fields that KVM keeps from
a finished event (epoch 2). -
The README and both quickstarts were checked by fresh readers against release candidates
(release step 6a), on the KVM engine and on a Mac, and corrected.
Known and deferred
hydo explore --helplooks for an image instead of printing the explorer's options;
hydo guide faultslists them.- hydo 0.3.1 has not run on AMD CPUs yet. hydo 0.3.0 gave the same verdicts on AMD as on Intel
with the KVM engine, with other fingerprints. - The items 0.3.0 deferred stay:
hydo runexits with status 0 whatever the verdict (use
verdict.kindinresult.json, orhydo ci run, which exits 1 on new findings), and the
report keeps its property table for projects without SDK assertions.
Downloads
Every file below is built from the release commit b3f730878702e034901882dd6425bfecc4f12a24, the commit of the tag
v0.3.1; hydo --version names it.
hydo-linux-0.3.1.tar.gz(x86_64 Linux: Intel VT-x with hydo's kernel module, or KVM) and
hydo-mac-0.3.1.tar.gz(Apple Silicon Mac, signed and notarized).hydo-linux-0.3.1-sources.tar.gzandhydo-mac-0.3.1-sources.tar.gz: the corresponding source
of the third-party software in each tarball (THIRD-PARTY.md in each tarball lists it).hydo-mac-0.3.1-signatures.tar.gz: the Mac programs' signatures. The published Mac tarball is
the unsigned build of this tag with these signatures attached
(hydo/dist/mac/attach-signatures.sh, docs/design/signing.md).SHA256SUMSlists all five files.
hydo 0.3.0
hydo 0.3.0
hydo runs a whole system (your services, their disks and network) in a deterministic virtual
machine, injects faults, and replays every failure bit for bit. This release explains why a run
failed and lets you look inside it, runs bigger guests, adds HTTPS fakes, ready-made SQL
workloads and storage faults of one service, and refuses schedules that would pass without
testing anything.
New
- Why a run failed. A failed
hydo runwrites adiagnosisintoresult.jsonand prints
it: the failing service and process (its exit status or signal, and whether hydo sent it), the
readiness check (out of time or died), the kernel's out-of-memory and crash lines, and for an
ERROR the evidence of one replay of the run (each service's log tail, the readiness check run
once,dmesg,free,ps).--no-diagnoseskips the replay.hydo guide inspectexplains
it. hydo inspect: look inside a run without changing it.hydo inspect events <run dir>
lists the run's events by stop.hydo inspect start <run dir> --at end|<conversation>:<stop>
replays the run to that stop and holds it, andexec,read,ls,logs,ps,sockets
andadvancelook at the held guest. Every call answers with one JSON document, so an AI
agent can drive it. The recorded run is only read.- Guest RAM up to 8 GiB on every engine (
guest.ram_mibup to 8192; on x86_64 the RAM above
3 GiB is placed above 4 GiB). On Linux with hvx this needs the kernel module of this release
(hydo module install). - HTTPS for fake outside services.
tls: {hosts: [...], port: 443}on a fake or a proxy:
hydo buildmakes the image's own test certificate authority and a certificate per endpoint,
maps the names in/etc/hosts, and makes the guest and every service image trust it. The new
guest programguest/hydo-world-tlsserves TLS 1.3 and is staged only for such manifests. - A writable root for image services:
writable: trueon a service built from a Docker/OCI
image gives it the image's tree as a writable layer on the data disk. - Fakes that remember:
save:andload:objects keep what a fake answered (also across a
power cut), andwebhook.sign:signs webhooks with HMAC-SHA256. - Ready-made SQL workloads and checks.
hydo sql-gen --dialect postgres|mysql|libsql --endpoint NAME=ADDRESS[,replica] ...writes a project's workload commands and checks: bank,
list-append, register, set and counter workloads, batch and interactive, routed to primaries
and replicas, with the checks the routes allow. They run the new guest program
guest/hydo-sql. A non-executablechecks/<kind>_<name>.sqlis a query that must return no
rows.hydo guide workloadsexplains it. - Storage faults of one service.
services[].storagenames a service's data directory
(optionally its own ext4 file system withsize_mib).G=<svc>@<step>:flip|zero|trunc
corrupts a file in it (while the service runs or while it is down), andL=<svc>@<step>+<down>
is a power loss of that service alone.hydo explore --storage-faultsdraws both. root.share_images: true: services built from one image share one unpacked tree.guest.outcomes_after_cut: true: the recovery boot after a power cut sees the first boot's
outcomes in$HYDO_OUTCOMES(opt-in).
Fixed
- Saved regressions of a project with its own workload now replay that workload; before, a
project whosehydo/folder had onlyregressions/orchecks/ran empty composer rounds
instead of the manifest'sworkload.run, so its saved regressions passed without running it. hydo repro <run dir>andhydo inspecton a run directory use the engine the run recorded
when neither--backendnorHYDO_BACKENDis given. Before, a KVM run was repeated on hvx,
which needs the kernel module and sudo.- On the KVM engine, the explorer report's commands carry
--backend kvm. After a build, the
hydo: next:line names the image whenhydo-out/holds two, and carries--backend kvmon a
machine whose only engine is KVM. install.sh --no-moduleon a machine where only/dev/kvmis usable ends with
hydo doctor --backend kvminstead of a doctor that fails the module checks.hydo run --helpprints the run's usage instead of looking for an image.hydo initalso addshydo-out/to.gitignore.- The report's property table cites
hydo/ASSERTIONS.md, the file's place in the releases. - On the Mac, a run that went through rewind mode says so in plain words.
hydo guide faultshas a table of the host tokens (disk=,dseed=,cf=,tj=,tjpm=,
tjmax=,pct=,spin=rewind).- The README and both quickstarts were checked by fresh readers against the release candidate
(release step 6a) and corrected.
Known and deferred
hydo runexits with status 0 whenever the run finishes, whatever its verdict; a script reads
verdict.kindin the run'sresult.json. Exit codes per verdict come with a later CI command,
so that this release changes no exit status.- The header of a hydo.yaml that
hydo composewrites still names the old path
hvx/onboard/hydo-compose. Changing the text changes every recorded Compose answer, so it waits
for a release that re-records them. - The report keeps its property table for projects without SDK assertions (it then shows
NOT EXERCISEDlines). Hiding it changes the recorded reports, so it waits too.
Changed
- No silent passes. A schedule that names a service, link, fake, proxy, route, knob or
composition the image does not have is refused before any VM starts, and the message names
what the image has.hydo runwarns about a pass that tested nothing (no acknowledged
operation, a history check over no operations, a reaction whose event never came), and prints
the final verdict when the host's checks changed it. An image without a manifest is no longer
explored with a built-in fault space. hydo_version:in a plan. A plan that pinshydo_version: "0.2"is refused by 0.3.0 (the
pin means the same major.minor). Change it to"0.3"(or">=0.2"), or build with
HYDO_VERSION_CHECK=warn.hydo initnow writes"0.3". Projects without the key are not
affected.- Images that contain hydo's guest programs
hydo-world(fakes and proxies) orhydo-grpc
(generated gRPC drivers), or the assertion SDKs, have new bytes in this release and so new
fingerprints; their verdicts are unchanged. Images built by 0.2.0 keep running under 0.3.0 and
give their old values. hydo doctornever downloads anything; it nameshydo setup --get <version>for a missing
release file.hydo composeimports services withbuild:as local builds. The liveness table of reports
shows each eventually check's deadline and its slowest late episode. hvx keeps 64 KiB of a
guest's console, andhydo runwarns when it is full.- The
hydocrate and the assertion SDKs have rewritten package pages; every code example on
them is a test. - The registry packages (crates.io, PyPI, npm, the Go module) are published by the release
workflow on GitHub Actions with trusted publishing.
Downloads
Every file below is built from the release commit 76a51408658413512f6e2b698a4a3d340bf44fd8,
the commit of the tag v0.3.0; hydo --version names it.
hydo-linux-0.3.0.tar.gz(x86_64 Linux: Intel VT-x with hydo's kernel module, or KVM) and
hydo-mac-0.3.0.tar.gz(Apple Silicon Mac, signed and notarized).hydo-linux-0.3.0-sources.tar.gzandhydo-mac-0.3.0-sources.tar.gz: the corresponding source
of the third-party software in each tarball (THIRD-PARTY.md in each tarball lists it).hydo-mac-0.3.0-signatures.tar.gz: the Mac programs' signatures. The published Mac tarball is
the unsigned build of this tag with these signatures attached
(hydo/dist/mac/attach-signatures.sh, docs/design/signing.md).SHA256SUMSlists all five files.
hydo 0.2.0
hydo 0.2.0
hydo runs a whole system (your services, their disks and network) in a deterministic virtual
machine, injects faults, and replays every failure bit for bit. This release adds a second way to
run on Linux, signed Mac programs, new ways to install, and tools around the onboarding skill.
New
- Run on Linux without hydo's kernel module. The Linux release now has a KVM engine
(bin/hydo-kvmand its guest kernelguest/bzImage-kvm). It needs only/dev/kvm, so it runs
without root, inside a virtual machine with nested virtualization, and on machines where KVM
must stay loaded:hydo run|explore|repro|doctor --backend kvm, orHYDO_BACKEND=kvm. It runs
one vCPU at the x86-64-v2 level, and its fingerprints are its own (a run reproduces on the same
kind of host CPU;hydo reproacross engines compares verdicts). See the release README,
"Run without the kernel module (KVM)". - Signed and notarized Mac programs.
bin/hydo,bin/hydo-build,bin/hydo-fetch-imageand
the enginebin/hydo-hvmare signed with the project's Developer ID and notarized by Apple;
hydo setupno longer re-signs the engine, andhydo doctornames the signer. The tarball is
still reproducible from source: the signatures are published as their own asset
(hydo-mac-0.2.0-signatures.tar.gz), andhydo/dist/mac/attach-signatures.shturns the
unsigned build of the tag into the published tarball byte for byte. - Homebrew:
brew install kakoc/tap/hydoinstalls the Mac release (Apple Silicon, macOS 13 or
later);brew upgrade kakoc/tap/hydomoves an installation to 0.2.0. cargo install hydo: thehydocommand is on crates.io. A cargo-installedhydofetches
the rest of its release (engines, guest kernels, tools) withhydo setup.- The install cache:
hydo setup --get [VERSION]installs a release into
~/.hydo/versions/<version>,hydo setuprestores a damaged installation from its release
archive, and a run whose image was built by another release fetches that release's guest kernel
by sha256 (--offlinenever connects).hydo --versionprints the version and commit. - The onboarding skill for Claude Code as a plugin:
/plugin marketplace add kakoc/hydo, then
/plugin install hydo-onboard@hydo. Other tools keephydo skill install --agent <tool>, and
hydo skill updatefetches a newer skill release. The skill now holds only the process; every
fact about hydo comes fromhydo guide <topic>of the installed hydo (new topicsworkflow
andservices). - Assertion SDKs on their registries:
hydo-asserton crates.io, PyPI and npm, and the Go
modulegithub.com/kakoc/hydo/sdk/go, all at 0.2.0. Their API was cleaned up before this first
publication: a comparison iscmpwith an operator (the named greater-than and less-than
helpers are gone), and internals are no longer public. - Comparing two runs:
hydo diff <run A> <run B>reports where two runs first differ and the
first difference in what the checks judge;hydo explain <image> "<schedule>"runs the
schedule's neighbours and shows the closest passing one. Both are new and not yet in the main
help text (hydo diff --help,hydo explain --help).
Changed
hydo_version:in a plan. A plan that pinshydo_version: "0.1"is refused by 0.2.0 (the
pin means the same major.minor). Change it to"0.2"(or">=0.1"), or build with
HYDO_VERSION_CHECK=warn.hydo initnow writes"0.2". Projects without the key are not
affected.- Images that contain hydo's own guest programs
hydo-world(fakes and proxies) andhydo-grpc
(generated gRPC drivers), or the assertion SDKs, have new bytes in this release and so new
fingerprints; their verdicts are unchanged. Images built by 0.1.0 keep running under 0.2.0. - A check's verdict line is the line that starts with
HYDO-ORACLE:. hydo composewarns about a service withnetwork_mode: host, and gives a volume mounted on
/dataits own directory. Fake outside services accept bracketed form and query field names.
Fixed
- KVM engine: a run the explorer started from its snapshot could give a different fingerprint
thanhydo reproof the same schedule when an interrupt was pending at the snapshot; fixed
before release.
Downloads
hydo-linux-0.2.0.tar.gz(x86_64 Linux: Intel VT-x with hydo's kernel module, or KVM) and
hydo-mac-0.2.0.tar.gz(Apple Silicon Mac, signed and notarized).hydo-linux-0.2.0-sources.tar.gzandhydo-mac-0.2.0-sources.tar.gz: the corresponding source
of the third-party software in each tarball (THIRD-PARTY.md in each tarball lists it).hydo-mac-0.2.0-signatures.tar.gz: the Mac programs' signatures. The published Mac tarball is
the unsigned build of this tag with these signatures attached
(hydo/dist/mac/attach-signatures.sh, docs/design/signing.md).SHA256SUMSlists all five files.
hydo 0.1.0
hydo 0.1.0 is the first public release.
hydo runs a whole system — your services, their databases and queues, and the workload that drives them — inside a virtual machine whose execution is bit-for-bit deterministic. It injects faults from a seed: process kills and pauses, network loss and delay, one-way partitions, power cuts at a chosen disk flush, disk errors and lying disks, clock jumps, and faults in fake outside services. It explores many such schedules, checks your system's properties after each run, and shrinks every failure to a short schedule string that replays exactly.
This is an experimental release. Run it on a machine you can dedicate to testing.
Platforms
| Linux | macOS | |
|---|---|---|
| Engine | hvx, our own VT-x kernel module | Hypervisor.framework |
| Hardware | x86_64 with an Intel CPU and VT-x, bare metal recommended | Apple Silicon |
| Needs | root (sudo) for the kernel module, the running kernel's headers, a C compiler and make |
nothing beyond macOS 13 or later |
| Guests | x86_64 Linux | arm64 Linux |
Install
Linux:
tar xzf hydo-linux-0.1.0.tar.gz
./hydo-linux-0.1.0/install.sh
export PATH="$HOME/.hydo/bin:$PATH"
hydo doctormacOS:
tar xzf hydo-mac-0.1.0.tar.gz
./hydo-mac-0.1.0/install.sh
export PATH="$HOME/.hydo/bin:$PATH"
hydo doctorEach tarball's README.md (Linux) or QUICKSTART-mac.md (macOS) walks from installing to a first exploration and a reproduced failure. No Python, Go, Rust, Nix or internet access is needed.
Files
| File | sha256 |
|---|---|
hydo-linux-0.1.0.tar.gz |
58aab3b1898826d4ec9c892445099352a0b666fd11a74feee33c98129d4c491c |
hydo-linux-0.1.0-sources.tar.gz |
ea8a62f326442fd451e91024fc174818fe89946e775bd9df88fc0f9531c34b8f |
hydo-mac-0.1.0.tar.gz |
5c02e7f364424e97aad67a7fa91b73d29a8466e5fe17ea4bd540edc06dac9806 |
hydo-mac-0.1.0-sources.tar.gz |
27527e482e299b75fa60df0194deb90d6f180165bec3d1d80e53061d6b1b850e |
SHA256SUMS lists all four. Each file is reproducible: building it again from the commit it was built from gives the same bytes (the Linux tarball and both sources archives from 1a88c31, the macOS tarball from e29c664, an ancestor of it; the macOS programs also need the same build folder, because their Mach-O build ID depends on it). docs/RELEASING.md describes the build.
Licenses
- hydo is licensed under Apache-2.0.
- The Linux kernel module (
hv/hvx) is licensed under GPL-2.0. - Each tarball bundles third-party software, such as the guest Linux kernel, busybox and the iproute2 tools.
THIRD-PARTY.mdand thelicenses/folder in each tarball list every component with its version and license. - The
-sourcesarchive next to each tarball contains the corresponding source of every copyleft component, with our patches and build recipes.
Known limitations
- Where a failure replays. A failure replays exactly with the same engine, image and hydo version. A failure found on Linux cannot be replayed on a Mac. Replay on a second machine of the same kind is expected but not yet tested: every recorded run so far was made on one Intel machine and one M2 Mac.
- CI runners. Hosted CI runners are virtual machines without VT-x passthrough, so Linux CI needs a self-hosted bare-metal runner.
- What has been tested.
- The Linux engine was tested on one Intel CPU model with Ubuntu's 6.8 kernel. On other kernels the module may not compile.
- On hybrid desktop CPUs (performance and efficiency cores) the exact branch clock is not available.
- Untested paths. The module install path (
install.shwithout--no-module) and the optional udev rule for running withoutsudohave not yet been exercised on a fresh machine. Please report what you see. - AMD. AMD processors are not supported by the Linux engine.