mirror of
https://github.com/hanzoai/flow.git
synced 2026-10-17 01:29:18 +00:00
Closes the Mode trio: InProcess, GpuResident, and now Durable each have a real backend — no bare enum variant without an impl. The DurableBackend checkpoints each step's outputs to a Store and skips steps that already completed, so a run survives a crash, resumes where it stopped, and the same graph can be scheduled or re-run in the cloud without repeating finished work. This is the engine side of "build/test locally, save to cloud, re-run/schedule on GPU." Store is a trait — hanzo cloud impls it over S3/Base, hanzo-desktop over local disk. MemoryStore is the std-only reference impl (also useful for retrying a failed graph in-process). Verified: resume does NOT re-execute a checkpointed step. 3/3 durable + 3/3 gpu + 5/5 pipeline = 11/11, clippy clean.