agent-substrate / agent-substrate/substrate

Need a way to recover an actor from CRASHED state

Open
#1,556 6 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.