mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-11-10 10:13:50 +08:00
Implement a layer allowing to take durableDir snapshot only, without taking snapshot of entire memory. This is a part of the #119 feature. The "durableDir" support is introduced via adding Volumes support to ActorTemplate. ## Knowns issues / limitations 1. No MicroVM support for homedir yet. Will be implemented in following PR. 2. Resume from SNAPSHOT_SCOPE_DATA temporary behavior Current behavior of resume from durableStorage returns immediately after gVisor process is started, it means container's bootstrap is not completed by the time resume API returned to the caller. It causes the issue that first curl request for suspended actor throws an HTTP exception, since webserver listening on the port inside container is not running yet. PR #330 fixes the issue, for a meantime the workaround is to call ` kubectl ate resume actor` and after it call to the curl itself. - [X ] Unit tests pass - [X ] E2E tests are updated and pass