stateright / stateright

A model checker for implementing distributed systems.

Home Page:https://docs.rs/stateright

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ability to save and load checker state

jeffa5 opened this issue · comments

It would be really nice to be able to have the results of a check be saved (including states created/visited etc) so that they could be shared without others having to rerun the check.

Maybe this could lead to the web explorer having an option to upload a file with the check that it can process into an explorable version.

I guess this wouldn't directly mean that the checker can continue from a persisted state but could also enable snapshots while checking is running to enable investigating issues later.

I like this idea: namely the insight that resuming the check isn't the main value-add. So for instance you could load a snapshot of discoveries and browse them even if you aren't running the checker in the UI, right @jeffa5?

Definitely! I really like the concept of having a model be explorable and not having to run the checker every time to explore it would be great. I imagine sharing models with other users and maybe running checking on a large machine before analysing locally or offline would be good primary use cases.

Being able to checkpoint the state and resume checking later would also be great but maybe more of an extension.