agent-substrate / agent-substrate/substrate

Need a way to recover an actor from CRASHED state

Ouverte
#1,556 6 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area/api area/reliability kind/design
Langage dominant
Go
Étoiles
1.8k
Forks
316
Merge moyen
2 j 43 min
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.