agent-substrate / agent-substrate/substrate
Need a way to recover an actor from CRASHED state
Open
area/api
area/reliability
kind/design
- Dominant language
- Go
- Stars
- 1.8k
- Forks
- 316
- Avg merge
- 2d 43m
- Merged PRs (30d)
- 287
Description
Today an Actor that gets into CRASHED state cannot be recovered. We should have a way to "rollback" to the latest saved snapshot and resume. There are different ways of encoding this into the API. A few options I can think of are a) an explicit `RollbackActor` (or `RevertActor`) method which flips the state back to `SUSPENDED` b) allow `ResumeActor` to just resume (this works today if we remove the precondition check for `CRASHED`) c) allow `SuspendActor` to switch from `CRASHED` to `SUSPENDED`. Others?
Related to #119
Contributor guide
Assessment
This issue has not been assessed yet.