mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-11-10 10:13:50 +08:00
Give the micro-VM counter demo the same durableDir volume the gVisor one has, and drop TestDurableDirLifecycle's micro-VM skip so the scope matrix (Full/Full, Data/Full, Data/Data) runs against both runtimes. TestActorLifecycle no longer special-cases micro-VM to expect a file counter of -1. That value was the demo failing to write: it counts in /home/counter/a.txt, which nothing created in the micro-VM rootfs. The volume mounts there now, so both runtimes assert the same counters. Also correct the glossary: an ActorTemplate may declare one DurableDir volume, not several — CEL has enforced that since the feature landed — and Full scope captures the volumes whether or not the runtime keeps them inside rootfs (the micro-VM does not).